More actions
mNo edit summary |
Testing out version without HTML Tidy |
||
| Line 25: | Line 25: | ||
} | } | ||
}} | }} | ||
{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=|none=|#default=<nowiki/> | |||
{{{!}} class="navbox" cellspacing="0" style="{{{bodystyle|}}};{{{style|}}}" | |||
{{!}}- | |||
{{!}} style="padding:2px;" {{!}} }} | |||
{{{!}} cellspacing="0" class="nowraplinks {{#if:{{{title|}}}|{{#switch:{{{state|}}}|plain|off=|#default=collapsible {{#if:{{{state|}}}|{{{state|}}}|autocollapse}}}}}} {{#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|}}}|< | -->{{#if:{{{title|}}}|<nowiki/> | ||
{{!}}- {{#if:{{{titlegroup|}}}|<nowiki/> | |||
{{!}} class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{titlegroupstyle|}}}" {{!}} {{{titlegroup|}}} | |||
! style="border-left:2px solid #fdfdfd;width:100%;|<nowiki/> | |||
! style="}}{{{basestyle|}}};{{{titlestyle|}}}" colspan={{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}{{#if:{{{titlegroup|}}}|-1}}}} class="navbox-title" {{!}} {{#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;"> </div>}}| {{#ifeq:{{{state|}}}|plain||<div style="float:left; width:6em;text-align:left;"> </div>}}}}| <div style="float:left; width:6em;text-align:left;"> {{navbar|{{{name}}}|fontstyle={{{basestyle|}}};{{{titlestyle|}}};border:none;|mini=1}} </div>{{#ifeq:{{{state|}}}|plain|<div style="float:right;width:6em;"> </div>}}}} <span style="font-size:{{#switch:{{{border|{{{1|}}}}}}|subgroup|child|none=100|#default=110}}%;"> {{{title}}}</span> }}<!-- | |||
---Above--- | |||
-->{{#if:{{{above|}}}| {{#if:{{{title|}}}|<nowiki/> | |||
{{!}}- style="height:2px;" | |||
{{!}} }} | |||
{{!}}- | |||
{{!}} class="navbox-abovebelow" style="{{{basestyle|}}};{{{abovestyle|}}}" colspan="{{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}}}" {{!}} {{{above}}} }}<!-- | |||
| Line 66: | Line 54: | ||
---First group/list and images--- | ---First group/list and images--- | ||
-->{{#if:{{{list1|}}}|{{#if:{{{title|}}}{{{above|}}}|< | -->{{#if:{{{list1|}}}|{{#if:{{{title|}}}{{{above|}}}|<nowiki/> | ||
{{!}}- style="height:2px;" | |||
{{!}} }} | |||
{{!}}-<!-- | |||
-->{{#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|}}} }}<!-- | |||
{{{ | |||
-->{{#if:{{{ | -->{{#if:{{{group1|}}}|<nowiki/> | ||
{{!}} class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group1style|}}}" {{!}} {{{group1}}} | |||
{{!}} style="text-align:left;border-left:2px solid #fdfdfd;|<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><!-- | |||
{{{ | |||
--></ | -->{{#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|}}} }} }}<!-- | |||
---Remaining groups/lists--- | ---Remaining groups/lists--- | ||
-->{{#if:{{{list2|}}}| | -->{{#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:{{{ | -->{{#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|even|{{{evenodd|odd}}}}}" {{!}} <div style="padding:{{{listpadding|0em 0.25em}}}"> | |||
{{{list3|}}}</div> }}<!-- | |||
{{{ | |||
-->{{#if:{{{ | -->{{#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:{{{ | -->{{#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|even|{{{evenodd|odd}}}}}" {{!}} <div style="padding:{{{listpadding|0em 0.25em}}}"> | |||
{{{list5|}}}</div> }}<!-- | |||
{{{ | |||
-->{{#if:{{{ | -->{{#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:{{{ | -->{{#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|even|{{{evenodd|odd}}}}}" {{!}} <div style="padding:{{{listpadding|0em 0.25em}}}"> | |||
{{{list7|}}}</div> }}<!-- | |||
{{{ | |||
-->{{#if:{{{ | -->{{#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:{{{ | -->{{#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|even|{{{evenodd|odd}}}}}" {{!}} <div style="padding:{{{listpadding|0em 0.25em}}}"> | |||
{{{list9|}}}</div> }}<!-- | |||
{{{ | |||
-->{{#if:{{{ | -->{{#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:{{{ | -->{{#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|even|{{{evenodd|odd}}}}}" {{!}} <div style="padding:{{{listpadding|0em 0.25em}}}"> | |||
{{{list11|}}}</div> }}<!-- | |||
{{{ | |||
-->{{#if:{{{ | -->{{#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:{{{ | -->{{#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|even|{{{evenodd|odd}}}}}" {{!}} <div style="padding:{{{listpadding|0em 0.25em}}}"> | |||
{{{list13|}}}</div> }}<!-- | |||
{{{ | |||
-->{{#if:{{{ | -->{{#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:{{{ | -->{{#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|even|{{{evenodd|odd}}}}}" {{!}} <div style="padding:{{{listpadding|0em 0.25em}}}"> | |||
{{{list15|}}}</div> }}<!-- | |||
{{{ | |||
-->{{#if:{{{ | -->{{#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:{{{ | -->{{#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|even|{{{evenodd|odd}}}}}" {{!}} <div style="padding:{{{listpadding|0em 0.25em}}}"> | |||
{{{list17|}}}</div> }}<!-- | |||
{{{ | |||
-->{{#if:{{{ | -->{{#if:{{{list18|}}}| {{#if:{{{title|}}}{{{above|}}}{{{list17|}}}|<nowiki/> | ||
{{!}}- style="height:2px" | |||
{{!}} }} | |||
{{!}}- {{#if:{{{group18|}}}|<nowiki/> | |||
{{!}} class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group18style|}}}" {{!}} {{{group18}}} | |||
{{!}} style="text-align:left;border-left:2px solid #fdfdfd;|<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> }}<!-- | |||
{{{ | |||
-->{{#if:{{{ | -->{{#if:{{{list19|}}}| {{#if:{{{title|}}}{{{above|}}}{{{list18|}}}|<nowiki/> | ||
{{!}}- 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|even|{{{evenodd|odd}}}}}" {{!}} <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--- | ---Below--- | ||
-->{{#if:{{{below|}}}|<!-- | -->{{#if:{{{below|}}}|<!-- | ||
-->{{#if:{{{title|}}}{{{above|}}}{{{list1|}}}{{{list2|}}}{{{list3|}}}|< | -->{{#if:{{{title|}}}{{{above|}}}{{{list1|}}}{{{list2|}}}{{{list3|}}}|<nowiki/> | ||
{{!}}- style="height:2px;" | |||
{{!}} }} | |||
{{ | {{!}}- | ||
{{!}} class="navbox-abovebelow" style="{{{basestyle|}}};{{{belowstyle|}}}" colspan="{{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}}}" {{!}} {{{below}}} }} | |||
{{!}}}{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=|none=|#default=<nowiki/> | |||
{{!}}} }}<noinclude> | |||
{{documentation}} | {{documentation}} | ||
<!-- Add categories and interwikis to the /doc subpage, not here! --> | <!-- Add categories and interwikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> | ||
Revision as of 19:39, 2 October 2013
|
|
Template documentation (for the above template, sometimes hidden or invisible)
- Description
- This template allows a navigational template to be set up relatively quickly by supplying it one or more lists of links.
- It comes equipped with default styles that should work for most navigational templates. Changing the default styles is not recommended, but is possible.
- Dependencies
-
- Uses
- {{Navbox/styles.css}}
- CSS class nowraplinks in Common.css
- {{Navbar}}
- Used by
- {{AnomicMissionNav}}
- {{Navbox classes}}
- {{EVEUniversityNav}}
- {{EWAR Links}}
- {{FactionsNav}}
- {{GasNebulaeNav}}
- {{GettingStartedNav}}
- {{Incursions sites horizontal}}
- {{Limited time events}}
- {{Mining Links}}
- {{Missionrelated}}
- {{UniWikiNav}}
- Syntax
{{Navbox
|name = {{subst:PAGENAME}}
|navbar =
|title =
|titleclass =
|state =
|bodyclass =
|bodystyle =
|innerstyle =
|basestyle =
|titlestyle =
|groupstyle =
|titlegroupstyle =
|image =
|imagestyle =
|imageleft =
|imageleftstyle =
|above =
|abovestyle =
|liststyle =
|group1 =
|list1 =
|group2 =
|list2 =
...
|group20 =
|list20 =
|below =
|belowstyle =
}}
- Parameters
- The only mandatory parameters are
titleandlist1. Use all class and style parameters sparingly!- name
- The name of the template. Set to {{subst:PAGENAME}} by default. used for the (v)iew, (t)alk and (e)dit link options. May be omitted when navbar is set to plain.
- navbar
- Controls the presence of the (v)iew, (t)alk and (e)dit link options. Use
plainto suppress. - title
- Text in the title bar.
- titleclass
- Applies an CSS
classto the title bar. Use sparingly! - state = [autocollapse, collapsed, expanded, plain, off]
- The status of box expansion. Use sparingly!
- Defaults to
autocollapse. A navbox withautocollapsewill start out collapsed if there are two or more tables on the same page that use other collapsible tables. Otherwise, the navbox will be expanded. - If set to
collapsed, the navbox will always start out in a collapsed state. - If set to
expanded, the navbox will always start out in an expanded state. - If set to
plain, the navbox will always be expanded with no [hide] link on the right, and the title will remain centered. - If set to
off, the navbox will always be expanded with no [hide] link on the right, but no padding will be used to keep the title centered. This is for advanced use only; the "plain" option should suffice for most applications where the [show]/[hide] button needs to be hidden.
- Defaults to
- bodyclass
- Applies an CSS
classto the entire navbox. Use sparingly! - titlestyle
- A CSS style for the title-bar, such as:
background:gray;Use sparingly! - groupstyle
- A CSS style for the group-cells, such as:
background:#EEEEEE;Use sparingly! - image
- An optional right-side image, coded as the whole image. Typically it is purely decorative, so it should be coded as
[[File:XX.jpg|90px|link=|alt=]]. Use sparingly! - imageleft
- An optional left-side image (code the same as the "image" parameter). Use sparingly!
- above
- Text to appear above the group/list section (could be a list of overall wikilinks).
- groupn
- The left-side text before list-n (if group-n omitted, list-n starts at left of box).
- listn
- Text listing links. See Template:Flatlist.
- below
- Optional text to appear below the group/list section.
- Sample
{{Navbox
|name = {{subst:PAGENAME}}
|title = Navigational box title
|above = Text written below the title and above the link lists.
|group1 = Group One
|list1 = {{flatlist|
* [[EVE University]]
* [[EVE University Management]]
* [[EVE University Rules]]
}}
|group2 = Group Two
|list2 = {{flatlist|
# [[EVE University]]
# [[EVE University Management]]
# [[EVE University Rules]]
}}
|group20 = Group Twenty
|list20 = {{flatlist|
* [[EVE University]]
** [[EVE University Management]]
** [[EVE University Rules]]
}}
|below = Text written below the link lists.
}}
- gives...
| ||||||||||||||||||||
- See also