Template:GM/box/doc: Difference between revisions
< Template:GM | box
Jump to navigation
Jump to search
m (add: Usage & Example) |
m (bit more doc) |
||
Line 4: | Line 4: | ||
===Example=== | ===Example=== | ||
:<nowiki>{{Key_box|</nowiki> '''$''' | :<nowiki>{{Key_box|</nowiki> '''$'''Menu Item 1 | Menu '''$'''Item 2 | Menu Ite'''$'''m 3 | Menu Item '''$'''4| Menu Item 5}} | ||
:{{Key_box| $ | :{{Key_box| $Menu Item 1 | Menu $Item 2 | Menu Ite$m 3 | Menu Item $4 | Menu Item 5}} | ||
:or | |||
:<nowiki>{{ Key_box</nowiki> | |||
:| '''$'''Menu Item 1 | |||
:| Menu '''$'''Item 2 | |||
:| Menu Ite'''$'''m 3 | |||
:| Menu Item '''$'''4 | |||
:| Menu Item 5 | |||
:}} | |||
:{{Key_box | |||
| $Menu Item 1 | |||
| Menu $Item 2 | |||
| Menu Ite$m 3 | |||
| Menu Item $4 | |||
| Menu Item 5 | |||
}} | |||
===Info=== | ===Info=== | ||
Line 11: | Line 26: | ||
:Currently supporting up to 6 parameters. (anonymous type) | :Currently supporting up to 6 parameters. (anonymous type) | ||
:Target the used menu-key with a leading '$' character. | :Target the used menu-key with a leading '$' character. | ||
:Uses Key_ws | :Uses templates: [[Template:Key_ws|Key_ws]], [[Template:Str_us2sp|Str_us2sp]], [[Template:Str_sp2us|Str_sp2us]] |
Revision as of 17:18, 30 April 2015
Usage
{{Key_box|String1|String2|..|String6}}
Example
- {{Key_box| $Menu Item 1 | Menu $Item 2 | Menu Ite$m 3 | Menu Item $4| Menu Item 5}}
- Template:Key box
- or
- {{ Key_box
- | $Menu Item 1
- | Menu $Item 2
- | Menu Ite$m 3
- | Menu Item $4
- | Menu Item 5
- }}
- Template:Key box