Template:Navbox: Difference between revisions
Jump to navigation
Jump to search
Want an adless experience? Log in or Create an account.
mNo edit summary |
m (updated doc) |
||
Line 25: | Line 25: | ||
{{Clear|left}} | {{Clear|left}} | ||
<code><nowiki>{{Navbox}}</nowiki></code> and <code><nowiki>{{Navbox/Bottom}}</nowiki></code> are required. Between them, place any number of <code><nowiki>{{Navbox/Header}}</nowiki></code>s and <code><nowiki>{{Navbox/Row}}</nowiki></code>s in any order. | <code><nowiki>{{Navbox}}</nowiki></code> and <code><nowiki>{{Navbox/Bottom}}</nowiki></code> are required. Between them, place any number of <code><nowiki>{{Navbox/Header}}</nowiki></code>s and <code><nowiki>{{Navbox/Row}}</nowiki></code>s in any order. | ||
Any Navbox after the third one on a page is hidden by default, but they can be force to be shown or hidden by specifying "hide=false" or "hide=true", respectively. | |||
{{Cat|Formatting Templates}} | {{Cat|Formatting Templates}} | ||
{{Cat|Navbox Templates}} | {{Cat|Navbox Templates}} |
Revision as of 21:25, February 12, 2013
Purpose
This meta-template is used to more easily create navigation footers.
Usage
This template is used as a composite of several subtemplates. Start with the code:
{{Navbox|title}} {{Navbox/Header|header}} {{Navbox/Row|section|content}} {{Navbox/Bottom}}
- title — The title that appears at the top of the navbox.
- header — A header inside the navbox, spanning across the width.
- section — A label for the section/row. (Optional.)
- content — The content of the row, usually a list of links.
{{Navbox}}
and {{Navbox/Bottom}}
are required. Between them, place any number of {{Navbox/Header}}
s and {{Navbox/Row}}
s in any order.
Any Navbox after the third one on a page is hidden by default, but they can be force to be shown or hidden by specifying "hide=false" or "hide=true", respectively.