Template:Navboxes
![]() | This template is used on approximately 60,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
![]() | This template does not display in the mobile view of Wikipedia; it is desktop only. Read the documentation for an explanation. |
Navbox suite |
---|
|
![]() | This template uses Lua: |
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
- {{nva}}
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">
Giovanni Trapattoni navboxes | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
</syntaxhighlight>
which gives:
Giovanni Trapattoni navboxes | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
On larger pages, this should be replaced with:
<syntaxhighlight lang="wikitext">
Giovanni Trapattoni navboxes | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
</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">
Geographic locale | |
---|---|
</syntaxhighlight>
Geographic locale | |
---|---|
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>
Links to related articles | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Tracking categories
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template.