Template:Navbox: Difference between revisions
Appearance
No edit summary |
Added block R |
||
Line 634: | Line 634: | ||
-->|member style={{{styleQ|}}}|meta style={{{style|}}}<!-- | -->|member style={{{styleQ|}}}|meta style={{{style|}}}<!-- | ||
-->|meta options={{{options|}}}|options={{{optionsQ|}}}<!-- | -->|meta options={{{options|}}}|options={{{optionsQ|}}}<!-- | ||
-->}}<!-- | |||
-->}}<!-- | |||
-->{{#if:{{{nestedR|}}}{{{nestedplainR|}}}|<!-- | |||
--><div class="va-navbox-space-v"></div><!-- | |||
-->{{#if:{{{nestedR|}}}|{{:{{{nestedR}}}|nested}}|{{{nestedplainR}}}}}<!-- | |||
-->{{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={{{blockR|}}}|block meta style={{{style blocks|}}}|block style={{{blockR style|}}}<!-- | |||
-->|content member style={{{style contentsR|}}}|content meta style={{{style contents|}}}<!-- | |||
-->|content1={{{contentR1|}}}|content1 style={{{contentR1 style|}}}<!-- | |||
-->|content2={{{contentR2|}}}|content2 style={{{contentR2 style|}}}<!-- | |||
-->|content3={{{contentR3|}}}|content3 style={{{contentR3 style|}}}<!-- | |||
-->|content4={{{contentR4|}}}|content4 style={{{contentR4 style|}}}<!-- | |||
-->|content5={{{contentR5|}}}|content5 style={{{contentR5 style|}}}<!-- | |||
-->|content6={{{contentR6|}}}|content6 style={{{contentR6 style|}}}<!-- | |||
-->|content7={{{contentR7|}}}|content7 style={{{contentR7 style|}}}<!-- | |||
-->|content8={{{contentR8|}}}|content8 style={{{contentR8 style|}}}<!-- | |||
-->|content9={{{contentR9|}}}|content9 style={{{contentR9 style|}}}<!-- | |||
-->|group member style={{{style groupsR|}}}|group meta style={{{style groups|}}}<!-- | |||
-->|group1={{{groupR1|}}}|group1 style={{{groupR1 style|}}}<!-- | |||
-->|group2={{{groupR2|}}}|group2 style={{{groupR2 style|}}}<!-- | |||
-->|group3={{{groupR3|}}}|group3 style={{{groupR3 style|}}}<!-- | |||
-->|group4={{{groupR4|}}}|group4 style={{{groupR4 style|}}}<!-- | |||
-->|group5={{{groupR5|}}}|group5 style={{{groupR5 style|}}}<!-- | |||
-->|group6={{{groupR6|}}}|group6 style={{{groupR6 style|}}}<!-- | |||
-->|group7={{{groupR7|}}}|group7 style={{{groupR7 style|}}}<!-- | |||
-->|group8={{{groupR8|}}}|group8 style={{{groupR8 style|}}}<!-- | |||
-->|group9={{{groupR9|}}}|group9 style={{{groupR9 style|}}}<!-- | |||
-->|header={{{headerR|}}}|header meta style={{{style headers|}}}|header style={{{headerR style|}}}<!-- | |||
-->|image meta style={{{style images|}}}<!-- | |||
-->|image1={{{imageR|}}}|image1 style={{{imageR style|}}}<!-- | |||
-->|image2={{{imageleftR|}}}|image2 style={{{imageleftR style|}}}<!-- | |||
-->|member style={{{styleR|}}}|meta style={{{style|}}}<!-- | |||
-->|meta options={{{options|}}}|options={{{optionsR|}}}<!-- | |||
-->|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 13:00, 23 August 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/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. |