Template:Navbox: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
No edit summary
mNo edit summary
 
(41 intermediate revisions by 10 users not shown)
Line 1: Line 1:
<!--
{|class="navbox nowraplinks mw-collapsible autocollapse" cellspacing="2"
 
!class="navbox-title" colspan="2"|
Please do not edit without discussion first as this is a VERY complex template.
<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>
 
|-
-->{{Navbox/core
{{#if:{{{group1|{{{list1|}}}}}}|{{#if:{{{group1|}}}|
|name = {{{name<noinclude>|{{FULLPAGENAME}}</noinclude>}}}
!class="navbox-group"{{!}}{{{group1}}}}}
|navbar = {{{navbar|}}}
{{!}}class="navbox-list navbox-odd" style="width:100%;{{#if:{{{group1|}}}|text-align:left}}" colspan="{{#if:{{{group1|}}}|1|2}}"{{!}}{{{list1}}}}}
|state = {{{state|autocollapse}}}
|-
|title = {{{title|}}}
{{#if:{{{group2|{{{list2|}}}}}}|{{#if:{{{group2|}}}|
|image = {{{image|}}}
!class="navbox-group"{{!}}{{{group2}}}}}
|imageleft = {{{imageleft|}}}
{{!}}class="navbox-list navbox-even" style="width:100%;{{#if:{{{group2|}}}|text-align:left}}" colspan="{{#if:{{{group2|}}}|1|2}}"{{!}}{{{list2}}}}}
 
|-
|imagespan = {{#expr:{{#if:{{{body|}}}{{{list1|}}}|1|0}} +{{#if:{{{list2|}}}|1|0}} +{{#if:{{{list3|}}}|1|0}} +{{#if:{{{list4|}}}|1|0}} +{{#if:{{{list5|}}}|1|0}} +{{#if:{{{list6|}}}|1|0}} +{{#if:{{{list7|}}}|1|0}} +{{#if:{{{list8|}}}|1|0}} +{{#if:{{{list9|}}}|1|0}} +{{#if:{{{list10|}}}|1|0}} +{{#if:{{{list11|}}}|1|0}} +{{#if:{{{list12|}}}|1|0}} +{{#if:{{{list13|}}}|1|0}} +{{#if:{{{list14|}}}|1|0}} +{{#if:{{{list15|}}}|1|0}} +{{#if:{{{list16|}}}|1|0}} +{{#if:{{{list17|}}}|1|0}} +{{#if:{{{list18|}}}|1|0}} +{{#if:{{{list19|}}}|1|0}} +{{#if:{{{list20|}}}|1|0}}}}
{{#if:{{{group3|{{{list3|}}}}}}|{{#if:{{{group3|}}}|
 
!class="navbox-group"{{!}}{{{group3}}}}}
|span = {{#if:{{{group1|}}}{{{group2|}}}{{{group3|}}}{{{group4|}}}{{{group5|}}}{{{group6|}}}{{{group7|}}}{{{group8|}}}{{{group9|}}}{{{group10|}}}{{{group11|}}}{{{group12|}}}{{{group13|}}}{{{group14|}}}{{{group15|}}}{{{group16|}}}{{{group17|}}}{{{group18|}}}{{{group19|}}}{{{group20|}}}{{{imageleft|}}}|{{#if:{{{image|}}}|3|2}}|{{#if:{{{image|}}}|2|1}}}}
{{!}}class="navbox-list navbox-odd" style="width:100%;{{#if:{{{group3|}}}|text-align:left}}" colspan="{{#if:{{{group3|}}}|1|2}}"{{!}}{{{list3}}}}}
 
|-
|nogroups = {{#if:{{{group1|}}}{{{group2|}}}{{{group3|}}}{{{group4|}}}{{{group5|}}}{{{group6|}}}{{{group7|}}}{{{group8|}}}{{{group9|}}}{{{group10|}}}{{{group11|}}}{{{group12|}}}{{{group13|}}}{{{group14|}}}{{{group15|}}}{{{group16|}}}{{{group17|}}}{{{group18|}}}{{{group19|}}}{{{group20|}}}|false|true}}
{{#if:{{{group4|{{{list4|}}}}}}|{{#if:{{{group4|}}}|
 
!class="navbox-group"{{!}}{{{group4}}}}}
|bodystyle = {{{style|}}}{{{bodystyle|}}}
{{!}}class="navbox-list navbox-even" style="width:100%;{{#if:{{{group4|}}}|text-align:left}}" colspan="{{#if:{{{group4|}}}|1|2}}"{{!}}{{{list4}}}}}
|titlestyle = {{{titlestyle|}}}
|-
|abovestyle = background:#ddddff;{{{abovestyle|}}}
{{#if:{{{group5|{{{list5|}}}}}}|{{#if:{{{group5|}}}|
|belowstyle = background:#ddddff;{{{belowstyle|}}}
!class="navbox-group"{{!}}{{{group5}}}}}
 
{{!}}class="navbox-list navbox-odd" style="width:100%;{{#if:{{{group5|}}}|text-align:left}}" colspan="{{#if:{{{group5|}}}|1|2}}"{{!}}{{{list5}}}}}
|above = {{{above|}}}
|-
|below = {{{below|}}}
{{#if:{{{group6|{{{list6|}}}}}}|{{#if:{{{group6|}}}|
 
!class="navbox-group"{{!}}{{{group6}}}}}
|gs = white-space:nowrap;background:#ddddff;text-align:right;{{{groupstyle|}}}
{{!}}class="navbox-list navbox-even" style="width:100%;{{#if:{{{group6|}}}|text-align:left}}" colspan="{{#if:{{{group6|}}}|1|2}}"{{!}}{{{list6}}}}}
|os = width:100%;font-size:95%;{{{liststyle|}}}{{{oddstyle|}}}
|-
|es = width:100%;font-size:95%;background:#f7f7f7;{{{liststyle|}}}{{{evenstyle|}}}
{{#if:{{{group7|{{{list7|}}}}}}|{{#if:{{{group7|}}}|
 
!class="navbox-group"{{!}}{{{group7}}}}}
|g1 = {{{group1|}}}
{{!}}class="navbox-list navbox-odd" style="width:100%;{{#if:{{{group7|}}}|text-align:left}}" colspan="{{#if:{{{group7|}}}|1|2}}"{{!}}{{{list7}}}}}
|g2 = {{{group2|}}}
|-
|g3 = {{{group3|}}}
{{#if:{{{group8|{{{list8|}}}}}}|{{#if:{{{group8|}}}|
|g4 = {{{group4|}}}
!class="navbox-group"{{!}}{{{group8}}}}}
|g5 = {{{group5|}}}
{{!}}class="navbox-list navbox-even" style="width:100%;{{#if:{{{group8|}}}|text-align:left}}" colspan="{{#if:{{{group8|}}}|1|2}}"{{!}}{{{list8}}}}}
|g6 = {{{group6|}}}
|-
|g7 = {{{group7|}}}
{{#if:{{{group9|{{{list9|}}}}}}|{{#if:{{{group9|}}}|
|g8 = {{{group8|}}}
!class="navbox-group"{{!}}{{{group9}}}}}
|g9 = {{{group9|}}}
{{!}}class="navbox-list navbox-odd" style="width:100%;{{#if:{{{group9|}}}|text-align:left}}" colspan="{{#if:{{{group9|}}}|1|2}}"{{!}}{{{list9}}}}}
|g10 = {{{group10|}}}
|-
|g11 = {{{group11|}}}
{{#if:{{{group10|{{{list10|}}}}}}|{{#if:{{{group10|}}}|
|g12 = {{{group12|}}}
!class="navbox-group"{{!}}{{{group10}}}}}
|g13 = {{{group13|}}}
{{!}}class="navbox-list navbox-even" style="width:100%;{{#if:{{{group10|}}}|text-align:left}}" colspan="{{#if:{{{group10|}}}|1|2}}"{{!}}{{{list10}}}}}
|g14 = {{{group14|}}}
|-
|g15 = {{{group15|}}}
{{#if:{{{group11|{{{list11|}}}}}}|{{#if:{{{group11|}}}|
|g16 = {{{group16|}}}
!class="navbox-group"{{!}}{{{group11}}}}}
|g17 = {{{group17|}}}
{{!}}class="navbox-list navbox-odd" style="width:100%;{{#if:{{{group11|}}}|text-align:left}}" colspan="{{#if:{{{group11|}}}|1|2}}"{{!}}{{{list11}}}}}
|g18 = {{{group18|}}}
|-
|g19 = {{{group19|}}}
{{#if:{{{group12|{{{list12|}}}}}}|{{#if:{{{group12|}}}|
|g20 = {{{group20|}}}
!class="navbox-group"{{!}}{{{group12}}}}}
 
{{!}}class="navbox-list navbox-even" style="width:100%;{{#if:{{{group12|}}}|text-align:left}}" colspan="{{#if:{{{group12|}}}|1|2}}"{{!}}{{{list12}}}}}
|l1 = {{{body|}}}{{{list1|}}}{{{category|}}}
|-
|l2 = {{{list2|}}}
{{#if:{{{group13|{{{list13|}}}}}}|{{#if:{{{group13|}}}|
|l3 = {{{list3|}}}
!class="navbox-group"{{!}}{{{group13}}}}}
|l4 = {{{list4|}}}
{{!}}class="navbox-list navbox-odd" style="width:100%;{{#if:{{{group13|}}}|text-align:left}}" colspan="{{#if:{{{group13|}}}|1|2}}"{{!}}{{{list13}}}}}
|l5 = {{{list5|}}}
|-
|l6 = {{{list6|}}}
{{#if:{{{group14|{{{list14|}}}}}}|{{#if:{{{group14|}}}|
|l7 = {{{list7|}}}
!class="navbox-group"{{!}}{{{group14}}}}}
|l8 = {{{list8|}}}
{{!}}class="navbox-list navbox-even" style="width:100%;{{#if:{{{group14|}}}|text-align:left}}" colspan="{{#if:{{{group14|}}}|1|2}}"{{!}}{{{list14}}}}}
|l9 = {{{list9|}}}
|-
|l10 = {{{list10|}}}
{{#if:{{{group15|{{{list15|}}}}}}|{{#if:{{{group15|}}}|
|l11 = {{{list11|}}}
!class="navbox-group"{{!}}{{{group15}}}}}
|l12 = {{{list12|}}}
{{!}}class="navbox-list navbox-odd" style="width:100%;{{#if:{{{group15|}}}|text-align:left}}" colspan="{{#if:{{{group15|}}}|1|2}}"{{!}}{{{list15}}}}}
|l13 = {{{list13|}}}
|-
|l14 = {{{list14|}}}
{{#if:{{{group16|{{{list16|}}}}}}|{{#if:{{{group16|}}}|
|l15 = {{{list15|}}}
!class="navbox-group"{{!}}{{{group16}}}}}
|l16 = {{{list16|}}}
{{!}}class="navbox-list navbox-even" style="width:100%;{{#if:{{{group16|}}}|text-align:left}}" colspan="{{#if:{{{group16|}}}|1|2}}"{{!}}{{{list16}}}}}
|l17 = {{{list17|}}}
|}
|l18 = {{{list18|}}}
|l19 = {{{list19|}}}
|l20 = {{{list20|}}}
 
}}

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