Template:Key: Difference between revisions
Jump to navigation
Jump to search
(Alternative to {{Key|k}} specifically for targeting keyboard key-combination (Experimental).) |
(GM name-restructure: Fix Outdated call name.) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
-->{{#if:{{{1|}}}|{{ | -->{{#if:{{{1|}}}|{{key/box|{{{1}}}}}<!-- | ||
-->{{#if:{{{2|}}}|<b>+</b>{{ | -->{{#if:{{{2|}}}|<b>+</b>{{key/box|{{{2}}}}}<!-- | ||
-->{{#if:{{{3|}}}|<b>+</b>{{ | -->{{#if:{{{3|}}}|<b>+</b>{{key/box|{{{3}}}}}<!-- | ||
-->{{#if:{{{4|}}}|<b>+</b>{{ | -->{{#if:{{{4|}}}|<b>+</b>{{key/box|{{{4}}}}}<!-- | ||
-->{{#if:{{{5|}}}|<b>+</b>{{ | -->{{#if:{{{5|}}}|<b>+</b>{{key/box|{{{5}}}}}<!-- | ||
-->}}}}}}}}|(?)}}</includeonly><noinclude | -->}}}}}}}}|(?)}}</includeonly><noinclude | ||
>{{documentation}}</noinclude> | >{{documentation}}</noinclude> |
Latest revision as of 15:27, 13 September 2024
Template documentation (for the template shown above, sometimes hidden or invisible)
Keyboard Key(s)
- Updated {{Key|<key-string-1>|<key-string-2>|...}} specifically for targeting keyboard key-combination.
- Allows multiple key-string inputs(5). So the whole key-combination can be done in a single call.
Usage:
Result:
- abc Aaa+Bbb Bbb+Ccc+Ddd xyz
Visit Template:Key/doc to edit this text! (How does this work?)