Template:Navbox: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
(stop group name from displaying if only list is specified)
mNo edit summary
 
(23 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 nophone" style="width:4em;float:left;text-align:left;line-height:2.1">{{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:{{{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:{{{group2|{{{list2|}}}}}}|{{#if:{{{group2|}}}|
{{#if:{{{group2|{{{list2|}}}}}}|{{#if:{{{group2|}}}|
{{!}}class="navbox-group"{{!}}{{{group2}}}}}
!class="navbox-group"{{!}}{{{group2}}}}}
{{!}}class="navbox-list navbox-even" style="width:100%;{{#if:{{{group2|}}}|text-align:left;}}" colspan="{{#if:{{{group2|}}}|1|2}}"{{!}}{{{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|}}}|
{{#if:{{{group3|{{{list3|}}}}}}|{{#if:{{{group3|}}}|
{{!}}class="navbox-group"{{!}}{{{group3}}}}}
!class="navbox-group"{{!}}{{{group3}}}}}
{{!}}class="navbox-list navbox-odd" style="width:100%;{{#if:{{{group3|}}}|text-align:left;}}" colspan="{{#if:{{{group3|}}}|1|2}}"{{!}}{{{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|}}}|
{{#if:{{{group4|{{{list4|}}}}}}|{{#if:{{{group4|}}}|
{{!}}class="navbox-group"{{!}}{{{group4}}}}}
!class="navbox-group"{{!}}{{{group4}}}}}
{{!}}class="navbox-list navbox-even" style="width:100%;{{#if:{{{group4|}}}|text-align:left;}}" colspan="{{#if:{{{group4|}}}|1|2}}"{{!}}{{{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|}}}|
{{#if:{{{group5|{{{list5|}}}}}}|{{#if:{{{group5|}}}|
{{!}}class="navbox-group"{{!}}{{{group5}}}}}
!class="navbox-group"{{!}}{{{group5}}}}}
{{!}}class="navbox-list navbox-odd" style="width:100%;{{#if:{{{group5|}}}|text-align:left;}}" colspan="{{#if:{{{group5|}}}|1|2}}"{{!}}{{{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|}}}|
{{#if:{{{group6|{{{list6|}}}}}}|{{#if:{{{group6|}}}|
{{!}}class="navbox-group"{{!}}{{{group6}}}}}
!class="navbox-group"{{!}}{{{group6}}}}}
{{!}}class="navbox-list navbox-even" style="width:100%;{{#if:{{{group6|}}}|text-align:left;}}" colspan="{{#if:{{{group6|}}}|1|2}}"{{!}}{{{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|}}}|
{{#if:{{{group7|{{{list7|}}}}}}|{{#if:{{{group7|}}}|
{{!}}class="navbox-group"{{!}}{{{group7}}}}}
!class="navbox-group"{{!}}{{{group7}}}}}
{{!}}class="navbox-list navbox-odd" style="width:100%;{{#if:{{{group7|}}}|text-align:left;}}" colspan="{{#if:{{{group7|}}}|1|2}}"{{!}}{{{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|}}}|
{{#if:{{{group8|{{{list8|}}}}}}|{{#if:{{{group8|}}}|
{{!}}class="navbox-group"{{!}}{{{group8}}}}}
!class="navbox-group"{{!}}{{{group8}}}}}
{{!}}class="navbox-list navbox-even" style="width:100%;{{#if:{{{group8|}}}|text-align:left;}}" colspan="{{#if:{{{group8|}}}|1|2}}"{{!}}{{{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|}}}|
{{#if:{{{group9|{{{list9|}}}}}}|{{#if:{{{group9|}}}|
{{!}}class="navbox-group"{{!}}{{{group9}}}}}
!class="navbox-group"{{!}}{{{group9}}}}}
{{!}}class="navbox-list navbox-odd" style="width:100%;{{#if:{{{group9|}}}|text-align:left;}}" colspan="{{#if:{{{group9|}}}|1|2}}"{{!}}{{{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|}}}|
{{#if:{{{group10|{{{list10|}}}}}}|{{#if:{{{group10|}}}|
{{!}}class="navbox-group"{{!}}{{{group10}}}}}
!class="navbox-group"{{!}}{{{group10}}}}}
{{!}}class="navbox-list navbox-even" style="width:100%;{{#if:{{{group10|}}}|text-align:left;}}" colspan="{{#if:{{{group10|}}}|1|2}}"{{!}}{{{list10}}}}}
{{!}}class="navbox-list navbox-even" style="width:100%;{{#if:{{{group10|}}}|text-align:left}}" colspan="{{#if:{{{group10|}}}|1|2}}"{{!}}{{{list10}}}}}
|-
{{#if:{{{group11|{{{list11|}}}}}}|{{#if:{{{group11|}}}|
!class="navbox-group"{{!}}{{{group11}}}}}
{{!}}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}}}}}
|}
|}

Latest revision as of 20:15, December 16, 2024