Template:Navbox: Difference between revisions
Appearance
m Reverted edits by Procrastinatingonhw (talk) to last version by Kaede Yume |
mNo edit summary |
||
Line 272: | Line 272: | ||
--><div class="va-navbox-space-v"></div><!-- | --><div class="va-navbox-space-v"></div><!-- | ||
-->{{#if:{{{nestedH|}}}|{{:{{{nestedH}}}|nested}}|{{{nestedplainH}}}}}<!-- | -->{{#if:{{{nestedH|}}}|{{:{{{nestedH}}}|nested}}|{{{nestedplainH}}}}}<!-- | ||
-->|<!-- | -->|<!-- | ||
-->{{Navbox/aux<!-- | -->{{Navbox/aux<!-- | ||
Line 307: | Line 301: | ||
-->|member style={{{styleH|}}}|meta style={{{style|}}}<!-- | -->|member style={{{styleH|}}}|meta style={{{style|}}}<!-- | ||
-->|meta options={{{options|}}}|options={{{optionsH|}}}<!-- | -->|meta options={{{options|}}}|options={{{optionsH|}}}<!-- | ||
-->}}<!-- | |||
-->}}<!-- | |||
-->{{#if:{{{nestedI|}}}{{{nestedplainI|}}}|<!-- | |||
--><div class="va-navbox-space-v"></div><!-- | |||
-->{{#if:{{{nestedI|}}}|{{:{{{nestedI}}}|nested}}|{{{nestedplainI}}}}}<!-- | |||
-->{{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={{{blockI|}}}|block meta style={{{style blocks|}}}|block style={{{blockI style|}}}<!-- | |||
-->|content member style={{{style contentsI|}}}|content meta style={{{style contents|}}}<!-- | |||
-->|content1={{{contentI1|}}}|content1 style={{{contentI1 style|}}}<!-- | |||
-->|content2={{{contentI2|}}}|content2 style={{{contentI2 style|}}}<!-- | |||
-->|content3={{{contentI3|}}}|content3 style={{{contentI3 style|}}}<!-- | |||
-->|content4={{{contentI4|}}}|content4 style={{{contentI4 style|}}}<!-- | |||
-->|content5={{{contentI5|}}}|content5 style={{{contentI5 style|}}}<!-- | |||
-->|content6={{{contentI6|}}}|content6 style={{{contentI6 style|}}}<!-- | |||
-->|content7={{{contentI7|}}}|content7 style={{{contentI7 style|}}}<!-- | |||
-->|content8={{{contentI8|}}}|content8 style={{{contentI8 style|}}}<!-- | |||
-->|content9={{{contentI9|}}}|content9 style={{{contentI9 style|}}}<!-- | |||
-->|group member style={{{style groupsI|}}}|group meta style={{{style groups|}}}<!-- | |||
-->|group1={{{groupI1|}}}|group1 style={{{groupI1 style|}}}<!-- | |||
-->|group2={{{groupI2|}}}|group2 style={{{groupI2 style|}}}<!-- | |||
-->|group3={{{groupI3|}}}|group3 style={{{groupI3 style|}}}<!-- | |||
-->|group4={{{groupI4|}}}|group4 style={{{groupI4 style|}}}<!-- | |||
-->|group5={{{groupI5|}}}|group5 style={{{groupI5 style|}}}<!-- | |||
-->|group6={{{groupI6|}}}|group6 style={{{groupI6 style|}}}<!-- | |||
-->|group7={{{groupI7|}}}|group7 style={{{groupI7 style|}}}<!-- | |||
-->|group8={{{groupI8|}}}|group8 style={{{groupI8 style|}}}<!-- | |||
-->|group9={{{groupI9|}}}|group9 style={{{groupI9 style|}}}<!-- | |||
-->|header={{{headerI|}}}|header meta style={{{style headers|}}}|header style={{{headerI style|}}}<!-- | |||
-->|image meta style={{{style images|}}}<!-- | |||
-->|image1={{{imageI|}}}|image1 style={{{imageI style|}}}<!-- | |||
-->|image2={{{imageleftI|}}}|image2 style={{{imageleftI style|}}}<!-- | |||
-->|member style={{{styleI|}}}|meta style={{{style|}}}<!-- | |||
-->|meta options={{{options|}}}|options={{{optionsI|}}}<!-- | |||
-->|flags=omega<!-- | -->|flags=omega<!-- | ||
-->|meta colcount={{#expr:1{{#if:{{{image|}}}|+2}}{{#if:{{{imageleft|}}}|+2}}}}<!-- | -->|meta colcount={{#expr:1{{#if:{{{image|}}}|+2}}{{#if:{{{imageleft|}}}|+2}}}}<!-- | ||
Line 312: | Line 347: | ||
-->}}<!-- | -->}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#if:{{{footer|}}}|<!-- | -->{{#if:{{{footer|}}}|<!-- |
Revision as of 14:22, 4 October 2018
Template:Navbox/auxTemplate:Navbox/auxTemplate:Navbox/auxTemplate:Navbox/auxTemplate:Navbox/auxTemplate:Navbox/auxTemplate:Navbox/auxTemplate:Navbox/auxTemplate:Navbox/aux |
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/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. |