Template:Navboxes/doc

From English Wikipedia @ Freddythechick

The {{Navboxes}} template is used to group several navigation boxes together.

Warning: This template effectively doubles the post-expand include size of the navbox templates, which can cause the templates not to display. For large numbers of navboxes, use {{Navboxes top}} and {{Navboxes bottom}} instead.

Usage

<syntaxhighlight lang="wikitext">

</syntaxhighlight>

Redirects

Parameters

title (optional)

Alternate text to be placed in title box, defaults to "Links to related articles".

state (optional)

collapsed to show this template in its collapsed (hidden) state, this is the default state
expanded to show this template in its expanded (fully visible) state
autocollapse to show this template in its collapsed (hidden) state only if there is another collapsible template on the page

list (required)

list of the templates to be grouped

Examples

<syntaxhighlight lang="wikitext">

</syntaxhighlight>

which gives:


On larger pages, this should be replaced with:

<syntaxhighlight lang="wikitext">

</syntaxhighlight>

Coordinates template

The {{coord}} template may be included in the template group. Just remember to set the |display= parameter equal to "inline" thus: {{coord|18|25|53|N|64|37|23|W|display=inline}}. This enables the coordinates to appear no matter what skin you're in. The {{coord}} template can even be nested in a Navbox titled Geographic locale, which is already found on many country pages.

<syntaxhighlight lang="wikitext" style="overflow:auto; margin-right:5px">

</syntaxhighlight>

Succession boxes

Any instances of |- in a succession box should be replaced with {{!}}-, or {{Navboxes top}} and {{Navboxes bottom}} should be used instead.

<syntaxhighlight lang="wikitext" style="overflow:auto; margin-right:5px">

</syntaxhighlight>

Tracking categories