Difference between revisions of "Template:Keypress/core"
From OCE Space Simulation
m |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<span class="keyboard-key" style="border: 0.2em outset #cecbc7; background: #f0ece8; padding: 0 0.4em 0.1em 0.3em; font-size: 0.8em; white-space: nowrap;">{{#switch:{{lc:{{{1}}}}} | <span class="keyboard-key" style="border: 0.2em outset #cecbc7; background: #f0ece8; padding: 0 0.4em 0.1em 0.3em; font-size: 0.8em; white-space: nowrap;">{{#switch:{{lc:{{{1}}}}} | ||
| shift = {{Unicode|⇧}} Shift | | shift = {{Unicode|⇧}} Shift | ||
− | |||
| enter = {{Unicode|↵}} Enter | | enter = {{Unicode|↵}} Enter | ||
− | |||
| cmd = {{Unicode|⌘}} Cmd | | cmd = {{Unicode|⌘}} Cmd | ||
− | |||
− | |||
| opt = {{Unicode|⌥}} Opt | | opt = {{Unicode|⌥}} Opt | ||
− | |||
− | |||
| tab = Tab {{Unicode|⇆}} | | tab = Tab {{Unicode|⇆}} | ||
− | |||
| backspace = ← Backspace | | backspace = ← Backspace | ||
− | |||
| win | | win | ||
− | |||
− | |||
| up = ↑ | | up = ↑ | ||
− | |||
| down = ↓ | | down = ↓ | ||
− | |||
| left = ← | | left = ← | ||
− | |||
| right = → | | right = → | ||
− | |||
| #default = {{{1}}} | | #default = {{{1}}} | ||
}}</span> | }}</span> | ||
+ | </br> | ||
<noinclude> | <noinclude> | ||
− | [[Category:Templates]] | + | [[Category:Templates|{{PAGENAME}}]] |
+ | |||
+ | We're going to need to update our version of MediaWiki and install the [http://www.mediawiki.org/wiki/Extension:ParserFunctions Parser Functions Extension] before we can use the awesomeness. | ||
+ | |||
Copied from [http://en.wikipedia.org/wiki/Template:Keypress/core Wikipedia] | Copied from [http://en.wikipedia.org/wiki/Template:Keypress/core Wikipedia] | ||
+ | Do not use this template anywhere. Instead, call [[Template:Key]] | ||
</noinclude> | </noinclude> |
Latest revision as of 16:06, 7 April 2010
{{#switch:{{{1}}} | shift = ⇧
Shift
| enter = ↵
Enter
| cmd = ⌘
Cmd
| opt = ⌥
Opt
| tab = Tab ⇆
| backspace = ← Backspace
| win
| up = ↑
| down = ↓
| left = ←
| right = →
| #default = {{{1}}}
}}
</br>
We're going to need to update our version of MediaWiki and install the Parser Functions Extension before we can use the awesomeness.
Copied from Wikipedia Do not use this template anywhere. Instead, call Template:Key