Template:Navbox: Difference between revisions

From Destinypedia, the Destiny wiki

No edit summary
No edit summary
 
(39 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=|none=|#default=<nowiki/>
<includeonly>{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=|none=|#default=<nowiki/>
{{{!}} class="navbox" cellspacing="0" style="{{{bodystyle|}}};{{{style|}}}"
{{{!}} class="navbox {{#if:{{{style|}}}||default}}" cellspacing="0" style="{{{bodystyle|}}};{{{style|}}}"
{{!}}-
{{!}}-
{{!}} style="padding:2px;" {{!}} }}
{{!}} style="padding:2px" {{!}} }}
{{{!}} cellspacing="0" class="nowraplinks {{#if:{{{title|}}}|{{#switch:{{{state|}}}|plain|off=|#default=mw-collapsible {{#ifeq:{{{state|}}}|collapsed|mw-collapsed|{{{state|}}}}}}}}} {{#switch:{{{border|{{{1|}}}}}}|subgroup|child|none=navbox-subgroup" style="width:100%;{{{bodystyle|}}};{{{style|}}}|#default=" style="width:100%;background:transparent;color:inherit}};{{{innerstyle|}}};" <!--
{{{!}} cellspacing="0" class="nowraplinks {{#if:{{{title|}}}|{{#switch:{{{state|}}}|plain|off=|open|show=mw-collapsible|auto|autocollapse=mw-collapsible autocollapse|#default=mw-collapsible mw-collapsed}}}} {{#switch:{{{border|{{{1|}}}}}}|subgroup|child|none=navbox-subgroup" style="width:100%;{{{bodystyle|}}};{{{style|}}}|#default=" style="width:100%;background:transparent;color:inherit}};{{{innerstyle|}}}" <!--
 
--- Title and navbar ---
 
---Title and Navbar---
-->{{#if:{{{title|}}}|<nowiki/>
-->{{#if:{{{title|}}}|<nowiki/>
{{!}}- {{#if:{{{titlegroup|}}}|<nowiki/>
{{!}}- {{#if:{{{titlegroup|}}}|<nowiki/>
{{!}} class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{titlegroupstyle|}}}" {{!}} {{{titlegroup|}}}
{{!}} class="navbox-group {{#if:{{{groupstyle|}}}||default}}" style="{{{basestyle|}}};{{{groupstyle|}}};{{{titlegroupstyle|}}}" {{!}} {{{titlegroup|}}}
! style="border-left:2px solid #fdfdfd;width:100%;|<nowiki/>
! style="border-left:2px solid transparent;width:100%;|<nowiki/>
! style="}}{{{basestyle|}}};{{{titlestyle|}}}" colspan={{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}{{#if:{{{titlegroup|}}}|-1}}}} class="navbox-title {{#if:{{{titleclass|}}}|{{{titleclass}}}}}" {{!}} {{#if:{{#switch:{{{navbar|}}}|plain|off=1}} {{#if:{{{name|}}}||{{#switch:{{{border|{{{1|}}}}}}|subgroup|child|none=1}}}}| {{#ifeq:{{{navbar|}}}|off|{{#ifeq:{{{state|}}}|plain|<div style="float:right;width:6em;">&nbsp;</div>}}| {{#ifeq:{{{state|}}}|plain||<div style="float:left; width:6em;text-align:left;">&nbsp;</div>}}}}| <div style="float:left; width:6em;text-align:left;"> {{Tnavbar|{{{name}}}|fontstyle={{{basestyle|}}};{{{titlestyle|}}};border:none;|mini=1}} </div>{{#ifeq:{{{state|}}}|plain|<div style="float:right;width:6em;">&nbsp;</div>}}}} <span style="font-size:{{#switch:{{{border|{{{1|}}}}}}|subgroup|child|none=100|#default=110}}%;"> {{{title}}}</span> }}<!--
! style="}}{{{basestyle|}}};{{{titlestyle|}}}" colspan="{{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}{{#if:{{{titlegroup|}}}|-1}}}}" class="navbox-title {{#if:{{{titlestyle|}}}||default}}" {{!}} {{#if:{{#switch:{{{navbar|}}}|plain|off=1}} {{#if:{{{name|}}}||{{#switch:{{{border|{{{1|}}}}}}|subgroup|child|none=1}}}}| {{#ifeq:{{{navbar|}}}|off|{{#ifeq:{{{state|}}}|plain|<div class="nomobile navspace-big" style="float:right;width:6em">&nbsp;</div>}}| {{#ifeq:{{{state|}}}|plain||<div class="nomobile navspace-big" style="float:left;width:6em;text-align:left">&nbsp;</div>}}}}| <div class="nomobile navspace-big" style="float:left;width:6em;text-align:left"> {{tnavbar|{{{name}}}|mini=1}} </div>{{#ifeq:{{{state|}}}|plain|<div class="nomobile navspace-big" style="float:right;width:6em">&nbsp;</div>|<div class="nomobile navspace-small" style="float:right;width:2.35em">&nbsp;</div>}}}} <span style="font-size:{{#switch:{{{border|{{{1|}}}}}}|subgroup|child|none=100|#default=110}}%"> {{{title}}}</span> }}<!--
 
--- Above ---
 
---Above---
-->{{#if:{{{above|}}}| {{#if:{{{title|}}}|<nowiki/>
-->{{#if:{{{above|}}}| {{#if:{{{title|}}}|<nowiki/>
{{!}}- style="height:2px;"
{{!}}- style="height:2px"
{{!}} }}
{{!}} }}
{{!}}-
{{!}}-
{{!}} class="navbox-abovebelow" style="{{{basestyle|}}};{{{abovestyle|}}}" colspan="{{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}}}" {{!}} {{{above}}} }}<!--
{{!}} class="navbox-abovebelow {{#if:{{{abovestyle|}}}||default}}" style="{{{basestyle|}}};{{{abovestyle|}}}" colspan="{{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}}}" {{!}} {{{above}}} }}<!--
 
--- First group/list and images ---
 
 
---Body---
 
---First group/list and images---
-->{{#if:{{{list1|}}}|{{#if:{{{title|}}}{{{above|}}}|<nowiki/>
-->{{#if:{{{list1|}}}|{{#if:{{{title|}}}{{{above|}}}|<nowiki/>
{{!}}- style="height:2px;"
{{!}}- style="height:2px"
{{!}} }}
{{!}} }}
{{!}}-<!--
{{!}}-<!--
-->{{#if:{{{imageleft|}}}|<nowiki/>
-->{{#if:{{{imageleft|}}}|<nowiki/>
{{!}} style="width:0%;padding:0px 2px 0px 0px;{{{imageleftstyle|}}}" rowspan={{#expr:1{{#if:{{{list2|}}}|+2}}{{#if:{{{list3|}}}|+2}}{{#if:{{{list4|}}}|+2}}{{#if:{{{list5|}}}|+2}}{{#if:{{{list6|}}}|+2}}{{#if:{{{list7|}}}|+2}}{{#if:{{{list8|}}}|+2}}{{#if:{{{list9|}}}|+2}}{{#if:{{{list10|}}}|+2}}{{#if:{{{list11|}}}|+2}}{{#if:{{{list12|}}}|+2}}{{#if:{{{list13|}}}|+2}}{{#if:{{{list14|}}}|+2}}{{#if:{{{list15|}}}|+2}}{{#if:{{{list16|}}}|+2}}{{#if:{{{list17|}}}|+2}}{{#if:{{{list18|}}}|+2}}{{#if:{{{list19|}}}|+2}}{{#if:{{{list20|}}}|+2}}}} {{!}} {{{imageleft|}}} }}<!--
{{!}} style="width:0%;padding:0 2px 0 0;{{{imageleftstyle|}}}" rowspan={{#expr:1{{#forargs:list|key|value|{{#ifeq:{{#expr:{{#len:{{#var:key}}}}<5}}|1|{{#ifeq:{{#var:key}}|1||{{#if:{{{list{{#var:key}}|}}}|+2}}}}}}}}}} {{!}} {{{imageleft|}}} }}<!--
 
  -->{{#if:{{{group1|}}}|<nowiki/>
  -->{{#if:{{{group1|}}}|<nowiki/>
{{!}} class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group1style|}}}" {{!}} {{{group1}}}
{{!}} class="navbox-group {{#if:{{{groupstyle|}}}||default}}" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group1style|}}}" {{!}} <div style="padding:{{{group1padding|{{{grouppadding|1px 0 0}}}}}}">{{{group1}}}</div>
{{!}} style="text-align:left;border-left:2px solid #fdfdfd;|<nowiki/>
{{!}} style="text-align:left;border-left:2px solid transparent;|<nowiki/>
{{!}} colspan=2 style="}} width:100%;padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list1style|}}}" class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}" {{!}} <div style="padding:{{{list1padding|{{{listpadding|0em 0.25em}}}}}}">{{{list1|}}}</div><!--
{{!}} colspan="2" style="}} width:100%;padding:0;{{{liststyle|}}};{{{oddstyle|}}};{{{list1style|}}}" class="navbox-list {{#if:{{{liststyle|}}}||default}} navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}" {{!}} <div style="padding:{{{list1padding|{{{listpadding|1px 3px 0}}}}}}">
 
{{{list1|}}}</div><!--
-->{{#if:{{{image|}}}|<nowiki/>
-->{{#if:{{{image|}}}|<nowiki/>
{{!}} style="width:0%;padding:0px 0px 0px 2px;{{{imagestyle|}}}" rowspan={{#expr:1{{#if:{{{list2|}}}|+2}}{{#if:{{{list3|}}}|+2}}{{#if:{{{list4|}}}|+2}}{{#if:{{{list5|}}}|+2}}{{#if:{{{list6|}}}|+2}}{{#if:{{{list7|}}}|+2}}{{#if:{{{list8|}}}|+2}}{{#if:{{{list9|}}}|+2}}{{#if:{{{list10|}}}|+2}}{{#if:{{{list11|}}}|+2}}{{#if:{{{list12|}}}|+2}}{{#if:{{{list13|}}}|+2}}{{#if:{{{list14|}}}|+2}}{{#if:{{{list15|}}}|+2}}{{#if:{{{list16|}}}|+2}}{{#if:{{{list17|}}}|+2}}{{#if:{{{list18|}}}|+2}}{{#if:{{{list19|}}}|+2}}{{#if:{{{list20|}}}|+2}}}} {{!}} {{{image|}}} }} }}<!--
{{!}} style="width:0%;padding:0 0 0 2px;{{{imagestyle|}}}" rowspan={{#expr:1{{#forargs:list|key|value|{{#ifeq:{{#expr:{{#len:{{#var:key}}}}<5}}|1|{{#ifeq:{{#var:key}}|1||{{#if:{{{list{{#var:key}}|}}}|+2}}}}}}}}}} {{!}} {{{image|}}} }} }}<!--
 
--- Remaining groups/lists ---
 
-->{{#forargs:list|key|value|{{#ifeq:{{#expr:{{#len:{{#var:key}}}}<5}}|1|{{#ifeq:{{#var:key}}|1||{{#if:{{#var:value}}| {{#if:{{{title|}}}{{{above|}}}{{{list{{#expr:{{#var:key}}-1}}|}}}|<nowiki/>
---Remaining groups/lists---
 
-->{{#if:{{{list2|}}}| {{#if:{{{title|}}}{{{above|}}}{{{list1|}}}|<nowiki/>
{{!}}- style="height:2px"
{{!}} }}
{{!}}- {{#if:{{{group2|}}}|<nowiki/>
{{!}} class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group2style|}}}" {{!}} {{{group2}}}
{{!}} style="text-align:left;border-left:2px solid #fdfdfd;|<nowiki/>
{{!}} colspan=2 style="}} width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list2style|}}}" class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}" {{!}} <div style="padding:{{{listpadding|0em 0.25em}}}">{{{list2|}}}</div>}}<!--
 
-->{{#if:{{{list3|}}}| {{#if:{{{title|}}}{{{above|}}}{{{list2|}}}|<nowiki/>
{{!}}- style="height:2px"
{{!}} }}
{{!}}- {{#if:{{{group3|}}}|<nowiki/>
{{!}} class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group3style|}}}" {{!}} {{{group3}}}
{{!}} style="text-align:left;border-left:2px solid #fdfdfd;|<nowiki/>
{{!}} colspan=2 style="}} width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list3style|}}}" class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}" {{!}} <div style="padding:{{{listpadding|0em 0.25em}}}">{{{list3|}}}</div> }}<!--
 
-->{{#if:{{{list4|}}}| {{#if:{{{title|}}}{{{above|}}}{{{list3|}}}|<nowiki/>
{{!}}- style="height:2px"
{{!}} }}
{{!}}- {{#if:{{{group4|}}}|<nowiki/>
{{!}} class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group4style|}}}" {{!}} {{{group4}}}
{{!}} style="text-align:left;border-left:2px solid #fdfdfd;|<nowiki/>
{{!}} colspan=2 style="}} width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list4style|}}}" class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}" {{!}} <div style="padding:{{{listpadding|0em 0.25em}}}">{{{list4|}}}</div> }}<!--
 
-->{{#if:{{{list5|}}}| {{#if:{{{title|}}}{{{above|}}}{{{list4|}}}|<nowiki/>
{{!}}- style="height:2px"
{{!}} }}
{{!}}- {{#if:{{{group5|}}}|<nowiki/>
{{!}} class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group5style|}}}" {{!}} {{{group5}}}
{{!}} style="text-align:left;border-left:2px solid #fdfdfd;|<nowiki/>
{{!}} colspan=2 style="}} width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list5style|}}}" class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}" {{!}} <div style="padding:{{{listpadding|0em 0.25em}}}">{{{list5|}}}</div> }}<!--
 
-->{{#if:{{{list6|}}}| {{#if:{{{title|}}}{{{above|}}}{{{list5|}}}|<nowiki/>
{{!}}- style="height:2px"
{{!}} }}
{{!}}- {{#if:{{{group6|}}}|<nowiki/>
{{!}} class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group6style|}}}" {{!}} {{{group6}}}
{{!}} style="text-align:left;border-left:2px solid #fdfdfd;|<nowiki/>
{{!}} colspan=2 style="}} width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list6style|}}}" class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}" {{!}} <div style="padding:{{{listpadding|0em 0.25em}}}">{{{list6|}}}</div> }}<!--
 
-->{{#if:{{{list7|}}}| {{#if:{{{title|}}}{{{above|}}}{{{list6|}}}|<nowiki/>
{{!}}- style="height:2px"
{{!}} }}
{{!}}- {{#if:{{{group7|}}}|<nowiki/>
{{!}} class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group7style|}}}" {{!}} {{{group7}}}
{{!}} style="text-align:left;border-left:2px solid #fdfdfd;|<nowiki/>
{{!}} colspan=2 style="}} width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list7style|}}}" class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}" {{!}} <div style="padding:{{{listpadding|0em 0.25em}}}">{{{list7|}}}</div> }}<!--
 
-->{{#if:{{{list8|}}}| {{#if:{{{title|}}}{{{above|}}}{{{list7|}}}|<nowiki/>
{{!}}- style="height:2px"
{{!}} }}
{{!}}- {{#if:{{{group8|}}}|<nowiki/>
{{!}} class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group8style|}}}" {{!}} {{{group8}}}
{{!}} style="text-align:left;border-left:2px solid #fdfdfd;|<nowiki/>
{{!}} colspan=2 style="}} width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list8style|}}}" class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}" {{!}} <div style="padding:{{{listpadding|0em 0.25em}}}">{{{list8|}}}</div> }}<!--
 
-->{{#if:{{{list9|}}}| {{#if:{{{title|}}}{{{above|}}}{{{list8|}}}|<nowiki/>
{{!}}- style="height:2px"
{{!}} }}
{{!}}- {{#if:{{{group9|}}}|<nowiki/>
{{!}} class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group9style|}}}" {{!}} {{{group9}}}
{{!}} style="text-align:left;border-left:2px solid #fdfdfd;|<nowiki/>
{{!}} colspan=2 style="}} width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list9style|}}}" class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}" {{!}} <div style="padding:{{{listpadding|0em 0.25em}}}">{{{list9|}}}</div> }}<!--
 
-->{{#if:{{{list10|}}}| {{#if:{{{title|}}}{{{above|}}}{{{list9|}}}|<nowiki/>
{{!}}- style="height:2px"
{{!}} }}
{{!}}- {{#if:{{{group10|}}}|<nowiki/>
{{!}} class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group10style|}}}" {{!}} {{{group10}}}
{{!}} style="text-align:left;border-left:2px solid #fdfdfd;|<nowiki/>
{{!}} colspan=2 style="}} width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list10style|}}}" class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}" {{!}} <div style="padding:{{{listpadding|0em 0.25em}}}">{{{list10|}}}</div> }}<!--
 
-->{{#if:{{{list11|}}}| {{#if:{{{title|}}}{{{above|}}}{{{list10|}}}|<nowiki/>
{{!}}- style="height:2px"
{{!}} }}
{{!}}- {{#if:{{{group11|}}}|<nowiki/>
{{!}} class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group11style|}}}" {{!}} {{{group11}}}
{{!}} style="text-align:left;border-left:2px solid #fdfdfd;|<nowiki/>
{{!}} colspan=2 style="}} width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list11style|}}}" class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}" {{!}} <div style="padding:{{{listpadding|0em 0.25em}}}">{{{list11|}}}</div> }}<!--
 
-->{{#if:{{{list12|}}}| {{#if:{{{title|}}}{{{above|}}}{{{list11|}}}|<nowiki/>
{{!}}- style="height:2px"
{{!}} }}
{{!}}- {{#if:{{{group12|}}}|<nowiki/>
{{!}} class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group12style|}}}" {{!}} {{{group12}}}
{{!}} style="text-align:left;border-left:2px solid #fdfdfd;|<nowiki/>
{{!}} colspan=2 style="}} width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list12style|}}}" class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}" {{!}} <div style="padding:{{{listpadding|0em 0.25em}}}">{{{list12|}}}</div> }}<!--
 
-->{{#if:{{{list13|}}}| {{#if:{{{title|}}}{{{above|}}}{{{list12|}}}|<nowiki/>
{{!}}- style="height:2px"
{{!}} }}
{{!}}- {{#if:{{{group13|}}}|<nowiki/>
{{!}} class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group13style|}}}" {{!}} {{{group13}}}
{{!}} style="text-align:left;border-left:2px solid #fdfdfd;|<nowiki/>
{{!}} colspan=2 style="}} width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list13style|}}}" class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}" {{!}} <div style="padding:{{{listpadding|0em 0.25em}}}">{{{list13|}}}</div> }}<!--
 
-->{{#if:{{{list14|}}}| {{#if:{{{title|}}}{{{above|}}}{{{list13|}}}|<nowiki/>
{{!}}- style="height:2px"
{{!}} }}
{{!}}- {{#if:{{{group14|}}}|<nowiki/>
{{!}} class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group14style|}}}" {{!}} {{{group14}}}
{{!}} style="text-align:left;border-left:2px solid #fdfdfd;|<nowiki/>
{{!}} colspan=2 style="}} width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list14style|}}}" class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}" {{!}} <div style="padding:{{{listpadding|0em 0.25em}}}">{{{list14|}}}</div> }}<!--
 
-->{{#if:{{{list15|}}}| {{#if:{{{title|}}}{{{above|}}}{{{list14|}}}|<nowiki/>
{{!}}- style="height:2px"
{{!}} }}
{{!}}- {{#if:{{{group15|}}}|<nowiki/>
{{!}} class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group15style|}}}" {{!}} {{{group15}}}
{{!}} style="text-align:left;border-left:2px solid #fdfdfd;|<nowiki/>
{{!}} colspan=2 style="}} width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list15style|}}}" class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}" {{!}} <div style="padding:{{{listpadding|0em 0.25em}}}">{{{list15|}}}</div> }}<!--
 
-->{{#if:{{{list16|}}}| {{#if:{{{title|}}}{{{above|}}}{{{list15|}}}|<nowiki/>
{{!}}- style="height:2px"
{{!}} }}
{{!}}- {{#if:{{{group16|}}}|<nowiki/>
{{!}} class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group16style|}}}" {{!}} {{{group16}}}
{{!}} style="text-align:left;border-left:2px solid #fdfdfd;|<nowiki/>
{{!}} colspan=2 style="}} width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list16style|}}}" class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}" {{!}} <div style="padding:{{{listpadding|0em 0.25em}}}">{{{list16|}}}</div> }}<!--
 
-->{{#if:{{{list17|}}}| {{#if:{{{title|}}}{{{above|}}}{{{list16|}}}|<nowiki/>
{{!}}- style="height:2px"
{{!}} }}
{{!}}- {{#if:{{{group17|}}}|<nowiki/>
{{!}} class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group17style|}}}" {{!}} {{{group17}}}
{{!}} style="text-align:left;border-left:2px solid #fdfdfd;|<nowiki/>
{{!}} colspan=2 style="}} width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list17style|}}}" class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}" {{!}} <div style="padding:{{{listpadding|0em 0.25em}}}">{{{list17|}}}</div> }}<!--
 
-->{{#if:{{{list18|}}}| {{#if:{{{title|}}}{{{above|}}}{{{list17|}}}|<nowiki/>
{{!}}- style="height:2px"
{{!}}- style="height:2px"
{{!}} }}
{{!}} }}
{{!}}- {{#if:{{{group18|}}}|<nowiki/>
{{!}}- {{#if:{{{group{{#var:key}}|}}}|<nowiki/>
{{!}} class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group18style|}}}" {{!}} {{{group18}}}
{{!}} class="navbox-group {{#if:{{{groupstyle|}}}||default}}" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group{{#var:key}}style|}}}" {{!}} <div style="padding:{{{grouppadding|1px 0 0}}}">{{{group{{#var:key}}}}}</div>
{{!}} style="text-align:left;border-left:2px solid #fdfdfd;|<nowiki/>
{{!}} style="text-align:left;border-left:2px solid transparent;|<nowiki/>
{{!}} colspan=2 style="}} width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list18style|}}}" class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}" {{!}} <div style="padding:{{{listpadding|0em 0.25em}}}">{{{list18|}}}</div> }}<!--
{{!}} colspan="2" style="}} width:100%;padding:0;{{{liststyle|}}};{{{evenstyle|}}};{{{list{{#var:key}}style|}}}" class="navbox-list {{#if:{{{liststyle|}}}||default}} navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}" {{!}} <div style="padding:{{{listpadding|1px 3px 0}}}">
 
{{#var:value}}}}</div>}}}}}}<!--
-->{{#if:{{{list19|}}}| {{#if:{{{title|}}}{{{above|}}}{{{list18|}}}|<nowiki/>
--- Below ---
{{!}}- style="height:2px"
{{!}} }}
{{!}}- {{#if:{{{group19|}}}|<nowiki/>
{{!}} class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group19style|}}}" {{!}} {{{group19}}}
{{!}} style="text-align:left;border-left:2px solid #fdfdfd;|<nowiki/>
{{!}} colspan=2 style="}} width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list19style|}}}" class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}" {{!}} <div style="padding:{{{listpadding|0em 0.25em}}}">{{{list19|}}}</div> }}<!--
 
-->{{#if:{{{list20|}}}| {{#if:{{{title|}}}{{{above|}}}{{{list19|}}}|<nowiki/>
{{!}}- style="height:2px"
{{!}} }}
{{!}}- {{#if:{{{group20|}}}|<nowiki/>
{{!}} class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group20style|}}}" {{!}} {{{group20}}}
{{!}} style="text-align:left;border-left:2px solid #fdfdfd;|<nowiki/>
{{!}} colspan=2 style="}} width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list20style|}}}" class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}" {{!}} <div style="padding:{{{listpadding|0em 0.25em}}}">{{{list20|}}}</div> }}<!--
 
---Below---
-->{{#if:{{{below|}}}|<!--
-->{{#if:{{{below|}}}|<!--
  -->{{#if:{{{title|}}}{{{above|}}}{{{list1|}}}{{{list2|}}}{{{list3|}}}|<nowiki/>
  -->{{#if:{{{title|}}}{{{above|}}}{{{list1|}}}{{{list2|}}}{{{list3|}}}|<nowiki/>
{{!}}- style="height:2px;"
{{!}}- style="height:2px"
{{!}} }}
{{!}} }}
{{!}}-
{{!}}-
{{!}} class="navbox-abovebelow" style="{{{basestyle|}}};{{{belowstyle|}}}" colspan="{{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}}}" {{!}} {{{below}}} }}
{{!}} class="navbox-abovebelow {{#if:{{{belowstyle|}}}||default}}" style="{{{basestyle|}}};{{{belowstyle|}}}" colspan="{{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}}}" {{!}} {{{below}}} }}
{{!}}}{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=|none=|#default=<nowiki/>
{{!}}}{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=|none=|#default=<nowiki/>
{{!}}} }}<noinclude>
{{!}}} }}</includeonly><noinclude>
== State usage ==
== State usage ==
These are guidelines for the <code>state</code> parameter.
These are guidelines for the <code>state</code> parameter:
* Nothing/not set - The table is collapsible and '''not''' collapsed by default.
* <code>|state='''collapsed'''</code> - The table is collapsible and collapsed (default).
* <code>|state='''collapsed'''</code> - The table is collapsible and collapsed by default.
* <code>|state='''open'''</code> - The table is collapsible and not collapsed.
* <code>|state='''auto'''</code> - The table is collapsible and will collapse if multiple boxes are present.
* <code>|state='''plain'''</code> - The table is not collapsible.
* <code>|state='''plain'''</code> - The table is not collapsible.


[[Category:Parent templates|{{PAGENAME}}]]</noinclude>
[[Category:Parent templates]]</noinclude>

Latest revision as of 12:15, August 17, 2023

State usage

These are guidelines for the state parameter:

  • |state=collapsed - The table is collapsible and collapsed (default).
  • |state=open - The table is collapsible and not collapsed.
  • |state=auto - The table is collapsible and will collapse if multiple boxes are present.
  • |state=plain - The table is not collapsible.