Template:Navbox: Difference between revisions
Appearance
mNo edit summary |
mNo edit summary |
||
Line 307: | Line 307: | ||
--><div class="va-navbox-space-v"></div><!-- | --><div class="va-navbox-space-v"></div><!-- | ||
-->{{#if:{{{nestedI|}}}|{{:{{{nestedI}}}|nested}}|{{{nestedplainI}}}}}<!-- | -->{{#if:{{{nestedI|}}}|{{:{{{nestedI}}}|nested}}|{{{nestedplainI}}}}}<!-- | ||
-->|<!-- | -->|<!-- | ||
-->{{Navbox/aux<!-- | -->{{Navbox/aux<!-- | ||
Line 342: | Line 336: | ||
-->|member style={{{styleI|}}}|meta style={{{style|}}}<!-- | -->|member style={{{styleI|}}}|meta style={{{style|}}}<!-- | ||
-->|meta options={{{options|}}}|options={{{optionsI|}}}<!-- | -->|meta options={{{options|}}}|options={{{optionsI|}}}<!-- | ||
-->}}<!-- | |||
-->}}<!-- | |||
-->{{#if:{{{nestedJ|}}}{{{nestedplainJ|}}}|<!-- | |||
--><div class="va-navbox-space-v"></div><!-- | |||
-->{{#if:{{{nestedJ|}}}|{{:{{{nestedJ}}}|nested}}|{{{nestedplainJ}}}}}<!-- | |||
-->|<!-- | |||
-->{{Navbox/aux<!-- | |||
-->|block={{{blockJ|}}}|block meta style={{{style blocks|}}}|block style={{{blockJ style|}}}<!-- | |||
-->|content member style={{{style contentsJ|}}}|content meta style={{{style contents|}}}<!-- | |||
-->|content1={{{contentJ1|}}}|content1 style={{{contentJ1 style|}}}<!-- | |||
-->|content2={{{contentJ2|}}}|content2 style={{{contentJ2 style|}}}<!-- | |||
-->|content3={{{contentJ3|}}}|content3 style={{{contentJ3 style|}}}<!-- | |||
-->|content4={{{contentJ4|}}}|content4 style={{{contentJ4 style|}}}<!-- | |||
-->|content5={{{contentJ5|}}}|content5 style={{{contentJ5 style|}}}<!-- | |||
-->|content6={{{contentJ6|}}}|content6 style={{{contentJ6 style|}}}<!-- | |||
-->|content7={{{contentJ7|}}}|content7 style={{{contentJ7 style|}}}<!-- | |||
-->|content8={{{contentJ8|}}}|content8 style={{{contentJ8 style|}}}<!-- | |||
-->|content9={{{contentJ9|}}}|content9 style={{{contentJ9 style|}}}<!-- | |||
-->|group member style={{{style groupsJ|}}}|group meta style={{{style groups|}}}<!-- | |||
-->|group1={{{groupJ1|}}}|group1 style={{{groupJ1 style|}}}<!-- | |||
-->|group2={{{groupJ2|}}}|group2 style={{{groupJ2 style|}}}<!-- | |||
-->|group3={{{groupJ3|}}}|group3 style={{{groupJ3 style|}}}<!-- | |||
-->|group4={{{groupJ4|}}}|group4 style={{{groupJ4 style|}}}<!-- | |||
-->|group5={{{groupJ5|}}}|group5 style={{{groupJ5 style|}}}<!-- | |||
-->|group6={{{groupJ6|}}}|group6 style={{{groupJ6 style|}}}<!-- | |||
-->|group7={{{groupJ7|}}}|group7 style={{{groupJ7 style|}}}<!-- | |||
-->|group8={{{groupJ8|}}}|group8 style={{{groupJ8 style|}}}<!-- | |||
-->|group9={{{groupJ9|}}}|group9 style={{{groupJ9 style|}}}<!-- | |||
-->|header={{{headerJ|}}}|header meta style={{{style headers|}}}|header style={{{headerJ style|}}}<!-- | |||
-->|image meta style={{{style images|}}}<!-- | |||
-->|image1={{{imageJ|}}}|image1 style={{{imageJ style|}}}<!-- | |||
-->|image2={{{imageleftJ|}}}|image2 style={{{imageleftJ style|}}}<!-- | |||
-->|member style={{{styleJ|}}}|meta style={{{style|}}}<!-- | |||
-->|meta options={{{options|}}}|options={{{optionsJ|}}}<!-- | |||
-->}}<!-- | |||
-->}}<!-- | |||
-->{{#if:{{{nestedK|}}}{{{nestedplainK|}}}|<!-- | |||
--><div class="va-navbox-space-v"></div><!-- | |||
-->{{#if:{{{nestedK|}}}|{{:{{{nestedK}}}|nested}}|{{{nestedplainK}}}}}<!-- | |||
-->|<!-- | |||
-->{{Navbox/aux<!-- | |||
-->|block={{{blockK|}}}|block meta style={{{style blocks|}}}|block style={{{blockK style|}}}<!-- | |||
-->|content member style={{{style contentsK|}}}|content meta style={{{style contents|}}}<!-- | |||
-->|content1={{{contentK1|}}}|content1 style={{{contentK1 style|}}}<!-- | |||
-->|content2={{{contentK2|}}}|content2 style={{{contentK2 style|}}}<!-- | |||
-->|content3={{{contentK3|}}}|content3 style={{{contentK3 style|}}}<!-- | |||
-->|content4={{{contentK4|}}}|content4 style={{{contentK4 style|}}}<!-- | |||
-->|content5={{{contentK5|}}}|content5 style={{{contentK5 style|}}}<!-- | |||
-->|content6={{{contentK6|}}}|content6 style={{{contentK6 style|}}}<!-- | |||
-->|content7={{{contentK7|}}}|content7 style={{{contentK7 style|}}}<!-- | |||
-->|content8={{{contentK8|}}}|content8 style={{{contentK8 style|}}}<!-- | |||
-->|content9={{{contentK9|}}}|content9 style={{{contentK9 style|}}}<!-- | |||
-->|group member style={{{style groupsK|}}}|group meta style={{{style groups|}}}<!-- | |||
-->|group1={{{groupK1|}}}|group1 style={{{groupK1 style|}}}<!-- | |||
-->|group2={{{groupK2|}}}|group2 style={{{groupK2 style|}}}<!-- | |||
-->|group3={{{groupK3|}}}|group3 style={{{groupK3 style|}}}<!-- | |||
-->|group4={{{groupK4|}}}|group4 style={{{groupK4 style|}}}<!-- | |||
-->|group5={{{groupK5|}}}|group5 style={{{groupK5 style|}}}<!-- | |||
-->|group6={{{groupK6|}}}|group6 style={{{groupK6 style|}}}<!-- | |||
-->|group7={{{groupK7|}}}|group7 style={{{groupK7 style|}}}<!-- | |||
-->|group8={{{groupK8|}}}|group8 style={{{groupK8 style|}}}<!-- | |||
-->|group9={{{groupK9|}}}|group9 style={{{groupK9 style|}}}<!-- | |||
-->|header={{{headerK|}}}|header meta style={{{style headers|}}}|header style={{{headerK style|}}}<!-- | |||
-->|image meta style={{{style images|}}}<!-- | |||
-->|image1={{{imageK|}}}|image1 style={{{imageK style|}}}<!-- | |||
-->|image2={{{imageleftK|}}}|image2 style={{{imageleftK style|}}}<!-- | |||
-->|member style={{{styleK|}}}|meta style={{{style|}}}<!-- | |||
-->|meta options={{{options|}}}|options={{{optionsK|}}}<!-- | |||
-->}}<!-- | |||
-->}}<!-- | |||
-->{{#if:{{{nestedL|}}}{{{nestedplainL|}}}|<!-- | |||
--><div class="va-navbox-space-v"></div><!-- | |||
-->{{#if:{{{nestedL|}}}|{{:{{{nestedL}}}|nested}}|{{{nestedplainL}}}}}<!-- | |||
-->|<!-- | |||
-->{{Navbox/aux<!-- | |||
-->|block={{{blockL|}}}|block meta style={{{style blocks|}}}|block style={{{blockL style|}}}<!-- | |||
-->|content member style={{{style contentsL|}}}|content meta style={{{style contents|}}}<!-- | |||
-->|content1={{{contentL1|}}}|content1 style={{{contentL1 style|}}}<!-- | |||
-->|content2={{{contentL2|}}}|content2 style={{{contentL2 style|}}}<!-- | |||
-->|content3={{{contentL3|}}}|content3 style={{{contentL3 style|}}}<!-- | |||
-->|content4={{{contentL4|}}}|content4 style={{{contentL4 style|}}}<!-- | |||
-->|content5={{{contentL5|}}}|content5 style={{{contentL5 style|}}}<!-- | |||
-->|content6={{{contentL6|}}}|content6 style={{{contentL6 style|}}}<!-- | |||
-->|content7={{{contentL7|}}}|content7 style={{{contentL7 style|}}}<!-- | |||
-->|content8={{{contentL8|}}}|content8 style={{{contentL8 style|}}}<!-- | |||
-->|content9={{{contentL9|}}}|content9 style={{{contentL9 style|}}}<!-- | |||
-->|group member style={{{style groupsL|}}}|group meta style={{{style groups|}}}<!-- | |||
-->|group1={{{groupL1|}}}|group1 style={{{groupL1 style|}}}<!-- | |||
-->|group2={{{groupL2|}}}|group2 style={{{groupL2 style|}}}<!-- | |||
-->|group3={{{groupL3|}}}|group3 style={{{groupL3 style|}}}<!-- | |||
-->|group4={{{groupL4|}}}|group4 style={{{groupL4 style|}}}<!-- | |||
-->|group5={{{groupL5|}}}|group5 style={{{groupL5 style|}}}<!-- | |||
-->|group6={{{groupL6|}}}|group6 style={{{groupL6 style|}}}<!-- | |||
-->|group7={{{groupL7|}}}|group7 style={{{groupL7 style|}}}<!-- | |||
-->|group8={{{groupL8|}}}|group8 style={{{groupL8 style|}}}<!-- | |||
-->|group9={{{groupL9|}}}|group9 style={{{groupL9 style|}}}<!-- | |||
-->|header={{{headerL|}}}|header meta style={{{style headers|}}}|header style={{{headerL style|}}}<!-- | |||
-->|image meta style={{{style images|}}}<!-- | |||
-->|image1={{{imageL|}}}|image1 style={{{imageL style|}}}<!-- | |||
-->|image2={{{imageleftL|}}}|image2 style={{{imageleftL style|}}}<!-- | |||
-->|member style={{{styleL|}}}|meta style={{{style|}}}<!-- | |||
-->|meta options={{{options|}}}|options={{{optionsL|}}}<!-- | |||
-->}}<!-- | |||
-->}}<!-- | |||
-->{{#if:{{{nestedM|}}}{{{nestedplainM|}}}|<!-- | |||
--><div class="va-navbox-space-v"></div><!-- | |||
-->{{#if:{{{nestedM|}}}|{{:{{{nestedM}}}|nested}}|{{{nestedplainM}}}}}<!-- | |||
-->|<!-- | |||
-->{{Navbox/aux<!-- | |||
-->|block={{{blockM|}}}|block meta style={{{style blocks|}}}|block style={{{blockM style|}}}<!-- | |||
-->|content member style={{{style contentsM|}}}|content meta style={{{style contents|}}}<!-- | |||
-->|content1={{{contentM1|}}}|content1 style={{{contentM1 style|}}}<!-- | |||
-->|content2={{{contentM2|}}}|content2 style={{{contentM2 style|}}}<!-- | |||
-->|content3={{{contentM3|}}}|content3 style={{{contentM3 style|}}}<!-- | |||
-->|content4={{{contentM4|}}}|content4 style={{{contentM4 style|}}}<!-- | |||
-->|content5={{{contentM5|}}}|content5 style={{{contentM5 style|}}}<!-- | |||
-->|content6={{{contentM6|}}}|content6 style={{{contentM6 style|}}}<!-- | |||
-->|content7={{{contentM7|}}}|content7 style={{{contentM7 style|}}}<!-- | |||
-->|content8={{{contentM8|}}}|content8 style={{{contentM8 style|}}}<!-- | |||
-->|content9={{{contentM9|}}}|content9 style={{{contentM9 style|}}}<!-- | |||
-->|group member style={{{style groupsM|}}}|group meta style={{{style groups|}}}<!-- | |||
-->|group1={{{groupM1|}}}|group1 style={{{groupM1 style|}}}<!-- | |||
-->|group2={{{groupM2|}}}|group2 style={{{groupM2 style|}}}<!-- | |||
-->|group3={{{groupM3|}}}|group3 style={{{groupM3 style|}}}<!-- | |||
-->|group4={{{groupM4|}}}|group4 style={{{groupM4 style|}}}<!-- | |||
-->|group5={{{groupM5|}}}|group5 style={{{groupM5 style|}}}<!-- | |||
-->|group6={{{groupM6|}}}|group6 style={{{groupM6 style|}}}<!-- | |||
-->|group7={{{groupM7|}}}|group7 style={{{groupM7 style|}}}<!-- | |||
-->|group8={{{groupM8|}}}|group8 style={{{groupM8 style|}}}<!-- | |||
-->|group9={{{groupM9|}}}|group9 style={{{groupM9 style|}}}<!-- | |||
-->|header={{{headerM|}}}|header meta style={{{style headers|}}}|header style={{{headerM style|}}}<!-- | |||
-->|image meta style={{{style images|}}}<!-- | |||
-->|image1={{{imageM|}}}|image1 style={{{imageM style|}}}<!-- | |||
-->|image2={{{imageleftM|}}}|image2 style={{{imageleftM style|}}}<!-- | |||
-->|member style={{{styleM|}}}|meta style={{{style|}}}<!-- | |||
-->|meta options={{{options|}}}|options={{{optionsM|}}}<!-- | |||
-->}}<!-- | |||
-->}}<!-- | |||
-->{{#if:{{{nestedN|}}}{{{nestedplainN|}}}|<!-- | |||
--><div class="va-navbox-space-v"></div><!-- | |||
-->{{#if:{{{nestedN|}}}|{{:{{{nestedN}}}|nested}}|{{{nestedplainN}}}}}<!-- | |||
-->|<!-- | |||
-->{{Navbox/aux<!-- | |||
-->|block={{{blockN|}}}|block meta style={{{style blocks|}}}|block style={{{blockN style|}}}<!-- | |||
-->|content member style={{{style contentsN|}}}|content meta style={{{style contents|}}}<!-- | |||
-->|content1={{{contentN1|}}}|content1 style={{{contentN1 style|}}}<!-- | |||
-->|content2={{{contentN2|}}}|content2 style={{{contentN2 style|}}}<!-- | |||
-->|content3={{{contentN3|}}}|content3 style={{{contentN3 style|}}}<!-- | |||
-->|content4={{{contentN4|}}}|content4 style={{{contentN4 style|}}}<!-- | |||
-->|content5={{{contentN5|}}}|content5 style={{{contentN5 style|}}}<!-- | |||
-->|content6={{{contentN6|}}}|content6 style={{{contentN6 style|}}}<!-- | |||
-->|content7={{{contentN7|}}}|content7 style={{{contentN7 style|}}}<!-- | |||
-->|content8={{{contentN8|}}}|content8 style={{{contentN8 style|}}}<!-- | |||
-->|content9={{{contentN9|}}}|content9 style={{{contentN9 style|}}}<!-- | |||
-->|group member style={{{style groupsN|}}}|group meta style={{{style groups|}}}<!-- | |||
-->|group1={{{groupN1|}}}|group1 style={{{groupN1 style|}}}<!-- | |||
-->|group2={{{groupN2|}}}|group2 style={{{groupN2 style|}}}<!-- | |||
-->|group3={{{groupN3|}}}|group3 style={{{groupN3 style|}}}<!-- | |||
-->|group4={{{groupN4|}}}|group4 style={{{groupN4 style|}}}<!-- | |||
-->|group5={{{groupN5|}}}|group5 style={{{groupN5 style|}}}<!-- | |||
-->|group6={{{groupN6|}}}|group6 style={{{groupN6 style|}}}<!-- | |||
-->|group7={{{groupN7|}}}|group7 style={{{groupN7 style|}}}<!-- | |||
-->|group8={{{groupN8|}}}|group8 style={{{groupN8 style|}}}<!-- | |||
-->|group9={{{groupN9|}}}|group9 style={{{groupN9 style|}}}<!-- | |||
-->|header={{{headerN|}}}|header meta style={{{style headers|}}}|header style={{{headerN style|}}}<!-- | |||
-->|image meta style={{{style images|}}}<!-- | |||
-->|image1={{{imageN|}}}|image1 style={{{imageN style|}}}<!-- | |||
-->|image2={{{imageleftN|}}}|image2 style={{{imageleftN style|}}}<!-- | |||
-->|member style={{{styleN|}}}|meta style={{{style|}}}<!-- | |||
-->|meta options={{{options|}}}|options={{{optionsN|}}}<!-- | |||
-->}}<!-- | |||
-->}}<!-- | |||
-->{{#if:{{{nestedO|}}}{{{nestedplainO|}}}|<!-- | |||
--><div class="va-navbox-space-v"></div><!-- | |||
-->{{#if:{{{nestedO|}}}|{{:{{{nestedO}}}|nested}}|{{{nestedplainO}}}}}<!-- | |||
-->{{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={{{blockO|}}}|block meta style={{{style blocks|}}}|block style={{{blockO style|}}}<!-- | |||
-->|content member style={{{style contentsO|}}}|content meta style={{{style contents|}}}<!-- | |||
-->|content1={{{contentO1|}}}|content1 style={{{contentO1 style|}}}<!-- | |||
-->|content2={{{contentO2|}}}|content2 style={{{contentO2 style|}}}<!-- | |||
-->|content3={{{contentO3|}}}|content3 style={{{contentO3 style|}}}<!-- | |||
-->|content4={{{contentO4|}}}|content4 style={{{contentO4 style|}}}<!-- | |||
-->|content5={{{contentO5|}}}|content5 style={{{contentO5 style|}}}<!-- | |||
-->|content6={{{contentO6|}}}|content6 style={{{contentO6 style|}}}<!-- | |||
-->|content7={{{contentO7|}}}|content7 style={{{contentO7 style|}}}<!-- | |||
-->|content8={{{contentO8|}}}|content8 style={{{contentO8 style|}}}<!-- | |||
-->|content9={{{contentO9|}}}|content9 style={{{contentO9 style|}}}<!-- | |||
-->|group member style={{{style groupsO|}}}|group meta style={{{style groups|}}}<!-- | |||
-->|group1={{{groupO1|}}}|group1 style={{{groupO1 style|}}}<!-- | |||
-->|group2={{{groupO2|}}}|group2 style={{{groupO2 style|}}}<!-- | |||
-->|group3={{{groupO3|}}}|group3 style={{{groupO3 style|}}}<!-- | |||
-->|group4={{{groupO4|}}}|group4 style={{{groupO4 style|}}}<!-- | |||
-->|group5={{{groupO5|}}}|group5 style={{{groupO5 style|}}}<!-- | |||
-->|group6={{{groupO6|}}}|group6 style={{{groupO6 style|}}}<!-- | |||
-->|group7={{{groupO7|}}}|group7 style={{{groupO7 style|}}}<!-- | |||
-->|group8={{{groupO8|}}}|group8 style={{{groupO8 style|}}}<!-- | |||
-->|group9={{{groupO9|}}}|group9 style={{{groupO9 style|}}}<!-- | |||
-->|header={{{headerO|}}}|header meta style={{{style headers|}}}|header style={{{headerO style|}}}<!-- | |||
-->|image meta style={{{style images|}}}<!-- | |||
-->|image1={{{imageO|}}}|image1 style={{{imageO style|}}}<!-- | |||
-->|image2={{{imageleftO|}}}|image2 style={{{imageleftO style|}}}<!-- | |||
-->|member style={{{styleO|}}}|meta style={{{style|}}}<!-- | |||
-->|meta options={{{options|}}}|options={{{optionsO|}}}<!-- | |||
-->|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 14:55, 4 October 2018
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/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. |