Template:Key/doc: Difference between revisions

Jump to navigation Jump to search
no edit summary
m (12 revisions imported: Import from https://sims.wikia.com)
No edit summary
 
Line 1:
;Description
:This template creates a button image to represent a key press on a keyboard.
 
;==Description==
;Syntax
:This template creates a button image to represent a key press on a keyboard.
:Type <code>{{t|key}}</code> somewhere. Template will accept the keys listed below, as well as all number and letter keys.
 
;==Syntax==
: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
: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> produces:
;==Sample output==
:<code><nowiki>{{key|return}}</nowiki></code> produces:
:{{key|return}}
 
:<code><nowiki>{{key|ctrl|shift|C}}</nowiki></code> produces:
:{{key|ctrl|shift|C}}
 
;==Keys available==
 
:''General PC''
Line 123 ⟶ 124:
::c sw = {{Key|c sw}}
 
;==Related templates==
:{{t|key/core}} contains the code upon which {{t|key}} functions. If you plan on copying this template to another wiki, be sure to copy that as well.
 
;==Origin==
:Based on [[wikipedia:Template:Key press|Template:Key press]] at [[wikipedia:|Wikipedia]].<includeonly>
[[Category:General wiki templates|{{PAGENAME}}]]</includeonly><noinclude>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu