Template:Navbox: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
(fixing cases where a navbox may have lists but no groups)
m (Changed protection settings for "Template:Navbox": high traffic page ([Edit=Allow only established users] (indefinite) [Move=Allow only administrators] (indefinite)))
(22 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{|class="navbox nowraplinks collapsible autocollapse" cellspacing="2"
{|class="navbox nowraplinks mw-collapsible autocollapse" cellspacing="2"
!class="navbox-title" colspan="2"|
<div class="navspace nomobile" style="float:left;width:4em;text-align:left">{{Tnavbar|{{{name}}}|ns={{{namespace|Template}}}}}</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|}}}|
!class="navbox-group"{{!}}{{{group1}}}}}
{{!}}class="navbox-list navbox-odd" style="width:100%;{{#if:{{{group1|}}}|text-align:left}}" colspan="{{#if:{{{group1|}}}|1|2}}"{{!}}{{{list1}}}}}
|-
|-
{{#if:{{{group1|{{{list1|}}}}}}|
{{#if:{{{group2|{{{list2|}}}}}}|{{#if:{{{group2|}}}|
{{!}}class="navbox-group"{{!}}{{{group1}}}
!class="navbox-group"{{!}}{{{group2}}}}}
{{!}}class="navbox-list navbox-odd" style="width:100%;text-align:left;"{{!}}{{{list1}}}
{{!}}class="navbox-list navbox-even" style="width:100%;{{#if:{{{group2|}}}|text-align:left}}" colspan="{{#if:{{{group2|}}}|1|2}}"{{!}}{{{list2}}}}}
{{!}}-}}
|-
{{#if:{{{group2|{{{list2|}}}}}}|
{{#if:{{{group3|{{{list3|}}}}}}|{{#if:{{{group3|}}}|
{{!}}class="navbox-group"{{!}}{{{group2}}}
!class="navbox-group"{{!}}{{{group3}}}}}
{{!}}class="navbox-list navbox-even" style="width:100%;text-align:left;"{{!}}{{{list2}}}
{{!}}class="navbox-list navbox-odd" style="width:100%;{{#if:{{{group3|}}}|text-align:left}}" colspan="{{#if:{{{group3|}}}|1|2}}"{{!}}{{{list3}}}}}
{{!}}-}}
|-
{{#if:{{{group3|{{{list3|}}}}}}|
{{#if:{{{group4|{{{list4|}}}}}}|{{#if:{{{group4|}}}|
{{!}}class="navbox-group"{{!}}{{{group3}}}
!class="navbox-group"{{!}}{{{group4}}}}}
{{!}}class="navbox-list navbox-odd" style="width:100%;text-align:left;"{{!}}{{{list3}}}
{{!}}class="navbox-list navbox-even" style="width:100%;{{#if:{{{group4|}}}|text-align:left}}" colspan="{{#if:{{{group4|}}}|1|2}}"{{!}}{{{list4}}}}}
{{!}}-}}
|-
{{#if:{{{group4|{{{list4|}}}}}}|
{{#if:{{{group5|{{{list5|}}}}}}|{{#if:{{{group5|}}}|
{{!}}class="navbox-group"{{!}}{{{group4}}}
!class="navbox-group"{{!}}{{{group5}}}}}
{{!}}class="navbox-list navbox-even" style="width:100%;text-align:left;"{{!}}{{{list4}}}
{{!}}class="navbox-list navbox-odd" style="width:100%;{{#if:{{{group5|}}}|text-align:left}}" colspan="{{#if:{{{group5|}}}|1|2}}"{{!}}{{{list5}}}}}
{{!}}-}}
|-
{{#if:{{{group5|{{{list5|}}}}}}|
{{#if:{{{group6|{{{list6|}}}}}}|{{#if:{{{group6|}}}|
{{!}}class="navbox-group"{{!}}{{{group5}}}
!class="navbox-group"{{!}}{{{group6}}}}}
{{!}}class="navbox-list navbox-odd" style="width:100%;text-align:left;"{{!}}{{{list5}}}
{{!}}class="navbox-list navbox-even" style="width:100%;{{#if:{{{group6|}}}|text-align:left}}" colspan="{{#if:{{{group6|}}}|1|2}}"{{!}}{{{list6}}}}}
{{!}}-}}
|-
{{#if:{{{group6|{{{list6|}}}}}}|
{{#if:{{{group7|{{{list7|}}}}}}|{{#if:{{{group7|}}}|
{{!}}class="navbox-group"{{!}}{{{group6}}}
!class="navbox-group"{{!}}{{{group7}}}}}
{{!}}class="navbox-list navbox-even" style="width:100%;text-align:left;"{{!}}{{{list6}}}
{{!}}class="navbox-list navbox-odd" style="width:100%;{{#if:{{{group7|}}}|text-align:left}}" colspan="{{#if:{{{group7|}}}|1|2}}"{{!}}{{{list7}}}}}
{{!}}-}}
|-
{{#if:{{{group7|{{{list7|}}}}}}|
{{#if:{{{group8|{{{list8|}}}}}}|{{#if:{{{group8|}}}|
{{!}}class="navbox-group"{{!}}{{{group7}}}
!class="navbox-group"{{!}}{{{group8}}}}}
{{!}}class="navbox-list navbox-odd" style="width:100%;text-align:left;"{{!}}{{{list7}}}
{{!}}class="navbox-list navbox-even" style="width:100%;{{#if:{{{group8|}}}|text-align:left}}" colspan="{{#if:{{{group8|}}}|1|2}}"{{!}}{{{list8}}}}}
{{!}}-}}
|-
{{#if:{{{group8|{{{list8|}}}}}}|
{{#if:{{{group9|{{{list9|}}}}}}|{{#if:{{{group9|}}}|
{{!}}class="navbox-group"{{!}}{{{group8}}}
!class="navbox-group"{{!}}{{{group9}}}}}
{{!}}class="navbox-list navbox-even" style="width:100%;text-align:left;"{{!}}{{{list8}}}
{{!}}class="navbox-list navbox-odd" style="width:100%;{{#if:{{{group9|}}}|text-align:left}}" colspan="{{#if:{{{group9|}}}|1|2}}"{{!}}{{{list9}}}}}
{{!}}-}}
|-
{{#if:{{{group9|{{{list9|}}}}}}|
{{#if:{{{group10|{{{list10|}}}}}}|{{#if:{{{group10|}}}|
{{!}}class="navbox-group"{{!}}{{{group9}}}
!class="navbox-group"{{!}}{{{group10}}}}}
{{!}}class="navbox-list navbox-odd" style="width:100%;text-align:left;"{{!}}{{{list9}}}
{{!}}class="navbox-list navbox-even" style="width:100%;{{#if:{{{group10|}}}|text-align:left}}" colspan="{{#if:{{{group10|}}}|1|2}}"{{!}}{{{list10}}}}}
{{!}}-}}
|-
{{#if:{{{group10|{{{list10|}}}}}}|
{{#if:{{{group11|{{{list11|}}}}}}|{{#if:{{{group11|}}}|
{{!}}class="navbox-group"{{!}}{{{group10}}}
!class="navbox-group"{{!}}{{{group11}}}}}
{{!}}class="navbox-list navbox-even" style="width:100%;text-align:left;"{{!}}{{{list10}}}}}
{{!}}class="navbox-list navbox-odd" style="width:100%;{{#if:{{{group11|}}}|text-align:left}}" colspan="{{#if:{{{group11|}}}|1|2}}"{{!}}{{{list11}}}}}
|-
{{#if:{{{group12|{{{list12|}}}}}}|{{#if:{{{group12|}}}|
!class="navbox-group"{{!}}{{{group12}}}}}
{{!}}class="navbox-list navbox-even" style="width:100%;{{#if:{{{group12|}}}|text-align:left}}" colspan="{{#if:{{{group12|}}}|1|2}}"{{!}}{{{list12}}}}}
|-
{{#if:{{{group13|{{{list13|}}}}}}|{{#if:{{{group13|}}}|
!class="navbox-group"{{!}}{{{group13}}}}}
{{!}}class="navbox-list navbox-odd" style="width:100%;{{#if:{{{group13|}}}|text-align:left}}" colspan="{{#if:{{{group13|}}}|1|2}}"{{!}}{{{list13}}}}}
|-
{{#if:{{{group14|{{{list14|}}}}}}|{{#if:{{{group14|}}}|
!class="navbox-group"{{!}}{{{group14}}}}}
{{!}}class="navbox-list navbox-even" style="width:100%;{{#if:{{{group14|}}}|text-align:left}}" colspan="{{#if:{{{group14|}}}|1|2}}"{{!}}{{{list14}}}}}
|-
{{#if:{{{group15|{{{list15|}}}}}}|{{#if:{{{group15|}}}|
!class="navbox-group"{{!}}{{{group15}}}}}
{{!}}class="navbox-list navbox-odd" style="width:100%;{{#if:{{{group15|}}}|text-align:left}}" colspan="{{#if:{{{group15|}}}|1|2}}"{{!}}{{{list15}}}}}
|-
{{#if:{{{group16|{{{list16|}}}}}}|{{#if:{{{group16|}}}|
!class="navbox-group"{{!}}{{{group16}}}}}
{{!}}class="navbox-list navbox-even" style="width:100%;{{#if:{{{group16|}}}|text-align:left}}" colspan="{{#if:{{{group16|}}}|1|2}}"{{!}}{{{list16}}}}}
|}
|}

Revision as of 08:12, May 10, 2023