Template:Navbox/doc

From The Sims Wiki, a collaborative database for The Sims series
This is the current revision of this page, as edited by K6ka (talk | contribs) at 15:21, 27 February 2019 (10 revisions imported: Import from https://sims.wikia.com). The present address (URL) is a permanent link to this version.
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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