Template:GM/SetSubMenu

From Ring of Brodgar
Jump to navigation Jump to search
Template documentation (for the template shown above, sometimes hidden or invisible)

Info

Template to process and set the game sub-menu properties.
Intended to be used from one main set-data page.
The Template:GM/SSM page is a short-named redirect to this template.

Usage

{{GM/SSM|<parent menu-name>|<child sub-menu name>}}
Note:
The parent menu-name don't needs/uses hotkey markers. (parent hotkey markers are auto stripped before saving)
The parent menu-name can be empty, but can't be skipped. In which case its assumed to be the main-root menu.
The Child sub-menu should contain hotkey markers($), if known.

Example

{{GM/SSM| | $Craft }} -- New sub-menu in root-menu.
{{GM/SSM| Craft | $Food }} -- New sub-menu in other sub-menu.

Used output properties

Property:GM_parent
Property:GM_child
Property:GM_child_hk

Record views

Parent sorted
Child sorted</onlyinclude>