Template:Navbox

From The Sims Wiki, a collaborative database for The Sims series
Jump to navigation Jump to search
Template documentation (View · Edit · History · Purge)
Description
This template is used to create a basic navbox.
Syntax
{{navbox|<...>}}.
{{Navbox
|bodyclass  = 
|name       = {{subst:PAGENAME}}
|title      = 
|titleclass = 
|image      = 
|above      = 
|state      = 

|group1     = 
|list1      = 

|group2     = 
|list2      = 
 ...
|group20    = 
|list20     = 

|below      = 
}}
Parameters
title*
The title of the navigation box.
name*
The article name of the template, can use {{subst:PAGENAMEE}}.
state
The collapse state for the header. Default is autocollapse. A navbox with autocollapse will start out collapsed if there are two or more tables on the same page that use other collapsible tables.
above, below
Displayed above or below the body of the template.
groupn
The title of a group.
listn
A list of links for groupn.
abovestyle, belowstyle, bodystyle, groupnstyle, listnstyle
CSS styles to applied to specific section.

* required parameters.

Sample output
{{navbox
|title=Land of Bob
|name = Template:Navbox/doc
|list1=This [[place]] and that [[place]].
}}

Results in...

See also
Wikipedia:Template:Navbox for complete documentation
Template:Navbox subgroup
Template:Navbox with collapsible groups
Template:Navbox with columns

Visit Template:Navbox/doc to edit this text! (How does this work?) (Refresh this text - why?)