Template:Navbar
Documentation
File:Mbox documentationpage.png |
Documentation transcluded
The documentation for this template is transcluded from Template:Navbar/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:
|