Template:Navbox/doc: Difference between revisions
TeslaRaptor (talk | contribs) m (5 revisions) |
(No difference)
|
Revision as of 19:35, 6 July 2009
Template:Documentationpage 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:
|