Template:Navbox: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
Line 576: | Line 576: | ||
-->|content7={{{contentP7|}}}|content7 style={{{contentP7 style|}}}<!-- | -->|content7={{{contentP7|}}}|content7 style={{{contentP7 style|}}}<!-- | ||
-->|content8={{{contentP8|}}}|content8 style={{{contentP8 style|}}}<!-- | -->|content8={{{contentP8|}}}|content8 style={{{contentP8 style|}}}<!-- | ||
-->|content9={{{contentP9|}}}|content9 style={{{contentP9 style|}}}<!-- | |||
-->|group member style={{{style groupsP|}}}|group meta style={{{style groups|}}}<!-- | -->|group member style={{{style groupsP|}}}|group meta style={{{style groups|}}}<!-- | ||
-->|group1={{{groupP1|}}}|group1 style={{{groupP1 style|}}}<!-- | -->|group1={{{groupP1|}}}|group1 style={{{groupP1 style|}}}<!-- | ||
Line 616: | Line 617: | ||
-->|content7={{{contentQ7|}}}|content7 style={{{contentQ7 style|}}}<!-- | -->|content7={{{contentQ7|}}}|content7 style={{{contentQ7 style|}}}<!-- | ||
-->|content8={{{contentQ8|}}}|content8 style={{{contentQ8 style|}}}<!-- | -->|content8={{{contentQ8|}}}|content8 style={{{contentQ8 style|}}}<!-- | ||
-->|content9={{{contentQ9|}}}|content9 style={{{contentQ9 style|}}}<!-- | |||
-->|group member style={{{style groupsQ|}}}|group meta style={{{style groups|}}}<!-- | -->|group member style={{{style groupsQ|}}}|group meta style={{{style groups|}}}<!-- | ||
-->|group1={{{groupQ1|}}}|group1 style={{{groupQ1 style|}}}<!-- | -->|group1={{{groupQ1|}}}|group1 style={{{groupQ1 style|}}}<!-- |
Revision as of 18:06, 18 May 2022
Description
This template should be used in navbox templates, which should be included at the bottom of each page that is linked in the template.
Usage
Parameter(s) | Usage | Default value(s) |
---|---|---|
{{{title}}} | Sets the title used at the top of the navbox. | {{{title}}} |
{{{state}}} | Allows you to change the collapsing state of the table. More info. Collapsed is removed while on pages in the Template namespace, to make editing easier. | collapsible |
{{{titlestyle}}} | Allows custom styling for the title area | None |
{{{bodystyle}}} | Allows custom styling for the body area | None |
{{{groupstyle}}} | Allows custom styling for the group area | None |
{{{liststyle}}} | Allows custom styling for the list area | None |
{{{group1-unlimited}}} | Adds the heading for the group number specified | {{{group1}}} = {{{group1}}} {{{group2-unlimited}}} = None |
{{{list1-unlimited}}} | Adds text for the list number specified | {{{list1}}} = {{{list1}}} {{{list2-unlimited}}} = None |
Sample output
{{Navbox | name = Navbox Name | title = Navbox Title | bodyclass = hlist | group1 = Group 1 | list1 = List 1 | group2 = Group 2 | list2 = {{Navbox|child | group1 = Group 2.1 | list1 = List 2.1 | group2 = Group 2.2 | list2 = {{Navbox|child | group1 = Group 2.2.1 | list1 = List 2.2.1 | group2 = Group 2.2.2 | list2 = List 2.2.2 }} | group3 = Group 2.3 | list3 = List 2.3 }} | group3 = Group 3 | list3 = * List 3 * List * List }}
Template:Navbox/auxTemplate:Navbox/auxTemplate:Navbox/auxTemplate:Navbox/auxTemplate:Navbox/auxTemplate:Navbox/auxTemplate:Navbox/auxTemplate:Navbox/auxTemplate:Navbox/auxTemplate:Navbox/auxTemplate:Navbox/auxTemplate:Navbox/auxTemplate:Navbox/auxTemplate:Navbox/auxTemplate:Navbox/auxTemplate:Navbox/auxTemplate:Navbox/aux |
See also
- Template:Navbox on Wikipedia
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. |