Template:Key/core: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(Now it's more like a keyboard key rather than a string of code)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
<onlyinclude><span class="keyboard-key" style="display: inline-block; border: 1px solid #505050; border-radius:3px; background: #303030; margin:0 0.2em; padding: 0 3pt;">{{#switch:{{lc:{{{1}}}}}
<onlyinclude><span class="keyboard-key" style="display: inline-block; border:1px solid #505050; box-shadow:0 2px 0 #505050; border-radius:3px; background: #303030; margin:0 0.2em; padding:0 3.5pt;">{{#switch:{{lc:{{{1}}}}}
| caps lock          = <span title="Caps Lock key">{{Unicode|⇪}} Caps Lock</span><!-- Using the "span title" to display tooltip messages is recommended for better accessibility for certain people. -->
| caps lock          = <span title="Caps Lock key">{{Unicode|⇪}} Caps Lock</span><!-- Using the "span title" to display tooltip messages is recommended for better accessibility for certain people. -->
| [[caps lock]]      = <span title="Caps Lock key">{{Unicode|⇪}} [[Caps Lock]]</span>
| [[caps lock]]      = <span title="Caps Lock key">{{Unicode|⇪}} [[Caps Lock]]</span>
Line 55: Line 55:
| xbox_ls | 360_ls | xbox_LS = <span title="Xbox - Left stick button">[[File:360_LS_button.png|link=|alt=LS button|20px]]</span>
| xbox_ls | 360_ls | xbox_LS = <span title="Xbox - Left stick button">[[File:360_LS_button.png|link=|alt=LS button|20px]]</span>
| xbox_rs | 360_rs | xbox_RS = <span title="Xbox - Right stick button">[[File:360_RS_button.png|link=|alt=RS button|20px]]</span>
| xbox_rs | 360_rs | xbox_RS = <span title="Xbox - Right stick button">[[File:360_RS_button.png|link=|alt=RS button|20px]]</span>
<!-- PS4/Dualshock 4 buttons -->
| ps_X | PS_X | ps_cross | ps_Cross    = <span title="PlayStation - X (Cross) button">[[File:PS_Cross_button.png|link=|alt=X (Cross) button|20px]]</span>
| ps_O | PS_O | ps_circle | PS_circle    = <span title="PlayStation - O (Circle) button">[[File:PS_Circle_button.png|link=|alt=O (Circle) button|20px]]</span>
| ps_sq | ps_square | PS_sq | PS_SQ | ps_Sq    = <span title="PlayStation - □ (Square) button">[[File:PS_Square_button.png|link=|alt=□ (Square) button|20px]]</span>
| ps_tri | ps_triangle | PS_tri | PS_TRI | PS_Tri    = <span title="PlayStation - Δ button">[[File:PS_Triangle_button.png|link=|alt=Δ (Triangle) button|20px]]</span>


| #default            = <span title="{{{1}}}">{{{1}}}</span>
| #default            = <span title="{{{1}}}">{{{1}}}</span>
}}</span></onlyinclude>
}}</span></onlyinclude>
<noinclude>{{doc}}</noinclude>
<noinclude>{{doc}}</noinclude>

Latest revision as of 08:39, 27 October 2024

{{{1}}}

English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Curly brackets white.pngTemplate Documentation [view] [edit]
Icon-translate.png Available doc translations
View
Page history

This template provides functionality for {{Key}}. Do not use this template directly.

See {{Key}} (main template page) for usage instructions.