Template:Key press/core: Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>NXTBoy
backticks around all cases to allow switching on the value 1, which would otherwise always fall through
>NXTBoy
It goes here instead
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<span class="keyboard-key" style="background: white; border: 1px solid; border-color: #ddd #bbb #bbb #ddd; border-bottom-width: 2px; {{border-radius|3px}} background-color: {{{2|#f9f9f9}}}; padding: 1px 3px; font-family: inherit; font-size: 0.85em; white-space: nowrap;">{{switch|`{{lc:{{{1}}}}}`
<kbd class="keyboard-key" style="background: white; border: 1px solid; border-color: #ddd #bbb #bbb #ddd; border-bottom-width: 2px; {{border-radius|3px}} background-color: {{{2|#f9f9f9}}}; padding: 1px 3px; font-family: inherit; font-size: 0.85em; white-space: nowrap;">{{switch|`{{lc:{{{1}}}}}`
| `caps lock`          = {{Unicode|⇪}} Caps Lock
| `caps lock`          = {{Unicode|⇪}} Caps Lock
| `shift`              = {{Unicode|⇧}} Shift
| `shift`              = {{Unicode|⇧}} Shift
Line 16: Line 16:
| `#`                  = <nowiki>#</nowiki>
| `#`                  = <nowiki>#</nowiki>
| `:`                  = <nowiki>:</nowiki>
| `:`                  = <nowiki>:</nowiki>
| `default`            = {{{1}}}
| default               = {{{1}}}
}}</span>
}}</kbd>

Latest revision as of 21:28, 9 February 2012

{{{1}}}