Template:Navbox
Uses Lua: |
No description yet available.
Usage
{{Navbox
|name =
|state =
|title =
|image =
|group1 =
|list1 =
}}
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
name | Template Name | the name of the template | empty | required |
listclass | List Class | a CSS class for the list cells, usually hlist for horizontal lists. Alternatively, use bodyclass for the whole box | empty | optional |
state | controls when a navbox is expanded or collapsed | empty | optional | |
title | text in the title bar, such as: [[Widget stuff]] | empty | optional | |
above | text to appear above the group/list section (could be a list of overall wikilinks) | empty | optional | |
image | an optional right-side image, coded as the whole image. Typically it is purely decorative, so it should be coded as [[File:XX.jpg|80px|link = |alt = ]] | empty | optional | |
group1 | the left-side text before list-n (if group-n omitted, list-n starts at left of box) (up to 20) | empty | optional | |
list1 | text listing wikilinks using a wikilist format[clarification needed] (up to 20) | empty | optional | |
below | optional text to appear below the group/list section | empty | optional | |
titlestyle | a CSS style for the title-bar, such as: background: gray; | empty | optional | |
groupstyle | a CSS style for the group-cells, such as: background: #eee; | empty | optional | |
imageleft | an optional left-side image (code the same as the "image" parameter) | empty | optional |
Template data | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard. Existing template documentation Newly created template documentation and imports Wikipedia's help about TemplateData • Commons-specific information
|
Additional information
The template is intended to be used in the following namespaces: the Template namespace
The template is intended to be used by the following user groups: all users
Example
{{Navbox| | title = ''title'' | titlegroup = ''titlegroup'' | above = ''above'' | below = ''below'' | image = ''image'' | imageleft = ''imageleft'' | group1 = ''group1'' | list1 = ''list1'' | group2 = ''group2'' | list2 = ''list2'' | group23 = ''group23'' | list23 = ''list23'' | group104 = ''group104'' | list104 = ''list104'' | group1005 = ''group1005'' | list1005 = ''list1005'' | group10006 = ''group10006'' | list10006 = ''list10006'' }}
renders as:
See also
For more documentation, see w:Template:Navbox.
- {{Navbox with columns}}
- {{Navbox subgroup}}
Localization
This template is not intended to be localized.