Template:Hotkey2: Difference between revisions
(Created page with "<span style="background: #0e684b; border-bottom: 2px solid #83a89c; border-right: 1px solid #83a89c; padding: 2px; border-radius: 4px; width: 1px;"><small> {{{1}}} <...") |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<span style="background: #0e684b; border-bottom: 2px solid #83a89c; border-right: 1px solid #83a89c; padding: 2px; border-radius: 4px; width: 1px;"><small> {{{1}}} </small></span><noinclude | <span style="background: #0e684b; border-bottom: 2px solid #83a89c; border-right: 1px solid #83a89c; padding: 2px; border-radius: 4px; width: 1px;"><small> {{{1}}} </small></span><noinclude>{{Hotkey2/doc}}[[Category:Templates]]</noinclude> | ||
[[Category:Templates]] | |||
</noinclude> |
Latest revision as of 18:52, 21 November 2021
{{{1}}}
This template is used to display unchangeable hotkeys in the form of little rounded squares with the key labels inside them. This is just to add a pleasant aesthetic to displaying hotkeys on this wiki. There is another template known simply as "hotkey", which is the same thing, but the squares are a blue color instead of cyan. Hotkey2 is used for game keys that cannot be changed by the player, while the other template is used for standard hotkeys that can be changed by the player.
{{hotkey2|<KEY>}}
Typing {{hotkey2|A}}
outputs... A
Typing {{hotkey2|Ctrl+B}}
outputs... Ctrl+B
Typing {{hotkey2|'''F+A'''}}
with bold formatting outputs... F+A
Typing {{hotkey2|{{color|'''H'''|yellow}}}}
with bold formatting and a color template outputs... H
Lastly, typing {{hotkey2|{{glow|'''H'''|lime|yellow}}}}
with bold formatting, green text with a yellow glow outputs... H