Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 01:12, 12 March 2026 by imported>RedX
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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>


pt:Predefinição:Interface de usuário/doc ru:Шаблон:UI/док uk:Шаблон:UI/док