Template:Navbox/doc: Difference between revisions

From The Sims Wiki, a collaborative database for The Sims series
Jump to navigation Jump to search
Content added Content deleted
sims>A morris
(updating w/ new params)
sims>A morris
mNo edit summary
Line 39: Line 39:
|body=This <nowiki>[[place]]</nowiki> and that <nowiki>[[place]]</nowiki>.
|body=This <nowiki>[[place]]</nowiki> and that <nowiki>[[place]]</nowiki>.
}}
}}

;See also
:[[Template:Navbox subgroup]]
:[[Template:Navbox with collapsible groups]]
:[[Template:Navbox with columns]]


<includeonly>[[Category:Navigation templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
<includeonly>[[Category:Navigation templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>

Revision as of 06:18, 17 February 2011

Description
This template is used to create a basic navbox.
Syntax
{{navbox|<...>}}.
Parameters
header*
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 uncollapsed.
body
The body of a simple the navigation template.
above, below
Displayed above or below the body of the template.
groupn
The title of a group.
groupnstate
The collapse state of a group. Default is collapsed.
listn
A list of links for groupn.
abovestyle, belowstyle, bodystyle, groupnstyle, listnstyle
CSS styles to applied to specific section.

* required parameters. n = 1-6

Sample output
{{navbox
|header=Land of Bob
|name = Template:This_template
|body=This [[place]] and that [[place]].
}}

Results in...

See also
Template:Navbox subgroup
Template:Navbox with collapsible groups
Template:Navbox with columns