Open main menu

Wikimedia Commons β

Template:Navbox/doc

< Template:Navbox

No description yet available.

Usage

{{Navbox
 |name =
 |listclass =
 |state =
 |title =
 |above =
 |image =
 |group1 =
 |list1 =
 |below =
}}

Template parameters

ParameterDescriptionDefaultStatus
namethe name of the templateemptyrequired
listclassa CSS class for the list cells, usually hlist for horizontal lists. Alternatively, use bodyclass for the whole boxemptyoptional
statecontrols when a navbox is expanded or collapsedemptyoptional
titletext in the title bar, such as: [[Widget stuff]]emptyoptional
abovetext to appear above the group/list section (could be a list of overall wikilinks)emptyoptional
imagean 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 = ]]emptyoptional
group1the left-side text before list-n (if group-n omitted, list-n starts at left of box) (up to 20)emptyoptional
list1text listing wikilinks using a wikilist format[clarification needed] (up to 20)emptyoptional
belowoptional text to appear below the group/list sectionemptyoptional
titlestylea CSS style for the title-bar, such as: background: gray;emptyoptional
groupstylea CSS style for the group-cells, such as: background: #eee;emptyoptional
imageleftan optional left-side image (code the same as the "image" parameter)emptyoptional

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

See also

For more documentation, see Template:Navbox.

Localization

This template is not intended to be localized.

Example

See also