Template:Key/core: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (new design)
(Now it's more like a keyboard key rather than a string of code)
 
(19 intermediate revisions by 2 users 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; font-size: 0.85em;">{{#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 32: Line 32:
| #                  = <nowiki>#</nowiki>
| #                  = <nowiki>#</nowiki>
| [[#]]              = [[Number sign|#]]
| [[#]]              = [[Number sign|#]]
| :                  = <span title="Colon (<nowiki>:</nowiki>)"><nowiki>:</nowiki></span>
| colon | Colon | :                  = <span title="Colon (<nowiki>:</nowiki>)"><nowiki>:</nowiki></span>
| [[:]]              = <span title="Colon (<nowiki>:</nowiki>)">[[Colon (punctuation)|:]]</span>
| [[colon]] | [[Colon]] | [[:]]              = <span title="Colon (<nowiki>:</nowiki>)">[[Colon (punctuation)|:]]</span>
| [[|]]              = <span title="Vertical bar"><[[Pipe symbol|{{!}}]]</span>
| [[|]]              = <span title="Vertical bar"><[[Pipe symbol|{{!}}]]</span>
| ~                  = <span style="cursor:help" title="Tilde/Grave; for non-QWERTY keyboards use key above Tab"><u>~</u></span>
| lmb                = <span title="Left mouse button">[[File:Icon-Mouse-LeftButton.png|link=|alt=LMB|18px]]</span>
| lmb                = <span title="Left mouse button">[[File:Icon-Mouse-LeftButton.png|link=|alt=LMB|18px]]</span>
| mouse1              = <span title="Left mouse button">[[File:Icon-Mouse-LeftButton.png|link=|alt=LMB|18px]]</span>
| mouse1              = <span title="Left mouse button">[[File:Icon-Mouse-LeftButton.png|link=|alt=LMB|18px]]</span>
Line 41: Line 42:
| mmb                = <span title="Middle mouse button">[[File:Icon-Mouse-MiddleButton.png|link=|alt=MMB|18px]]</span>
| mmb                = <span title="Middle mouse button">[[File:Icon-Mouse-MiddleButton.png|link=|alt=MMB|18px]]</span>
| mouse3              = <span title="Middle mouse button">[[File:Icon-Mouse-MiddleButton.png|link=|alt=MMB|18px]]</span>
| mouse3              = <span title="Middle mouse button">[[File:Icon-Mouse-MiddleButton.png|link=|alt=MMB|18px]]</span>
| mouse4              = <span title="Side mouse button (MOUSE4/Forward Page)">[[File:Icon-Mouse-SideButton-4.png|link=|alt=MOUSE4|18px]]</span>
| mouse4              = <span title="Side mouse button (MOUSE4/Forward Page)&#010;Not all mouse have this button however.">[[File:Icon-Mouse-SideButton-4.png|link=|alt=MOUSE4|18px]]</span>
| mouse5              = <span title="Side mouse button (MOUSE5/Backward Page)">[[File:Icon-Mouse-SideButton-5.png|link=|alt=MOUSE4|18px]]</span>
| mouse5              = <span title="Side mouse button (MOUSE5/Backward Page)&#010;Not all mouse have this button however.">[[File:Icon-Mouse-SideButton-5.png|link=|alt=MOUSE4|18px]]</span>
<!-- Xbox 360 buttons -->
| xbox_a | xbox_A | 360_A | 360_a    = <span title="Xbox - A button">[[File:360_A_button.png|link=|alt=A button|20px]]</span>
| xbox_b | xbox_B | 360_B | 360_b    = <span title="Xbox - A button">[[File:360_B_button.png|link=|alt=B button|20px]]</span>
| xbox_x | xbox_X | 360_X | 360_x    = <span title="Xbox - X button">[[File:360_X_button.png|link=|alt=X button|20px]]</span>
| xbox_y | xbox_Y | 360_Y | 360_y    = <span title="Xbox - Y button">[[File:360_Y_button.png|link=|alt=Y button|20px]]</span>
| xbox_back | 360_back = <span title="Xbox - ◄ Back button">[[File:360_back_button.png|link=|alt=◄ Back button|20px]]</span>
| xbox_start | 360_start = <span title="Xbox - ► Start button">[[File:360_start_button.png|link=|alt=► Start button|20px]]</span>
| xbox_lb | 360_lb | xbox_LB = <span title="Xbox - Left bumper button">[[File:360_LB_button.png|link=|alt=Left bumper button|20px]]</span>
| xbox_rb | 360_rb | xbox_RB = <span title="Xbox - Right bumper button">[[File:360_RB_button.png|link=|alt=Right bumper 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>
<!-- 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>

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.