Anonymous user
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
;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>
:{{key|return}}
:<code><nowiki>{{key|ctrl|shift|C}}</nowiki></code> produces:
:;General PC▼
:{{key|ctrl|shift|C}}
;Keys available
::-Return = {{Key|-Return}}
::^Control = {{Key|^Control}}
Line 51 ⟶ 59:
::up = {{Key|up}}
::win = {{Key|win}}
:
::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}}
:
::ps x = {{Key|ps x}}
::ex = {{Key|ex}}
Line 96 ⟶ 104:
::ps t = {{Key|ps t}}
::triangle = {{Key|triangle}}
:
::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
|