Template:Navbox: Difference between revisions
DansFriend (talk | contribs) No edit summary |
DansFriend (talk | contribs) mNo edit summary |
||
(7 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
-->class="navbox" style="border-spacing:0;{{{bodystyle|}}};{{{style|}}}"><tr><td style="padding:2px;">}}<!-- | -->class="navbox" style="border-spacing:0;{{{bodystyle|}}};{{{style|}}}"><tr><td style="padding:2px;">}}<!-- | ||
--><table cellspacing="0" class="nowraplinks {{{bodyclass|}}} {{#if:{{{title|}}}|{{#switch:{{{state|}}}|<!-- | --><table cellspacing="0" width="100%" class="nowraplinks {{{bodyclass|}}} {{#if:{{{title|}}}|{{#switch:{{{state|}}}|<!-- | ||
-->plain|off=|#default=collapsible {{#if:{{{state|}}}|{{{state}}}| | -->plain|off=|#default=mw-collapsible {{#if:{{{state|}}}|{{{state}}}|mw-collapsed}}}}}} {{#switch:{{{border|{{{1|}}}}}}|<!-- | ||
-->subgroup|child|none=navbox-subgroup" style="border-spacing:0;{{{bodystyle|}}};{{{style|}}}|<!-- | -->subgroup|child|none=navbox-subgroup" style="border-spacing:0;{{{bodystyle|}}};{{{style|}}}|<!-- | ||
-->#default=navbox-inner" style="border-spacing:0;background:transparent;color:inherit}};{{{innerstyle|}}};"><!-- | -->#default=navbox-inner" style="border-spacing:0;background:transparent;color:inherit}};{{{innerstyle|}}};"><!-- | ||
Line 16: | Line 16: | ||
--><th scope="row" class="navbox-group {{{titlegroupclass|}}}" <!-- | --><th scope="row" class="navbox-group {{{titlegroupclass|}}}" <!-- | ||
-->style="{{{basestyle|}}};{{{groupstyle|}}};{{{titlegroupstyle|}}}"><!-- | -->style="{{{basestyle|}}};{{{groupstyle|}}};{{{titlegroupstyle|}}}"><!-- | ||
-->{{{titlegroup|}}}</th><th scope="col" style="border-left:2px solid #fdfdfd;width:100%;|<!-- | -->{{{titlegroup|}}}</th><th scope="col" style="border-left:2px solid #fdfdfd;width:100% !important;|<!-- | ||
--><th scope="col" style="}}{{{basestyle|}}};{{{titlestyle|}}}" class="navbox-title" <!-- | --><th scope="col" style="}}{{{basestyle|}}};{{{titlestyle|}}}" class="navbox-title" <!-- | ||
-->colspan={{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}{{#if:{{{titlegroup|}}}|-1}}}}><!-- | -->colspan={{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}{{#if:{{{titlegroup|}}}|-1}}}}><!-- | ||
Line 24: | Line 24: | ||
-->{{#ifeq:{{{navbar|}}}|off|{{#ifeq:{{{state|}}}|plain|<span style="float:right;width:6em;"> </span>}}|<!-- | -->{{#ifeq:{{{navbar|}}}|off|{{#ifeq:{{{state|}}}|plain|<span style="float:right;width:6em;"> </span>}}|<!-- | ||
-->{{#ifeq:{{{state|}}}|plain||<span style="float:left;width:6em;"> </span>}}}}|<!-- | -->{{#ifeq:{{{state|}}}|plain||<span style="float:left;width:6em;"> </span>}}}}|<!-- | ||
-->{{#if:{{{name|}}}|{{Navbar|{{{name}}}|mini=1|<!-- | |||
-->fontstyle={{{basestyle|}}};{{{titlestyle|}}};background:none transparent;border:none;}}}}<!-- | |||
-->{{#ifeq:{{{state|}}}|plain|<span style="float:right;width:6em;"> </span>}}}}<!-- | -->{{#ifeq:{{{state|}}}|plain|<span style="float:right;width:6em;"> </span>}}}}<!-- | ||
Line 55: | Line 57: | ||
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group1style|}}}"><!-- | -->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group1style|}}}"><!-- | ||
-->{{{group1}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;border-color:transparent;|<td colspan=2 style="}}<!-- | -->{{{group1}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;border-color:transparent;|<td colspan=2 style="}}<!-- | ||
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list1style|}}}" <!-- | -->{{#if:{{{groupwidth|}}}||width:100% !important;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list1style|}}}" <!-- | ||
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}} {{{listclass|}}}"><!-- | -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}} {{{listclass|}}}"><!-- | ||
--><div style="padding:{{{list1padding|{{{listpadding|0em 0.25em}}}}}}"> | --><div style="padding:{{{list1padding|{{{listpadding|0em 0.25em}}}}}}"> | ||
Line 79: | Line 81: | ||
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group2style|}}}"><!-- | -->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group2style|}}}"><!-- | ||
-->{{{group2}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;border-color:transparent;|<td colspan=2 style="}}<!-- | -->{{{group2}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;border-color:transparent;|<td colspan=2 style="}}<!-- | ||
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list2style|}}}" <!-- | -->{{#if:{{{groupwidth|}}}||width:100% !important;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list2style|}}}" <!-- | ||
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}} {{{listclass|}}}"><!-- | -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}} {{{listclass|}}}"><!-- | ||
--><div style="padding:{{{listpadding|0em 0.25em}}}"> | --><div style="padding:{{{listpadding|0em 0.25em}}}"> | ||
Line 89: | Line 91: | ||
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group3style|}}}"><!-- | -->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group3style|}}}"><!-- | ||
-->{{{group3}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;border-color:transparent;|<td colspan=2 style="}}<!-- | -->{{{group3}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;border-color:transparent;|<td colspan=2 style="}}<!-- | ||
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list3style|}}}" <!-- | -->{{#if:{{{groupwidth|}}}||width:100% !important;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list3style|}}}" <!-- | ||
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}} {{{listclass|}}}"><!-- | -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}} {{{listclass|}}}"><!-- | ||
--><div style="padding:{{{listpadding|0em 0.25em}}}"> | --><div style="padding:{{{listpadding|0em 0.25em}}}"> | ||
Line 99: | Line 101: | ||
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group4style|}}}"><!-- | -->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group4style|}}}"><!-- | ||
-->{{{group4}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;border-color:transparent;|<td colspan=2 style="}}<!-- | -->{{{group4}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;border-color:transparent;|<td colspan=2 style="}}<!-- | ||
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list4style|}}}" <!-- | -->{{#if:{{{groupwidth|}}}||width:100% !important;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list4style|}}}" <!-- | ||
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}} {{{listclass|}}}"><!-- | -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}} {{{listclass|}}}"><!-- | ||
--><div style="padding:{{{listpadding|0em 0.25em}}}"> | --><div style="padding:{{{listpadding|0em 0.25em}}}"> | ||
Line 109: | Line 111: | ||
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group5style|}}}"><!-- | -->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group5style|}}}"><!-- | ||
-->{{{group5}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;border-color:transparent;|<td colspan=2 style="}}<!-- | -->{{{group5}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;border-color:transparent;|<td colspan=2 style="}}<!-- | ||
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list5style|}}}" <!-- | -->{{#if:{{{groupwidth|}}}||width:100% !important;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list5style|}}}" <!-- | ||
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}} {{{listclass|}}}"><!-- | -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}} {{{listclass|}}}"><!-- | ||
--><div style="padding:{{{listpadding|0em 0.25em}}}"> | --><div style="padding:{{{listpadding|0em 0.25em}}}"> | ||
Line 119: | Line 121: | ||
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group6style|}}}"><!-- | -->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group6style|}}}"><!-- | ||
-->{{{group6}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;border-color:transparent;|<td colspan=2 style="}}<!-- | -->{{{group6}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;border-color:transparent;|<td colspan=2 style="}}<!-- | ||
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list6style|}}}" <!-- | -->{{#if:{{{groupwidth|}}}||width:100% !important;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list6style|}}}" <!-- | ||
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}} {{{listclass|}}}"><!-- | -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}} {{{listclass|}}}"><!-- | ||
--><div style="padding:{{{listpadding|0em 0.25em}}}"> | --><div style="padding:{{{listpadding|0em 0.25em}}}"> | ||
Line 129: | Line 131: | ||
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group7style|}}}"><!-- | -->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group7style|}}}"><!-- | ||
-->{{{group7}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;border-color:transparent;|<td colspan=2 style="}}<!-- | -->{{{group7}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;border-color:transparent;|<td colspan=2 style="}}<!-- | ||
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list7style|}}}" <!-- | -->{{#if:{{{groupwidth|}}}||width:100% !important;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list7style|}}}" <!-- | ||
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}} {{{listclass|}}}"><!-- | -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}} {{{listclass|}}}"><!-- | ||
--><div style="padding:{{{listpadding|0em 0.25em}}}"> | --><div style="padding:{{{listpadding|0em 0.25em}}}"> | ||
Line 139: | Line 141: | ||
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group8style|}}}"><!-- | -->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group8style|}}}"><!-- | ||
-->{{{group8}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;border-color:transparent;|<td colspan=2 style="}}<!-- | -->{{{group8}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;border-color:transparent;|<td colspan=2 style="}}<!-- | ||
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list8style|}}}" <!-- | -->{{#if:{{{groupwidth|}}}||width:100% !important;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list8style|}}}" <!-- | ||
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}} {{{listclass|}}}"><!-- | -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}} {{{listclass|}}}"><!-- | ||
--><div style="padding:{{{listpadding|0em 0.25em}}}"> | --><div style="padding:{{{listpadding|0em 0.25em}}}"> | ||
Line 149: | Line 151: | ||
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group9style|}}}"><!-- | -->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group9style|}}}"><!-- | ||
-->{{{group9}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;border-color:transparent;|<td colspan=2 style="}}<!-- | -->{{{group9}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;border-color:transparent;|<td colspan=2 style="}}<!-- | ||
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list9style|}}}" <!-- | -->{{#if:{{{groupwidth|}}}||width:100% !important;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list9style|}}}" <!-- | ||
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}} {{{listclass|}}}"><!-- | -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}} {{{listclass|}}}"><!-- | ||
--><div style="padding:{{{listpadding|0em 0.25em}}}"> | --><div style="padding:{{{listpadding|0em 0.25em}}}"> | ||
Line 159: | Line 161: | ||
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group10style|}}}"><!-- | -->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group10style|}}}"><!-- | ||
-->{{{group10}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;border-color:transparent;|<td colspan=2 style="}}<!-- | -->{{{group10}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;border-color:transparent;|<td colspan=2 style="}}<!-- | ||
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list10style|}}}" <!-- | -->{{#if:{{{groupwidth|}}}||width:100% !important;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list10style|}}}" <!-- | ||
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}} {{{listclass|}}}"><!-- | -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}} {{{listclass|}}}"><!-- | ||
--><div style="padding:{{{listpadding|0em 0.25em}}}"> | --><div style="padding:{{{listpadding|0em 0.25em}}}"> | ||
Line 169: | Line 171: | ||
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group11style|}}}"><!-- | -->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group11style|}}}"><!-- | ||
-->{{{group11}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;border-color:transparent;|<td colspan=2 style="}}<!-- | -->{{{group11}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;border-color:transparent;|<td colspan=2 style="}}<!-- | ||
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list11style|}}}" <!-- | -->{{#if:{{{groupwidth|}}}||width:100% !important;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list11style|}}}" <!-- | ||
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}} {{{listclass|}}}"><!-- | -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}} {{{listclass|}}}"><!-- | ||
--><div style="padding:{{{listpadding|0em 0.25em}}}"> | --><div style="padding:{{{listpadding|0em 0.25em}}}"> | ||
Line 179: | Line 181: | ||
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group12style|}}}"><!-- | -->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group12style|}}}"><!-- | ||
-->{{{group12}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;border-color:transparent;|<td colspan=2 style="}}<!-- | -->{{{group12}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;border-color:transparent;|<td colspan=2 style="}}<!-- | ||
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list12style|}}}" <!-- | -->{{#if:{{{groupwidth|}}}||width:100% !important;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list12style|}}}" <!-- | ||
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}} {{{listclass|}}}"><!-- | -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}} {{{listclass|}}}"><!-- | ||
--><div style="padding:{{{listpadding|0em 0.25em}}}"> | --><div style="padding:{{{listpadding|0em 0.25em}}}"> | ||
Line 189: | Line 191: | ||
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group13style|}}}"><!-- | -->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group13style|}}}"><!-- | ||
-->{{{group13}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;border-color:transparent;|<td colspan=2 style="}}<!-- | -->{{{group13}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;border-color:transparent;|<td colspan=2 style="}}<!-- | ||
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list13style|}}}" <!-- | -->{{#if:{{{groupwidth|}}}||width:100% !important;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list13style|}}}" <!-- | ||
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}} {{{listclass|}}}"><!-- | -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}} {{{listclass|}}}"><!-- | ||
--><div style="padding:{{{listpadding|0em 0.25em}}}"> | --><div style="padding:{{{listpadding|0em 0.25em}}}"> | ||
Line 199: | Line 201: | ||
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group14style|}}}"><!-- | -->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group14style|}}}"><!-- | ||
-->{{{group14}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;border-color:transparent;|<td colspan=2 style="}}<!-- | -->{{{group14}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;border-color:transparent;|<td colspan=2 style="}}<!-- | ||
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list14style|}}}" <!-- | -->{{#if:{{{groupwidth|}}}||width:100% !important;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list14style|}}}" <!-- | ||
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}} {{{listclass|}}}"><!-- | -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}} {{{listclass|}}}"><!-- | ||
--><div style="padding:{{{listpadding|0em 0.25em}}}"> | --><div style="padding:{{{listpadding|0em 0.25em}}}"> | ||
Line 209: | Line 211: | ||
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group15style|}}}"><!-- | -->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group15style|}}}"><!-- | ||
-->{{{group15}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;border-color:transparent;|<td colspan=2 style="}}<!-- | -->{{{group15}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;border-color:transparent;|<td colspan=2 style="}}<!-- | ||
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list15style|}}}" <!-- | -->{{#if:{{{groupwidth|}}}||width:100% !important;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list15style|}}}" <!-- | ||
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}} {{{listclass|}}}"><!-- | -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}} {{{listclass|}}}"><!-- | ||
--><div style="padding:{{{listpadding|0em 0.25em}}}"> | --><div style="padding:{{{listpadding|0em 0.25em}}}"> | ||
Line 219: | Line 221: | ||
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group16style|}}}"><!-- | -->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group16style|}}}"><!-- | ||
-->{{{group16}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;border-color:transparent;|<td colspan=2 style="}}<!-- | -->{{{group16}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;border-color:transparent;|<td colspan=2 style="}}<!-- | ||
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list16style|}}}" <!-- | -->{{#if:{{{groupwidth|}}}||width:100% !important;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list16style|}}}" <!-- | ||
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}} {{{listclass|}}}"><!-- | -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}} {{{listclass|}}}"><!-- | ||
--><div style="padding:{{{listpadding|0em 0.25em}}}"> | --><div style="padding:{{{listpadding|0em 0.25em}}}"> | ||
Line 229: | Line 231: | ||
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group17style|}}}"><!-- | -->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group17style|}}}"><!-- | ||
-->{{{group17}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;border-color:transparent;|<td colspan=2 style="}}<!-- | -->{{{group17}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;border-color:transparent;|<td colspan=2 style="}}<!-- | ||
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list17style|}}}" <!-- | -->{{#if:{{{groupwidth|}}}||width:100% !important;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list17style|}}}" <!-- | ||
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}} {{{listclass|}}}"><!-- | -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}} {{{listclass|}}}"><!-- | ||
--><div style="padding:{{{listpadding|0em 0.25em}}}"> | --><div style="padding:{{{listpadding|0em 0.25em}}}"> | ||
Line 239: | Line 241: | ||
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group18style|}}}"><!-- | -->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group18style|}}}"><!-- | ||
-->{{{group18}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;border-color:transparent;|<td colspan=2 style="}}<!-- | -->{{{group18}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;border-color:transparent;|<td colspan=2 style="}}<!-- | ||
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list18style|}}}" <!-- | -->{{#if:{{{groupwidth|}}}||width:100% !important;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list18style|}}}" <!-- | ||
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}} {{{listclass|}}}"><!-- | -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}} {{{listclass|}}}"><!-- | ||
--><div style="padding:{{{listpadding|0em 0.25em}}}"> | --><div style="padding:{{{listpadding|0em 0.25em}}}"> | ||
Line 249: | Line 251: | ||
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group19style|}}}"><!-- | -->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group19style|}}}"><!-- | ||
-->{{{group19}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;border-color:transparent;|<td colspan=2 style="}}<!-- | -->{{{group19}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;border-color:transparent;|<td colspan=2 style="}}<!-- | ||
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list19style|}}}" <!-- | -->{{#if:{{{groupwidth|}}}||width:100% !important;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list19style|}}}" <!-- | ||
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}} {{{listclass|}}}"><!-- | -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}} {{{listclass|}}}"><!-- | ||
--><div style="padding:{{{listpadding|0em 0.25em}}}"> | --><div style="padding:{{{listpadding|0em 0.25em}}}"> | ||
Line 259: | Line 261: | ||
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group20style|}}}"><!-- | -->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group20style|}}}"><!-- | ||
-->{{{group20}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;border-color:transparent;|<td colspan=2 style="}}<!-- | -->{{{group20}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;border-color:transparent;|<td colspan=2 style="}}<!-- | ||
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list20style|}}}" <!-- | -->{{#if:{{{groupwidth|}}}||width:100% !important;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list20style|}}}" <!-- | ||
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}} {{{listclass|}}}"><!-- | -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}} {{{listclass|}}}"><!-- | ||
--><div style="padding:{{{listpadding|0em 0.25em}}}"> | --><div style="padding:{{{listpadding|0em 0.25em}}}"> |
Latest revision as of 02:46, 30 October 2022
About this template
This template can be used to create navigational boxes to be placed at the end of articles.
Usage
Please remove unused (blank) parameters.
{{Navbox | name = | state = | title = | bodyclass = hlist | group1 = | list1 = | group2 = | list2 = | group3 = | list3 = }}
Example
The following code:
{{Navbox | name = | state = | title = Example | bodyclass = hlist | group1 = Example | list1 = * Example * Example | group2 = Example | list2 = * Example * Example * Example }}
Produces the following result:
|
Visit Template:Navbox/doc to edit this text! (How does this work?)