Template:GM/sub/doc

From Ring of Brodgar
< Template:GM‎ | sub
Revision as of 00:19, 4 February 2017 by Ricky (talk | contribs) (Text replacement - "Category:General wiki templates" to "Category:templates")
Jump to navigation Jump to search

Info

Main Game-Menu bar template.
Currently supporting up to 6 parameters. (anonymous type)
Use a leading $ character to target the used menu short-cut key.
(Only intended, and tested, with one '$' instance per string.)

Usage

{{Menu_usage_box|String1|String2|..|String6}}
or with the preferred shorter name:
{{GM|String1|String2|..|String6}}

Example

Leading and trailing string spaces in examples are optional.
{{GM| $Menu Item 1 | Menu $Item 2 | Menu Ite$m 3 | Menu Item $4| Menu Item 5}}
Output: Template:Key box
or
{{GM
| $Menu Item 1
| Menu $Item 2
| Menu Ite$m 3
| Menu Item $4
| Menu Item 5
}}
Output: Template:Key box


Used templates

Menu_usage_scan .. Property part.
Key_box .. Graphic part.
Key_ws .. Short-cut-key part.
Str_us2sp
Str_sp2us