Template:Navbox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 1: | Line 1: | ||
!-- | <!-- | ||
Please do not edit without discussion first as this is a VERY complex template. | Please do not edit without discussion first as this is a VERY complex template. | ||
Line 285: | Line 285: | ||
|plainlist | |plainlist | ||
|hlist | |hlist | ||
|hlist hnum | |||
|hlist vcard | |hlist vcard | ||
|vcard hlist = | |vcard hlist = | ||
Line 290: | Line 291: | ||
|plainlist | |plainlist | ||
|hlist | |hlist | ||
|hlist hnum | |||
|hlist vcard | |hlist vcard | ||
|vcard hlist = | |vcard hlist = | ||
Line 296: | Line 298: | ||
}} | }} | ||
}} | }} | ||
}}}}}} | }}}}}}<!-- | ||
-->{{#ifeq:{{NAMESPACE}}|{{ns:10}}|{{#switch:{{lc:{{SUBPAGENAME}}}} | |||
|sandbox | |||
|testcases = | |||
|#default = {{#switch:{{{liststyle|}}} | |||
|padding: 0.25em 0; line-height: 1.3em; | |||
|padding:0.25em 0; line-height:1.4em; width:auto; | |||
|padding:0.4em 0; line-height:1.4em; = [[Category:Navigational boxes with custom list spacing]] | |||
|#default = | |||
}} | |||
}}}}<includeonly>{{template other|{{#if:{{{titlestyle|}}}{{{groupstyle|}}}|[[Category:Navboxes using background colours]]}}}}</includeonly><noinclude>{{documentation}}<!-- Add categories and interwikis to the /doc sub-page --></noinclude> |
Latest revision as of 00:46, 4 August 2013
This template allows a navigational template to be set up relatively quickly by supplying it with one or more lists of links. It comes equipped with default styles that should work for most navigational templates. Changing the default styles is possible, but not recommended. Using this template, or one of its "Navbox suite" sister templates, is highly recommended for standardization of navigational templates, and for ease of use.
Usage
Please remove the parameters that are left blank.
{{Navbox | name = {{subst:PAGENAME}} | listclass = hlist | state = {{{state|}}} | title = | above = | image = | group1 = | list1 = | group2 = | list2 = ... | group20 = | list20 = | below = }}
Parameter list
|
The above documentation is transcluded from Template:Navbox/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |