Template:Navbox: Difference between revisions
Appearance
Added block R |
Added S |
||
Line 675: | Line 675: | ||
-->|member style={{{styleR|}}}|meta style={{{style|}}}<!-- | -->|member style={{{styleR|}}}|meta style={{{style|}}}<!-- | ||
-->|meta options={{{options|}}}|options={{{optionsR|}}}<!-- | -->|meta options={{{options|}}}|options={{{optionsR|}}}<!-- | ||
-->}}<!-- | |||
-->}}<!-- | |||
-->{{#if:{{{nestedS|}}}{{{nestedplainS|}}}|<!-- | |||
--><div class="va-navbox-space-v"></div><!-- | |||
-->{{#if:{{{nestedS|}}}|{{:{{{nestedS}}}|nested}}|{{{nestedplainS}}}}}<!-- | |||
-->{{Navbox/aux<!-- | |||
-->|image meta style={{{style images|}}}<!-- | |||
-->|flags=omega<!-- | |||
-->|meta colcount={{#expr:1{{#if:{{{image|}}}|+2}}{{#if:{{{imageleft|}}}|+2}}}}<!-- | |||
-->|sideimage1={{{image|}}}|sideimage1 style={{{image style|}}}<!-- | |||
-->}}<!-- | |||
-->|<!-- | |||
-->{{Navbox/aux<!-- | |||
-->|block={{{blockS|}}}|block meta style={{{style blocks|}}}|block style={{{blockS style|}}}<!-- | |||
-->|content member style={{{style contentsS|}}}|content meta style={{{style contents|}}}<!-- | |||
-->|content1={{{contentS1|}}}|content1 style={{{contentS1 style|}}}<!-- | |||
-->|content2={{{contentS2|}}}|content2 style={{{contentS2 style|}}}<!-- | |||
-->|content3={{{contentS3|}}}|content3 style={{{contentS3 style|}}}<!-- | |||
-->|content4={{{contentS4|}}}|content4 style={{{contentS4 style|}}}<!-- | |||
-->|content5={{{contentS5|}}}|content5 style={{{contentS5 style|}}}<!-- | |||
-->|content6={{{contentS6|}}}|content6 style={{{contentS6 style|}}}<!-- | |||
-->|content7={{{contentS7|}}}|content7 style={{{contentS7 style|}}}<!-- | |||
-->|content8={{{contentS8|}}}|content8 style={{{contentS8 style|}}}<!-- | |||
-->|content9={{{contentS9|}}}|content9 style={{{contentS9 style|}}}<!-- | |||
-->|group member style={{{style groupsS|}}}|group meta style={{{style groups|}}}<!-- | |||
-->|group1={{{groupS1|}}}|group1 style={{{groupS1 style|}}}<!-- | |||
-->|group2={{{groupS2|}}}|group2 style={{{groupS2 style|}}}<!-- | |||
-->|group3={{{groupS3|}}}|group3 style={{{groupS3 style|}}}<!-- | |||
-->|group4={{{groupS4|}}}|group4 style={{{groupS4 style|}}}<!-- | |||
-->|group5={{{groupS5|}}}|group5 style={{{groupS5 style|}}}<!-- | |||
-->|group6={{{groupS6|}}}|group6 style={{{groupS6 style|}}}<!-- | |||
-->|group7={{{groupS7|}}}|group7 style={{{groupS7 style|}}}<!-- | |||
-->|group8={{{groupS8|}}}|group8 style={{{groupS8 style|}}}<!-- | |||
-->|group9={{{groupS9|}}}|group9 style={{{groupS9 style|}}}<!-- | |||
-->|header={{{headerS|}}}|header meta style={{{style headers|}}}|header style={{{headerS style|}}}<!-- | |||
-->|image meta style={{{style images|}}}<!-- | |||
-->|image1={{{imageS|}}}|image1 style={{{imageS style|}}}<!-- | |||
-->|image2={{{imageleftS|}}}|image2 style={{{imageleftS style|}}}<!-- | |||
-->|member style={{{styleS|}}}|meta style={{{style|}}}<!-- | |||
-->|meta options={{{options|}}}|options={{{optionsS|}}}<!-- | |||
-->|flags=omega<!-- | -->|flags=omega<!-- | ||
-->|meta colcount={{#expr:1{{#if:{{{image|}}}|+2}}{{#if:{{{imageleft|}}}|+2}}}}<!-- | -->|meta colcount={{#expr:1{{#if:{{{image|}}}|+2}}{{#if:{{{imageleft|}}}|+2}}}}<!-- |
Revision as of 20:59, 28 September 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/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. |