Difference between revisions of "Template:Key press/Documentation"

From War Thunder Wiki
Jump to: navigation, search
(Created page with "{{docpage}} Key press templates allows for documenting in-game controls. Up to 10 keys can be provided as parameters. {{Notice|The template supports a long list of supported...")
 
(Replaced table with an embedding of the Markup)
Line 4: Line 4:
 
{{Notice|The template supports a long list of supported keys (see: [[:Template:Key press/core]] source code) and will default to the custom text if needed, but it doesn't have the built-in icons for left mouse button, scroll, moving on horizontal or vertical axis, and a number of other icons that are built-in the War Thunder Controls menu.}}
 
{{Notice|The template supports a long list of supported keys (see: [[:Template:Key press/core]] source code) and will default to the custom text if needed, but it doesn't have the built-in icons for left mouse button, scroll, moving on horizontal or vertical axis, and a number of other icons that are built-in the War Thunder Controls menu.}}
  
{| class="wikitable"
+
{{Markup|width=auto
! Code
+
|<nowiki>{{key press|E}}</nowiki>|{{key press|E}}
! Result
+
|<nowiki>{{key press|Space}}</nowiki>|{{key press|Space}}
|-
+
|<nowiki>{{key press|tab}}</nowiki>|{{key press|tab}}
|<code><nowiki>{{key press|E}}</nowiki></code><br>
+
|<nowiki>{{key press|up}}</nowiki>|{{key press|up}}
|{{key press|E}}
+
|<nowiki>{{key press|cmd|opt|C}}</nowiki>|{{key press|cmd|opt|C}}
|-
+
|<nowiki>{{key press|Shift|A}} / {{key press|Shift|D}}</nowiki>|{{key press|Shift|A}} / {{key press|Shift|D}}
|<code><nowiki>{{key press|Space}}</nowiki></code><br>
+
|<nowiki>{{key press|custom text}} vs <code>code</code></nowiki>|{{key press|custom text}} vs <code>code</code>
|{{key press|Space}}
+
}}
|-
 
|<code><nowiki>{{key press|tab}}</nowiki></code><br>
 
|{{key press|tab}}
 
|-
 
|<code><nowiki>{{key press|up}}</nowiki></code><br>
 
|{{key press|up}}
 
|-
 
|<code><nowiki>{{key press|cmd|opt|C}}</nowiki></code><br>
 
|{{key press|cmd|opt|C}}
 
|-
 
|<code><nowiki>{{key press|Shift|A}} / {{key press|Shift|D}}</nowiki></code><br>
 
|{{key press|Shift|A}} / {{key press|Shift|D}}
 
|-
 
|<code><nowiki>{{key press|custom text}} vs <code>code</code></nowiki></code><br>
 
|{{key press|custom text}} vs <code>code</code>
 
|}
 

Revision as of 17:00, 23 August 2024

Key press templates allows for documenting in-game controls. Up to 10 keys can be provided as parameters.

Msg-info.png The template supports a long list of supported keys (see: Template:Key press/core source code) and will default to the custom text if needed, but it doesn't have the built-in icons for left mouse button, scroll, moving on horizontal or vertical axis, and a number of other icons that are built-in the War Thunder Controls menu.

Template:Markup