Template:Key/doc: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
sims>K6ka m (this template is completely useless here, so begone!) |
sims>LostInRiverview No edit summary |
||
Line 1: | Line 1: | ||
;Description |
;Description |
||
:This template creates a button |
:This template creates a button image to represent a key press on a keyboard. |
||
;Syntax |
;Syntax |
||
:Type <code>{{t|key}}</code> somewhere. |
:Type <code>{{t|key}}</code> somewhere. Template will accept the keys listed below, as well as all number and letter keys. |
||
:Up to seven keys can be strung together in one instance of the template. Each key is displayed as a separate button connected with a plus sign (+), as shown below |
|||
;Sample output |
;Sample output |
||
:<code><nowiki>{{key|return}}</nowiki></code> |
:<code><nowiki>{{key|return}}</nowiki></code> produces: |
||
:{{key|return}} |
:{{key|return}} |
||
:<code><nowiki>{{key|ctrl|shift|C}}</nowiki></code> produces: |
|||
⚫ | |||
:{{key|ctrl|shift|C}} |
|||
;Keys available |
|||
⚫ | |||
::-Return = {{Key|-Return}} |
::-Return = {{Key|-Return}} |
||
::^Control = {{Key|^Control}} |
::^Control = {{Key|^Control}} |
||
Line 51: | Line 59: | ||
::up = {{Key|up}} |
::up = {{Key|up}} |
||
::win = {{Key|win}} |
::win = {{Key|win}} |
||
: |
|||
: |
:''Left & right analog sticks'' |
||
::l-up = {{Key|l-up}} |
::l-up = {{Key|l-up}} |
||
::l up = {{Key|l up}} |
::l up = {{Key|l up}} |
||
Line 69: | Line 77: | ||
::l-sw = {{Key|l-sw}} |
::l-sw = {{Key|l-sw}} |
||
::l sw = {{Key|l sw}} |
::l sw = {{Key|l sw}} |
||
: |
|||
::r-up = {{Key|r-up}} |
::r-up = {{Key|r-up}} |
||
::r up = {{Key|r up}} |
::r up = {{Key|r up}} |
||
Line 86: | Line 94: | ||
::r-sw = {{Key|r-sw}} |
::r-sw = {{Key|r-sw}} |
||
::r sw = {{Key|r sw}} |
::r sw = {{Key|r sw}} |
||
: |
|||
: |
:''PlayStation'' |
||
::ps x = {{Key|ps x}} |
::ps x = {{Key|ps x}} |
||
::ex = {{Key|ex}} |
::ex = {{Key|ex}} |
||
Line 96: | Line 104: | ||
::ps t = {{Key|ps t}} |
::ps t = {{Key|ps t}} |
||
::triangle = {{Key|triangle}} |
::triangle = {{Key|triangle}} |
||
: |
|||
: |
:''Nintendo 64 & GameCube'' |
||
::c-up = {{Key|c-up}} |
::c-up = {{Key|c-up}} |
||
::c up = {{Key|c up}} |
::c up = {{Key|c up}} |
||
Line 114: | Line 122: | ||
::c-sw = {{Key|c-sw}} |
::c-sw = {{Key|c-sw}} |
||
::c sw = {{Key|c sw}} |
::c sw = {{Key|c sw}} |
||
;Related templates |
|||
:{{t|key/core}} contains the code upon which {{t|key}} functions. |
|||
;Origin |
;Origin |