Difference between revisions of "Template:Infobox major league soccer"

From blackwiki
Jump to navigation Jump to search
imported>Thumperward
(get rid of mandatories, split cats to doc page. first step in converting this to an infobox)
imported>Thumperward
(limit this to what's needed on the MLS article, to help merge it)
Line 1: Line 1:
{| class="infobox " cellspacing="5" style="width: 28em; font-size: 90%; text-align: left;"
+
{{ infobox
| colspan="2" style="text-align: center; font-size: 130%; font-weight: bold;" | {{{name|{{PAGENAME}}}}}
+
| title  = {{{name|{{PAGENAME}}}}}
|-
+
| image  = [[Image:{{{logo|}}}|{{#if:{{{pixels|}}}|{{{pixels}}}px|200px}}]]
{{#if:{{{current|}}} |
+
 
{{!}} colspan="2" style="text-align: center;" {{!}} [[Image:Soccerball current event.svg|33px|]] ''{{{current}}}''
+
| label1  = Countries
{{!}}-
+
| data1  = {{flag|{{{country|}}}}}
}}
+
| label2  = Confederation
{{#if: {{{logo|}}} |
+
| data2  = {{{confed|}}}
{{!}} colspan="2" style="text-align: center;" {{!}} [[Image:{{{logo|}}}|{{#if:{{{pixels|}}}|{{{pixels}}}px|200px}}|{{{name|{{PAGENAME}}}}}]]
+
| label3  = Founded
{{!}}-
+
| data3  = {{{founded|}}}
}}
+
| label4  = First season
{{#if: {{{country|}}} |
+
| data4  = {{{first|}}}
! Countries
+
| label6  = Conferences
{{!}} {{#ifexist:Template:Country data {{{country}}} | {{flag|{{{country}}}}} | {{{country}}} }}
+
| data6  = {{{divisions|}}}
{{!}}-
+
| label7  = Number of teams
}}
+
| data7  = {{{teams|}}}
{{#if:{{{confed|}}} |
+
| label11 = Domestic cup
! Confederation
+
| data11  = {{{domest_cup|}}}
{{!}} {{#ifexist:{{{confed}}} | [[{{{confed}}}]] | {{{confed}}} }}
+
| label12 = International cups
{{!}}-
+
| data12  = {{{confed_cup|}}}
}}
+
| label13 = Current [[MLS Cup]] holder
{{#if:{{{founded|}}} |
+
| data13  = {{{champions|}}}<br />({{{season1|}}})
! Founded
+
| label14 = Current [[MLS Supporters' Shield|Supporters' Shield]] holder
{{!}} {{#ifexist:{{{founded}}} | [[{{{founded}}}]] | {{{founded}}} }}
+
| data14  = {{{shield|}}}<br />({{{season2|}}})
{{!}}-
+
| label15 = Most MLS Cups
}}
+
| data15  = {{{most_champs|}}}
{{#if:{{{first|}}} |
+
| label16 = Most Supporters' Shields
! First season
+
| data16  = {{{most_shields|}}}
{{!}} {{#ifexist:{{{first}}} | [[{{{first}}}]] | {{{first}}} }}
+
| label17 = TV partners
{{!}}-
+
| data17  = {{{tv|}}}
}}
+
| label18 = Website
{{#if:{{{folded|}}} |
+
| data18  = {{{website|}}}
! Folded
+
| data19  = [[Image:Soccerball current event.svg|33px|]] ''{{{current}}}''
{{!}} {{{folded}}}
+
}}<noinclude>{{documentation}}</noinclude>
{{!}}-
 
}}
 
{{#if:{{{divisions|}}} |
 
! Conferences
 
{{!}} {{{divisions}}}
 
{{!}}-
 
}}
 
{{#if:{{{teams|}}} |
 
! Number of teams
 
{{!}} {{{teams}}}
 
{{!}}-
 
}}
 
{{#if:{{{feeds|}}} |
 
! Feeder to
 
{{!}} {{{feeds}}}
 
{{!}}-
 
}}
 
{{#if:{{{promotion|}}} |
 
! [[Promotion and relegation|Promotion]] to
 
{{!}} {{{promotion}}}
 
{{!}}-
 
}}
 
{{#if:{{{relegation|}}} |
 
! [[Promotion and relegation|Relegation]] to
 
{{!}} {{{relegation}}}
 
{{!}}-
 
}}
 
{{#if:{{{levels|}}} |
 
! {{#ifeq:{{{levels|}}}|1|Level|Levels}} on pyramid
 
{{!}} [[English football league system|Level {{{levels}}}]]
 
{{!}}-
 
}}
 
{{#if:{{{domest_cup|}}} |
 
! Domestic cup
 
{{!}} {{{domest_cup}}}
 
{{!}}-
 
}}
 
{{#if:{{{confed_cup|}}} |
 
! International cups
 
{{!}} {{{confed_cup}}}
 
{{!}}-
 
}}
 
{{#if:{{{champions|}}} |
 
! Current [[MLS Cup|MLS<br>Cup]] holder
 
{{!}} {{{champions}}}<br>({{{season1}}})
 
{{!}}-
 
}}
 
{{#if:{{{shield|}}} |
 
! Current [[MLS Supporters' Shield|Supporters'<br>Shield]] holder
 
{{!}} {{{shield}}}<br>({{{season2}}})
 
{{!}}-
 
}}
 
{{!}}-
 
{{#if:{{{most_champs|}}} |
 
{{!}} '''Most MLS Cups'''
 
{{!}} {{{most_champs}}}
 
{{!}}-
 
}}
 
{{!}}-
 
{{#if:{{{most_shields|}}} |
 
{{!}} '''Most Supporters'<br>Shields'''
 
{{!}} {{{most_shields}}}
 
{{!}}-
 
}}
 
{{#if:{{{tv|}}} |
 
! TV partners
 
{{!}} {{{tv}}}
 
{{!}}-
 
}}
 
{{#if:{{{website|}}} |
 
! Website
 
{{!}} {{{website}}}
 
{{!}}-
 
}}
 
|}<noinclude>{{documentation}}</noinclude>
 

Revision as of 12:22, 3 July 2008

Infobox major league soccer
[[Image:|200px]]
Countries [[|]]
Current MLS Cup holder
()
Current Supporters' Shield holder
()
Soccerball current event.svg {{{current}}}

[[Category:Infobox templates|Template:Remove first word]]

Template documentation[create]