Difference between revisions of "Template:Navigation"
Jump to navigation
Jump to search
(if 1st param not empty, don't show Patch Notes. 1st param is used to transclude another navbox above this one, so this prevents double patch notes) |
m |
||
Line 1: | Line 1: | ||
<includeonly>{{#vardefine:lang|{{#if: {{#titleparts: {{PAGENAME}} | 1 | 2}} |/{{#titleparts: {{PAGENAME}} | 1 | 2}}|}}}}<!-- | <includeonly>{{#vardefine:lang|{{#if: {{#titleparts: {{PAGENAME}} | 1 | 2}} |/{{#titleparts: {{PAGENAME}} | 1 | 2}}|}}}}<!-- | ||
-->{{Clear}}''{{#if: {{Translate|Page last edited during patch|WikiNavigation}}|{{Translate|Page last edited during patch|WikiNavigation}}|Page last edited during patch}}:'' | -->{{Clear}}{{#if:{{{1|}}}|''{{#if: {{Translate|Page last edited during patch|WikiNavigation}}|{{Translate|Page last edited during patch|WikiNavigation}}|Page last edited during patch}}:'' |{{Patch notes}}}}{{{1|}}}{{Navbox | ||
| name = Navigation | | name = Navigation | ||
| title = Stoneshard Wiki | | title = Stoneshard Wiki |
Revision as of 13:06, 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:
|
|
|