Template:Navbox/doc: Difference between revisions
No edit summary |
|||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{dochead}}{{wikipedia | {{dochead|header=metatemplate}}{{wikipedia}} | ||
'''Template:Navbox''' is intended as a meta-template (a template used to construct other templates), used to build {{w|WP:NAV|navigational templates}}. This can be used directly, or by using its corresponding module, [[Module:Navbox]]. | '''Template:Navbox''' is intended as a meta-template (a template used to construct other templates), used to build {{w|WP:NAV|navigational templates}}. This can be used directly, or by using its corresponding module, [[Module:Navbox]]. | ||
== Parameters == | == Parameters == | ||
; <code>Title</code> (recommended; default <code>Navbox Title</code>) | ; <code>Title</code> (recommended; default <code>Navbox Title</code>) | ||
: The title text. | : The title text. | ||
| Line 26: | Line 23: | ||
; <code>Navbox Type</code> (optional; default <code>Normal</code>) | ; <code>Navbox Type</code> (optional; default <code>Normal</code>) | ||
: Denotes what type the navbox is. <code>Normal</code> is a normal or top-level navbox; <code>Nested</code> denotes a nested navbox, with the same options as the top-level navbox; <code>Subheader</code> denotes a navbox whose use is to serve as subcategories (sub-rows) for one row. | : Denotes what type the navbox is. <code>Normal</code> is a normal or top-level navbox; <code>Nested</code> denotes a nested navbox, with the same options as the top-level navbox; <code>Subheader</code> denotes a navbox whose use is to serve as subcategories (sub-rows) for one row. | ||
; <code>name</code> (optional) | |||
: The template's name, needed to create its view/talk/edit links. | |||
=== See also === | === See also === | ||
* [[:Category:Navboxes]] – templates that use this template. | * [[:Category:Navboxes]] – templates that use this template. | ||