Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Template documentation (for the above template, sometimes hidden or invisible) [view] [edit] [history] [refresh]

Template:Documentation header Template:Lua This template is used to dictate multilevel UI navigation to the readers. This can be useful when you want to show the readers where a specific UI is located behind multiple nested menu screens or user navigation. This template may be substituted (i.e., using Template:Cd).

Usage

This template produces navigation path to the UI delimited with right arrow symbol (→). Optionally, the Template:Cd parameter is provided to link the path to an article or page.

Its used like {{UI|'navigation 1'|'navigation 2'|'navigation 3'|'navigation N'}} with no limit to N, so the navigation depth can be set dynamically.

Examples

A basic usage of the template:

<syntaxhighlight lang=wikitext> You can visit Template:UI to change your key binds in Java Edition. </syntaxhighlight>

Template:Produces

The UI path can be linked by setting Template:Cd parameter.

<syntaxhighlight lang=wikitext> To turn on Vibrant Visuals, you can visit the option in Template:UI. </syntaxhighlight>

Template:Produces

TemplateData

<templatedata> { "description": "Creates a multilevel UI navigation path.", "format": "inline", "params": { "1": { "label": "Base navigation", "type": "string", "description": "Base menu screen or navigation", "required": true }, "2": { "label": "Second navigation", "type": "string", "description": "Next menu screen or navigation" }, "3": { "label": "Third navigation", "type": "string", "description": "Ditto" }, "4": { "label": "Fourth navigation", "type": "string", "description": "Ditto" }, "5": { "label": "Fifth navigation", "type": "string", "description": "Ditto" }, "6": { "label": "Sixth navigation", "type": "string", "description": "Ditto" }, "7": { "label": "Seventh navigation", "type": "string", "description": "Ditto" }, "8": { "label": "Eight navigation", "type": "string", "description": "Ditto" }, "link": { "description": "Provides a wikitext link for the entire navigation path.", "type": "wiki-page-name" } } } </templatedata>

Template:Sandbox other
The above text is transcluded from Template:MC/UI/doc; you can change it or view its history.
If you're done making changes, please refresh the text.
Please add categories and interwikis to Template:MC/UI/doc. (View all subpages of this page.)