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>Rich Farmbrough
m (Minor fixes using AWB)
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
{| class="infobox " cellspacing="5" style="width: 28em; font-size: 90%; text-align: left;"
+
#REDIRECT [[Template:Infobox football league]]
| colspan="2" style="text-align: center; font-size: 130%; font-weight: bold;" | {{{name|{{PAGENAME}}}}}
 
|-
 
{{#if:{{{current|}}} |
 
{{!}} colspan="2" style="text-align: center;" {{!}} [[Image:Soccerball current event.svg|33px|]] ''{{{current}}}''
 
{{!}}-
 
}}
 
{{#if: {{{logo|}}} |
 
{{!}} colspan="2" style="text-align: center;" {{!}} [[Image:{{{logo|}}}|{{#if:{{{pixels|}}}|{{{pixels}}}px|200px}}|{{{name|{{PAGENAME}}}}}]]
 
{{!}}-
 
}}
 
{{#if: {{{country|}}} |
 
! Countries
 
{{!}} {{#ifexist:Template:Country data {{{country}}} | {{flag|{{{country}}}}} | {{{country}}} }}
 
{{!}}-
 
}}
 
{{#if:{{{confed|}}} |
 
! Confederation
 
{{!}} {{#ifexist:{{{confed}}} | [[{{{confed}}}]] | {{{confed}}} }}
 
{{!}}-
 
}}
 
{{#if:{{{founded|}}} |
 
! Founded
 
{{!}} {{#ifexist:{{{founded}}} | [[{{{founded}}}]] | {{{founded}}} }}
 
{{!}}-
 
}}
 
{{#if:{{{first|}}} |
 
! First season
 
{{!}} {{#ifexist:{{{first}}} | [[{{{first}}}]] | {{{first}}} }}
 
{{!}}-
 
}}
 
{{#if:{{{folded|}}} |
 
! Folded
 
{{!}} {{{folded}}}
 
{{!}}-
 
}}
 
{{#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>
 

Latest revision as of 05:52, 2 February 2011