25,109
edits
(fixing cases where a navbox may have lists but no groups) |
(stop group name from displaying if only list is specified) |
||
Line 3: | Line 3: | ||
!class="navbox-title" colspan="2"|<div style="float:left;width:6em;text-align:left;">{{Tnavbar|{{{name|}}}|mini=1}}</div><span style="font-size:110%">{{{title}}}</span> | !class="navbox-title" colspan="2"|<div style="float:left;width:6em;text-align:left;">{{Tnavbar|{{{name|}}}|mini=1}}</div><span style="font-size:110%">{{{title}}}</span> | ||
|- | |- | ||
{{#if:{{{group1|{{{list1|}}}}}}| | {{#if:{{{group1|{{{list1|}}}}}}|{{#if:{{{group1|}}}| | ||
{{!}}class="navbox-group"{{!}}{{{group1}}} | {{!}}class="navbox-group"{{!}}{{{group1}}}}} | ||
{{!}}class="navbox-list navbox-odd" style="width:100%;text-align:left;"{{!}}{{{list1}}} | {{!}}class="navbox-list navbox-odd" style="width:100%;{{#if:{{{group1|}}}|text-align:left;}}" colspan="{{#if:{{{group1|}}}|1|2}}"{{!}}{{{list1}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{group2|{{{list2|}}}}}}| | {{#if:{{{group2|{{{list2|}}}}}}|{{#if:{{{group2|}}}| | ||
{{!}}class="navbox-group"{{!}}{{{group2}}} | {{!}}class="navbox-group"{{!}}{{{group2}}}}} | ||
{{!}}class="navbox-list navbox-even" style="width:100%;text-align:left;"{{!}}{{{list2}}} | {{!}}class="navbox-list navbox-even" style="width:100%;{{#if:{{{group2|}}}|text-align:left;}}" colspan="{{#if:{{{group2|}}}|1|2}}"{{!}}{{{list2}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{group3|{{{list3|}}}}}}| | {{#if:{{{group3|{{{list3|}}}}}}|{{#if:{{{group3|}}}| | ||
{{!}}class="navbox-group"{{!}}{{{group3}}} | {{!}}class="navbox-group"{{!}}{{{group3}}}}} | ||
{{!}}class="navbox-list navbox-odd" style="width:100%;text-align:left;"{{!}}{{{list3}}} | {{!}}class="navbox-list navbox-odd" style="width:100%;{{#if:{{{group3|}}}|text-align:left;}}" colspan="{{#if:{{{group3|}}}|1|2}}"{{!}}{{{list3}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{group4|{{{list4|}}}}}}| | {{#if:{{{group4|{{{list4|}}}}}}|{{#if:{{{group4|}}}| | ||
{{!}}class="navbox-group"{{!}}{{{group4}}} | {{!}}class="navbox-group"{{!}}{{{group4}}}}} | ||
{{!}}class="navbox-list navbox-even" style="width:100%;text-align:left;"{{!}}{{{list4}}} | {{!}}class="navbox-list navbox-even" style="width:100%;{{#if:{{{group4|}}}|text-align:left;}}" colspan="{{#if:{{{group4|}}}|1|2}}"{{!}}{{{list4}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{group5|{{{list5|}}}}}}| | {{#if:{{{group5|{{{list5|}}}}}}|{{#if:{{{group5|}}}| | ||
{{!}}class="navbox-group"{{!}}{{{group5}}} | {{!}}class="navbox-group"{{!}}{{{group5}}}}} | ||
{{!}}class="navbox-list navbox-odd" style="width:100%;text-align:left;"{{!}}{{{list5}}} | {{!}}class="navbox-list navbox-odd" style="width:100%;{{#if:{{{group5|}}}|text-align:left;}}" colspan="{{#if:{{{group5|}}}|1|2}}"{{!}}{{{list5}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{group6|{{{list6|}}}}}}| | {{#if:{{{group6|{{{list6|}}}}}}|{{#if:{{{group6|}}}| | ||
{{!}}class="navbox-group"{{!}}{{{group6}}} | {{!}}class="navbox-group"{{!}}{{{group6}}}}} | ||
{{!}}class="navbox-list navbox-even" style="width:100%;text-align:left;"{{!}}{{{list6}}} | {{!}}class="navbox-list navbox-even" style="width:100%;{{#if:{{{group6|}}}|text-align:left;}}" colspan="{{#if:{{{group6|}}}|1|2}}"{{!}}{{{list6}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{group7|{{{list7|}}}}}}| | {{#if:{{{group7|{{{list7|}}}}}}|{{#if:{{{group7|}}}| | ||
{{!}}class="navbox-group"{{!}}{{{group7}}} | {{!}}class="navbox-group"{{!}}{{{group7}}}}} | ||
{{!}}class="navbox-list navbox-odd" style="width:100%;text-align:left;"{{!}}{{{list7}}} | {{!}}class="navbox-list navbox-odd" style="width:100%;{{#if:{{{group7|}}}|text-align:left;}}" colspan="{{#if:{{{group7|}}}|1|2}}"{{!}}{{{list7}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{group8|{{{list8|}}}}}}| | {{#if:{{{group8|{{{list8|}}}}}}|{{#if:{{{group8|}}}| | ||
{{!}}class="navbox-group"{{!}}{{{group8}}} | {{!}}class="navbox-group"{{!}}{{{group8}}}}} | ||
{{!}}class="navbox-list navbox-even" style="width:100%;text-align:left;"{{!}}{{{list8}}} | {{!}}class="navbox-list navbox-even" style="width:100%;{{#if:{{{group8|}}}|text-align:left;}}" colspan="{{#if:{{{group8|}}}|1|2}}"{{!}}{{{list8}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{group9|{{{list9|}}}}}}| | {{#if:{{{group9|{{{list9|}}}}}}|{{#if:{{{group9|}}}| | ||
{{!}}class="navbox-group"{{!}}{{{group9}}} | {{!}}class="navbox-group"{{!}}{{{group9}}}}} | ||
{{!}}class="navbox-list navbox-odd" style="width:100%;text-align:left;"{{!}}{{{list9}}} | {{!}}class="navbox-list navbox-odd" style="width:100%;{{#if:{{{group9|}}}|text-align:left;}}" colspan="{{#if:{{{group9|}}}|1|2}}"{{!}}{{{list9}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{group10|{{{list10|}}}}}}| | {{#if:{{{group10|{{{list10|}}}}}}|{{#if:{{{group10|}}}| | ||
{{!}}class="navbox-group"{{!}}{{{group10}}} | {{!}}class="navbox-group"{{!}}{{{group10}}}}} | ||
{{!}}class="navbox-list navbox-even" style="width:100%;text-align:left;"{{!}}{{{list10}}}}} | {{!}}class="navbox-list navbox-even" style="width:100%;{{#if:{{{group10|}}}|text-align:left;}}" colspan="{{#if:{{{group10|}}}|1|2}}"{{!}}{{{list10}}}}} | ||
|} | |} |