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)
No edit summary
Line 4: Line 4:
|-
|-
{{#if:{{{group1|{{{list1|}}}}}}|{{#if:{{{group1|}}}|
{{#if:{{{group1|{{{list1|}}}}}}|{{#if:{{{group1|}}}|
{{!}}class="navbox-group"{{!}}{{{group1}}}}}
!class="navbox-group"{{!}}{{{group1}}}}}
{{!}}class="navbox-list navbox-odd" style="width:100%;{{#if:{{{group1|}}}|text-align:left;}}" colspan="{{#if:{{{group1|}}}|1|2}}"{{!}}{{{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|}}}|
{{#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}}}}}
|}
|}

Revision as of 15:02, June 13, 2011