Template:Hotkey2

From Songs of Syx Wiki
Revision as of 18:52, 21 November 2021 by Zippy (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

 {{{1}}} 

Template Documentation

Description

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.

Syntax

{{hotkey2|<KEY>}}

Examples

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