Template:Navbox
{{Improve}}
. Last edit was 24/01/2024.This is a metatemplate used to quickly create a navigational template in a standardized style.
Navboxes are used to provide a convenient way to navigate between related articles. They are not always related to the article directly, but are instead related to the overarching topic. E.g., Template:Navbox weapons, or Template:Navbox locations. They will usually be placed at the bottom of an article in the "see also" section.
Usage
{{Navbox | title = Example | content = {{Navbox/row | group = group1 | list = list, list, list, list, list, list, list, list, list, list, list, list, }} | id = example }}
Parameters
title
Required- Title.
content
Required- Container for the content.
{{Navbox/row}}
will usually be here. id
Required- The unique ID for the navbox.
image
- Image to be displayed beneath the title and next to the content.
above
- Displayed beneath the title but below the content.
below
- Displayed beneath the content.
theme
- Color of the navbox, can be
blue
orred
. Default isred
. collapsed
- Initial state of the content. Will be collapsed by default (
true
). Set tofalse
to start expanded.
The following are from {{Navbox/row}}
.
group
- Group name. Used from
{{Navbox/row}}
list
- List of articles to be linked to. Usually separated with a bullet point
•
or•
Examples
How to translate
This template doesn't need to/shouldn't be translated, but you can translate the documentation of this template with the following steps:
- Create a subpage of this template with the language code of the language you want to translate to.
- Copy the code wrapped in the
<noinclude>
tag in this template into the page you created.{{Translation guide}}
template should be removed from the translated documentation.
- Translate the page according to the translation requirements of normal pages.