Template:Key/doc

From Ring of Brodgar
Jump to navigation Jump to search

Keyboard Key(s)

Specifically for targeting keyboard key-combination.
Draws a box around the given string.
Allows up to 5 string inputs.

Syntax

{{k|<key-string-1>|<key-string-2>|...|<key-string-5>}}

Additional optional input.

{{k|...|class=<additional class>}}
{{k|...|style=<additional style>}}

Example:

abc {{k|Aaa|Bbb Bbb|Ccc|Ddd}} xyz, or
abc {{key|Aaa|Bbb Bbb|Ccc|Ddd}} xyz.

Result:

abc Aaa+Bbb Bbb+Ccc+Ddd xyz