Difference between revisions of "Template:Navigation"

From Stoneshard wiki
Jump to navigation Jump to search
old>Realpsojed
m (test with Ancient Troll page)
old>Realpsojed
m
Line 1: Line 1:
<includeonly>{{Template:Patch notes}}{{#switch: {{{ROOTPAGENAME}}}
<includeonly>{{Template:Patch notes}}{{#switch: {{ROOTPAGENAME}}
<!-- Main Navbox pages-->
<!-- Main Navbox pages -->
<!-- World section -->
<!-- World section -->
|The story
|The story
Line 203: Line 203:
|War Dog
|War Dog
<!-- Beast enemies -->
<!-- Beast enemies -->
|Ancient_Troll
|Ancient Troll
|Bear
|Bear
|Boar
|Boar

Revision as of 20:49, 27 October 2020

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:

Expression error: Unexpected < operator. Page Navigation is missing in Template:Navigation, please add it there.



Plain

Same navigation, but the Navbox is always expanded.

{{Navigation||plain}}


Example:

Expression error: Unexpected < operator. Page Navigation is missing in Template:Navigation, please add it there.



Multiple navboxes

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

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


Example:

Expression error: Unexpected < operator. Page Navigation is missing in Template:Navigation, please add it there.