Template:Navbox: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
(Undid revision 185294 by Sky2042 (Talk) gibberish)
m (Changed protection settings for "Template:Navbox": high traffic page ([Edit=Allow only established users] (indefinite) [Move=Allow only administrators] (indefinite)))
(32 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{Navbox/core
{|class="navbox nowraplinks mw-collapsible autocollapse" cellspacing="2"
|name = {{{name<noinclude>|{{PAGENAME}}</noinclude>}}}
!class="navbox-title" colspan="2"|
|navbar = {{{navbar|}}}
<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>
|state = {{{state|autocollapse}}}
|-
|title = {{{title|}}}
{{#if:{{{group1|{{{list1|}}}}}}|{{#if:{{{group1|}}}|
|image = {{{image|}}}
!class="navbox-group"{{!}}{{{group1}}}}}
|imageleft = {{{imageleft|}}}
{{!}}class="navbox-list navbox-odd" style="width:100%;{{#if:{{{group1|}}}|text-align:left}}" colspan="{{#if:{{{group1|}}}|1|2}}"{{!}}{{{list1}}}}}
 
|-
|imagespan = {{#expr:{{#if:{{{body|}}}{{{l1|}}}|1|0}} +{{#if:{{{l2|}}}|1|0}} +{{#if:{{{l3|}}}|1|0}} +{{#if:{{{l4|}}}|1|0}} +{{#if:{{{l5|}}}|1|0}} +{{#if:{{{l6|}}}|1|0}} +{{#if:{{{l7|}}}|1|0}} +{{#if:{{{l8|}}}|1|0}} +{{#if:{{{l9|}}}|1|0}} +{{#if:{{{l10|}}}|1|0}} +{{#if:{{{l11|}}}|1|0}} +{{#if:{{{l12|}}}|1|0}} +{{#if:{{{l13|}}}|1|0}} +{{#if:{{{l14|}}}|1|0}} +{{#if:{{{l15|}}}|1|0}} +{{#if:{{{l16|}}}|1|0}} +{{#if:{{{l17|}}}|1|0}} +{{#if:{{{l18|}}}|1|0}} +{{#if:{{{l19|}}}|1|0}} +{{#if:{{{l20|}}}|1|0}}}}
{{#if:{{{group2|{{{list2|}}}}}}|{{#if:{{{group2|}}}|
 
!class="navbox-group"{{!}}{{{group2}}}}}
|span = {{#if:{{{g1|}}}{{{g2|}}}{{{g3|}}}{{{g4|}}}{{{g5|}}}{{{g6|}}}{{{g7|}}}{{{g8|}}}{{{g9|}}}{{{g10|}}}{{{g11|}}}{{{g12|}}}{{{g13|}}}{{{g14|}}}{{{g15|}}}{{{g16|}}}{{{g17|}}}{{{g18|}}}{{{g19|}}}{{{g20|}}}{{{imageleft|}}}|{{#if:{{{image|}}}|3|2}}|{{#if:{{{image|}}}|2|1}}}}
{{!}}class="navbox-list navbox-even" style="width:100%;{{#if:{{{group2|}}}|text-align:left}}" colspan="{{#if:{{{group2|}}}|1|2}}"{{!}}{{{list2}}}}}
 
|-
|nogroups = {{#if:{{{g1|}}}{{{g2|}}}{{{g3|}}}{{{g4|}}}{{{g5|}}}{{{g6|}}}{{{g7|}}}{{{g8|}}}{{{g9|}}}{{{g10|}}}{{{g11|}}}{{{g12|}}}{{{g13|}}}{{{g14|}}}{{{g15|}}}{{{g16|}}}{{{g17|}}}{{{g18|}}}{{{g19|}}}{{{g20|}}}|false|true}}
{{#if:{{{group3|{{{list3|}}}}}}|{{#if:{{{group3|}}}|
 
!class="navbox-group"{{!}}{{{group3}}}}}
|bodystyle = {{{style|}}}{{{bodystyle|}}}
{{!}}class="navbox-list navbox-odd" style="width:100%;{{#if:{{{group3|}}}|text-align:left}}" colspan="{{#if:{{{group3|}}}|1|2}}"{{!}}{{{list3}}}}}
|titlestyle = {{{titlestyle|}}}
|-
 
{{#if:{{{group4|{{{list4|}}}}}}|{{#if:{{{group4|}}}|
|above = {{{above|}}}
!class="navbox-group"{{!}}{{{group4}}}}}
|below = {{{below|}}}
{{!}}class="navbox-list navbox-even" style="width:100%;{{#if:{{{group4|}}}|text-align:left}}" colspan="{{#if:{{{group4|}}}|1|2}}"{{!}}{{{list4}}}}}
 
|-
|gs = white-space:nowrap; text-align:right; {{{groupstyle|}}}
{{#if:{{{group5|{{{list5|}}}}}}|{{#if:{{{group5|}}}|
|os = width:100%; font-size:95%; {{{liststyle|}}}{{{oddstyle|}}}
!class="navbox-group"{{!}}{{{group5}}}}}
|es = width:100%; font-size:95%; background:#f7f7f7; {{{liststyle|}}}{{{evenstyle|}}}
{{!}}class="navbox-list navbox-odd" style="width:100%;{{#if:{{{group5|}}}|text-align:left}}" colspan="{{#if:{{{group5|}}}|1|2}}"{{!}}{{{list5}}}}}
 
|-
|g1 = {{{g1|}}}
{{#if:{{{group6|{{{list6|}}}}}}|{{#if:{{{group6|}}}|
|g2 = {{{g2|}}}
!class="navbox-group"{{!}}{{{group6}}}}}
|g3 = {{{g3|}}}
{{!}}class="navbox-list navbox-even" style="width:100%;{{#if:{{{group6|}}}|text-align:left}}" colspan="{{#if:{{{group6|}}}|1|2}}"{{!}}{{{list6}}}}}
|g4 = {{{g4|}}}
|-
|g5 = {{{g5|}}}
{{#if:{{{group7|{{{list7|}}}}}}|{{#if:{{{group7|}}}|
|g6 = {{{g6|}}}
!class="navbox-group"{{!}}{{{group7}}}}}
|g7 = {{{g7|}}}
{{!}}class="navbox-list navbox-odd" style="width:100%;{{#if:{{{group7|}}}|text-align:left}}" colspan="{{#if:{{{group7|}}}|1|2}}"{{!}}{{{list7}}}}}
|g8 = {{{g8|}}}
|-
|g9 = {{{g9|}}}
{{#if:{{{group8|{{{list8|}}}}}}|{{#if:{{{group8|}}}|
|g10 = {{{g10|}}}
!class="navbox-group"{{!}}{{{group8}}}}}
|g11 = {{{g11|}}}
{{!}}class="navbox-list navbox-even" style="width:100%;{{#if:{{{group8|}}}|text-align:left}}" colspan="{{#if:{{{group8|}}}|1|2}}"{{!}}{{{list8}}}}}
|g12 = {{{g12|}}}
|-
|g13 = {{{g13|}}}
{{#if:{{{group9|{{{list9|}}}}}}|{{#if:{{{group9|}}}|
|g14 = {{{g14|}}}
!class="navbox-group"{{!}}{{{group9}}}}}
|g15 = {{{g15|}}}
{{!}}class="navbox-list navbox-odd" style="width:100%;{{#if:{{{group9|}}}|text-align:left}}" colspan="{{#if:{{{group9|}}}|1|2}}"{{!}}{{{list9}}}}}
|g16 = {{{g16|}}}
|-
|g17 = {{{g17|}}}
{{#if:{{{group10|{{{list10|}}}}}}|{{#if:{{{group10|}}}|
|g18 = {{{g18|}}}
!class="navbox-group"{{!}}{{{group10}}}}}
|g19 = {{{g19|}}}
{{!}}class="navbox-list navbox-even" style="width:100%;{{#if:{{{group10|}}}|text-align:left}}" colspan="{{#if:{{{group10|}}}|1|2}}"{{!}}{{{list10}}}}}
|g20 = {{{g20|}}}
|-
 
{{#if:{{{group11|{{{list11|}}}}}}|{{#if:{{{group11|}}}|
|l1 = {{{body|}}}{{{l1|}}}{{{category|}}}
!class="navbox-group"{{!}}{{{group11}}}}}
|l2 = {{{l2|}}}
{{!}}class="navbox-list navbox-odd" style="width:100%;{{#if:{{{group11|}}}|text-align:left}}" colspan="{{#if:{{{group11|}}}|1|2}}"{{!}}{{{list11}}}}}
|l3 = {{{l3|}}}
|-
|l4 = {{{l4|}}}
{{#if:{{{group12|{{{list12|}}}}}}|{{#if:{{{group12|}}}|
|l5 = {{{l5|}}}
!class="navbox-group"{{!}}{{{group12}}}}}
|l6 = {{{l6|}}}
{{!}}class="navbox-list navbox-even" style="width:100%;{{#if:{{{group12|}}}|text-align:left}}" colspan="{{#if:{{{group12|}}}|1|2}}"{{!}}{{{list12}}}}}
|l7 = {{{l7|}}}
|-
|l8 = {{{l8|}}}
{{#if:{{{group13|{{{list13|}}}}}}|{{#if:{{{group13|}}}|
|l9 = {{{l9|}}}
!class="navbox-group"{{!}}{{{group13}}}}}
|l10 = {{{l10|}}}
{{!}}class="navbox-list navbox-odd" style="width:100%;{{#if:{{{group13|}}}|text-align:left}}" colspan="{{#if:{{{group13|}}}|1|2}}"{{!}}{{{list13}}}}}
|l11 = {{{l11|}}}
|-
|l12 = {{{l12|}}}
{{#if:{{{group14|{{{list14|}}}}}}|{{#if:{{{group14|}}}|
|l13 = {{{l13|}}}
!class="navbox-group"{{!}}{{{group14}}}}}
|l14 = {{{l14|}}}
{{!}}class="navbox-list navbox-even" style="width:100%;{{#if:{{{group14|}}}|text-align:left}}" colspan="{{#if:{{{group14|}}}|1|2}}"{{!}}{{{list14}}}}}
|l15 = {{{l15|}}}
|-
|l16 = {{{l16|}}}
{{#if:{{{group15|{{{list15|}}}}}}|{{#if:{{{group15|}}}|
|l17 = {{{l17|}}}
!class="navbox-group"{{!}}{{{group15}}}}}
|l18 = {{{l18|}}}
{{!}}class="navbox-list navbox-odd" style="width:100%;{{#if:{{{group15|}}}|text-align:left}}" colspan="{{#if:{{{group15|}}}|1|2}}"{{!}}{{{list15}}}}}
|l19 = {{{l19|}}}
|-
|l20 = {{{l20|}}}
{{#if:{{{group16|{{{list16|}}}}}}|{{#if:{{{group16|}}}|
 
!class="navbox-group"{{!}}{{{group16}}}}}
}}<noinclude>
{{!}}class="navbox-list navbox-even" style="width:100%;{{#if:{{{group16|}}}|text-align:left}}" colspan="{{#if:{{{group16|}}}|1|2}}"{{!}}{{{list16}}}}}
[[Category:Navigational templates| ]]
|}
</noinclude>

Revision as of 08:12, May 10, 2023