Difference between revisions of "Template:Navigation"

From Stoneshard wiki
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}}:'' {{#if:{{{1|}}}||{{Patch notes}}}}{{{1|}}}{{Navbox
-->{{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

Template-info.png Documentation

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).

{{Navigation}}


Example:

0.9.1.19



Plain

Same navigation, but the Navbox is always expanded.

{{Navigation||plain}}


Example:

0.9.1.19



Multiple navboxes

Navigation is always collapsed and 1st parameter is placed above this navbox. Intended to use with another navbox.

{{Navigation|{{Skill navbox}}}}


Example:

Page last edited during patch:
Page last edited during patch: 0.9.1.19