Template:Key/doc: Difference between revisions

Jump to navigation Jump to search
no edit summary
sims>K6ka
m (this template is completely useless here, so begone!)
sims>LostInRiverview
No edit summary
Line 1:
 
;Description
:This template creates a button via CSSimage to represent a key press on a keyboard.
 
;Syntax
: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
:<code><nowiki>{{key|return}}</nowiki></code> gives...produces:
:{{key|return}}
 
:<code><nowiki>{{key|ctrl|shift|C}}</nowiki></code> produces:
:;General PC
:{{key|ctrl|shift|C}}
 
;Keys available
 
:;''General PC''
::-Return = {{Key|-Return}}
::^Control = {{Key|^Control}}
Line 51 ⟶ 59:
::up = {{Key|up}}
::win = {{Key|win}}
 
:
:;''Left & right analog sticks''
::l-up = {{Key|l-up}}
::l up = {{Key|l up}}
Line 69 ⟶ 77:
::l-sw = {{Key|l-sw}}
::l sw = {{Key|l sw}}
 
:
::r-up = {{Key|r-up}}
::r up = {{Key|r up}}
Line 86 ⟶ 94:
::r-sw = {{Key|r-sw}}
::r sw = {{Key|r sw}}
 
:
:;''PlayStation''
::ps x = {{Key|ps x}}
::ex = {{Key|ex}}
Line 96 ⟶ 104:
::ps t = {{Key|ps t}}
::triangle = {{Key|triangle}}
 
:
:;''Nintendo 64 & GameCube''
::c-up = {{Key|c-up}}
::c up = {{Key|c up}}
Line 114 ⟶ 122:
::c-sw = {{Key|c-sw}}
::c sw = {{Key|c sw}}
 
;Related templates
:{{t|key/core}} contains the code upon which {{t|key}} functions.
 
;Origin
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu