Difference between revisions of "Template:Key/core"
From PCGamingWiki, the wiki about fixing PC games
(added tooltip for tilde/grave) |
(added support for right/left Ctrl, Alt, Shift) |
||
Line 1: | Line 1: | ||
<kbd class="keyboard-key nowrap" style="border: 1px solid #aaa; -webkit-border-radius: 2px; border-radius: 2px; -webkit-box-shadow: 1px 2px 2px #ddd; box-shadow: 1px 2px 2px #ddd; background-color: #f9f9f9; background-image: background-image: -o-linear-gradient(top, #eee, #f9f9f9, #eee); background-image: -webkit-linear-gradient(top, #eee, #f9f9f9, #eee); background-image: linear-gradient(top, #eee, #f9f9f9, #eee); padding: 1px 3px; font-family: inherit; font-size: 0.85em;">{{#switch:{{lc:{{{1}}}}} | <kbd class="keyboard-key nowrap" style="border: 1px solid #aaa; -webkit-border-radius: 2px; border-radius: 2px; -webkit-box-shadow: 1px 2px 2px #ddd; box-shadow: 1px 2px 2px #ddd; background-color: #f9f9f9; background-image: background-image: -o-linear-gradient(top, #eee, #f9f9f9, #eee); background-image: -webkit-linear-gradient(top, #eee, #f9f9f9, #eee); background-image: linear-gradient(top, #eee, #f9f9f9, #eee); padding: 1px 3px; font-family: inherit; font-size: 0.85em;">{{#switch:{{lc:{{{1}}}}} | ||
+ | | rctrl = <abbr title="Right Ctrl">RCtrl</abbr> | ||
+ | | lctrl = <abbr title="Left Ctrl">LCtrl</abbr> | ||
+ | | ralt = <abbr title="Right Alt">RAlt</abbr> | ||
+ | | lalt = <abbr title="Left Alt">LAlt</abbr> | ||
+ | | rshift = <abbr title="Right Shift">RShift</abbr> | ||
+ | | lshift = <abbr title="left Shift">LShift</abbr> | ||
| caps lock = <span class="Unicode">⇪</span> Caps Lock | | caps lock = <span class="Unicode">⇪</span> Caps Lock | ||
| shift = <span class="Unicode">⇧</span> Shift | | shift = <span class="Unicode">⇧</span> Shift |
Revision as of 09:42, 8 October 2014
{{{1}}}
Documentation for the above template (sometimes hidden from view).
This template provides functionality for {{Key}}. Do not use this template directly.
See {{Key/Documentation}} for usage instructions.
Visit Template:Key/core/Documentation to edit this text. (How does this work?)