Difference between revisions of "Template:Navigation/doc"
Jump to navigation
Jump to search
old>Realpsojed (Created page with "{{doc/start}} ==Syntax== {{tl|Navigation}} ==Result== Patch notes Will select appropriate navbox (or multiple navboxes) for the given page, OR displays error message if p...") |
m |
||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{doc/start}} | {{doc/start}} | ||
Default wiki navigation template, codenamed "mother of all navboxes". Shows expanded relevant section and autocollapses the rest. | |||
==Default - Autocollapsing Navbox== | |||
Shows everything collapsed since this documentation isn't a page in the navbox. If on a page from the navbox, for example [[Traits]], only the relevant subnavbox gets expanded (or the whole thing if there's no sub navbox). | |||
<nowiki>{{Navigation}}</nowiki> | |||
Example | |||
Example: | |||
{{Navigation}} | {{Navigation}} | ||
==Plain== | |||
Same navigation, but the Navbox is always expanded. | |||
<nowiki>{{Navigation||plain}}</nowiki> | |||
Example: | |||
{{Navigation||plain}} | |||
==Multiple navboxes== | |||
Navigation is always collapsed and 1st parameter is placed above this navbox. Intended to use with another navbox. | |||
<nowiki>{{Navigation|{{Skill navbox}}}}</nowiki> | |||
Example: | |||
{{Navigation|{{Skill navbox}}}} | |||
{{doc/end}} | {{doc/end}} | ||
Latest revision as of 13:09, 25 February 2025
Default wiki navigation template, codenamed "mother of all navboxes". Shows expanded relevant section and autocollapses the rest.
Shows everything collapsed since this documentation isn't a page in the navbox. If on a page from the navbox, for example Traits, only the relevant subnavbox gets expanded (or the whole thing if there's no sub navbox).
{{Navigation}}
Example:
| ||||||||||||||||||||||||||||
| |||||
Plain
Same navigation, but the Navbox is always expanded.
{{Navigation||plain}}
Example:
| ||||||||||||||||||||||||||||
| |||||
Navigation is always collapsed and 1st parameter is placed above this navbox. Intended to use with another navbox.
{{Navigation|{{Skill navbox}}}}
Example:
| |||||||||||||
| ||||||||||||||||||||||||||||
| |||||