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



YumeWiki
3,089Articles

Template:Control: Difference between revisions

(add "action" as alias for "interact")
(exclude Y since it only works on 2003)
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|action = Z / Y / Space / Enter
|interact|action = Z / 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:12, 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.