×
Create a new article
Write your page title here:
We currently have 3,093 articles on YumeWiki. Type your article name above or click on one of the titles below and start writing!



YumeWiki
3,093Articles

Template:Control: Difference between revisions

(add numpad 0 to menu and directional keys)
(add "action" as alias for "interact")
Line 1: Line 1:
<noinclude><div class="center"></noinclude><span class="explain" tabindex="0" title="{{#switch: {{lc:{{{1<noinclude>|interact</noinclude>}}}}}
<noinclude><div class="center"></noinclude><span class="explain" tabindex="0" title="{{#switch: {{lc:{{{1<noinclude>|interact</noinclude>}}}}}
|interact = Z / Space / Enter
|interact|action = Z / Y / Space / Enter
|menu = X / C / V / B / N / Esc / Numpad 0
|menu = X / C / V / B / N / Esc / Numpad 0
|up|up arrow = Up arrow / Numpad 8
|up|up arrow = Up arrow / Numpad 8

Revision as of 20:10, 30 November 2024

interact

Use this template for controls to include a tooltip of keys that map to that control by default.

For example, instead of writing:

Hold X to exit the screen.

You should instead write:

Hold the {{control|menu}} key to exit the screen.

Which would present:

Hold the menu key to exit the screen.

Alternatively, you could write:

Hold the {{control|menu|menu key}} to exit the screen.

Which would present:

Hold the menu key to exit the screen.

The purpose of this template is to avoid suggesting specific keys when in actuality a range of keys can be used.

Technically it's still possible to put a specific key in the second parameter and display something like "Hold esc", but this is more confusing.