Template:Navbox: Difference between revisions
TeslaRaptor (talk | contribs) m (1 revision) |
TeslaRaptor (talk | contribs) m (17 revisions) |
(2 intermediate revisions by the same user not shown) | |
(No difference)
|
Revision as of 19:10, 6 July 2009
Name? | |||
---|---|---|---|
|
Documentation
File:Mbox documentationpage.png |
Documentation transcluded
The documentation for this template is transcluded from Template:Navbox/doc.
To edit it, please edit the transcluded page.
|
Template for creating simple navboxes. Navboxes created with this template auto-collapse if there are more than 2 on a page (see Template:Nb main).
Usage
{{navbox |name=Template name (without "Template:" prefix); you can use {{subst:PAGENAME}} |title=Title of your navbox |content=Content of your navbox Optional: |footer=Content of footer, if needed |contentalign=different text-alignment for content row (left/right/center) if desired; centered by default |footeralign=different text-alignment for footer (left/right/center) if desired; centered by default }}
Examples
{{navbox |name={{subst:PAGENAME}} |title=Example navbox |content=Example content }}
results in:
|
{{navbox |name={{subst:PAGENAME}} |title=Example navbox |content=Example content |footer=Example footer }}
results in:
|
All options
{{navbox |name={{subst:PAGENAME}} |title=Example navbox |contentalign=right |footeralign=left |content=Example content |footer=Example footer }}
results in:
|