Difference between revisions of "Template:Infobox major league soccer"
Jump to navigation
Jump to search
imported>Grant.Alpaugh |
imported>Thumperward (get rid of mandatories, split cats to doc page. first step in converting this to an infobox) |
||
Line 2: | Line 2: | ||
| colspan="2" style="text-align: center; font-size: 130%; font-weight: bold;" | {{{name|{{PAGENAME}}}}} | | colspan="2" style="text-align: center; font-size: 130%; font-weight: bold;" | {{{name|{{PAGENAME}}}}} | ||
|- | |- | ||
− | {{#if:{{{current| | + | {{#if:{{{current|}}} | |
{{!}} colspan="2" style="text-align: center;" {{!}} [[Image:Soccerball current event.svg|33px|]] ''{{{current}}}'' | {{!}} colspan="2" style="text-align: center;" {{!}} [[Image:Soccerball current event.svg|33px|]] ''{{{current}}}'' | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
− | {{#if: {{{logo| | + | {{#if: {{{logo|}}} | |
− | {{!}} colspan="2" style="text-align: center;" {{!}} [[Image:{{{logo| | + | {{!}} colspan="2" style="text-align: center;" {{!}} [[Image:{{{logo|}}}|{{#if:{{{pixels|}}}|{{{pixels}}}px|200px}}|{{{name|{{PAGENAME}}}}}]] |
{{!}}- | {{!}}- | ||
}} | }} | ||
+ | {{#if: {{{country|}}} | | ||
! Countries | ! Countries | ||
{{!}} {{#ifexist:Template:Country data {{{country}}} | {{flag|{{{country}}}}} | {{{country}}} }} | {{!}} {{#ifexist:Template:Country data {{{country}}} | {{flag|{{{country}}}}} | {{{country}}} }} | ||
− | + | {{!}}- | |
− | {{#if:{{{confed| | + | }} |
+ | {{#if:{{{confed|}}} | | ||
! Confederation | ! Confederation | ||
{{!}} {{#ifexist:{{{confed}}} | [[{{{confed}}}]] | {{{confed}}} }} | {{!}} {{#ifexist:{{{confed}}} | [[{{{confed}}}]] | {{{confed}}} }} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
− | {{#if:{{{founded| | + | {{#if:{{{founded|}}} | |
! Founded | ! Founded | ||
{{!}} {{#ifexist:{{{founded}}} | [[{{{founded}}}]] | {{{founded}}} }} | {{!}} {{#ifexist:{{{founded}}} | [[{{{founded}}}]] | {{{founded}}} }} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
− | {{#if:{{{first| | + | {{#if:{{{first|}}} | |
! First season | ! First season | ||
{{!}} {{#ifexist:{{{first}}} | [[{{{first}}}]] | {{{first}}} }} | {{!}} {{#ifexist:{{{first}}} | [[{{{first}}}]] | {{{first}}} }} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
− | {{#if:{{{folded| | + | {{#if:{{{folded|}}} | |
! Folded | ! Folded | ||
{{!}} {{{folded}}} | {{!}} {{{folded}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
− | {{#if:{{{divisions| | + | {{#if:{{{divisions|}}} | |
! Conferences | ! Conferences | ||
{{!}} {{{divisions}}} | {{!}} {{{divisions}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
+ | {{#if:{{{teams|}}} | | ||
! Number of teams | ! Number of teams | ||
{{!}} {{{teams}}} | {{!}} {{{teams}}} | ||
− | + | {{!}}- | |
− | {{#if:{{{feeds| | + | }} |
+ | {{#if:{{{feeds|}}} | | ||
! Feeder to | ! Feeder to | ||
{{!}} {{{feeds}}} | {{!}} {{{feeds}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
− | {{#if:{{{promotion| | + | {{#if:{{{promotion|}}} | |
! [[Promotion and relegation|Promotion]] to | ! [[Promotion and relegation|Promotion]] to | ||
{{!}} {{{promotion}}} | {{!}} {{{promotion}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
− | {{#if:{{{relegation| | + | {{#if:{{{relegation|}}} | |
! [[Promotion and relegation|Relegation]] to | ! [[Promotion and relegation|Relegation]] to | ||
{{!}} {{{relegation}}} | {{!}} {{{relegation}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
− | {{#if:{{{levels| | + | {{#if:{{{levels|}}} | |
! {{#ifeq:{{{levels|}}}|1|Level|Levels}} on pyramid | ! {{#ifeq:{{{levels|}}}|1|Level|Levels}} on pyramid | ||
{{!}} [[English football league system|Level {{{levels}}}]] | {{!}} [[English football league system|Level {{{levels}}}]] | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
− | {{#if:{{{domest_cup| | + | {{#if:{{{domest_cup|}}} | |
! Domestic cup | ! Domestic cup | ||
{{!}} {{{domest_cup}}} | {{!}} {{{domest_cup}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
− | {{#if:{{{confed_cup| | + | {{#if:{{{confed_cup|}}} | |
! International cups | ! International cups | ||
{{!}} {{{confed_cup}}} | {{!}} {{{confed_cup}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
− | {{#if:{{{champions| | + | {{#if:{{{champions|}}} | |
! Current [[MLS Cup|MLS<br>Cup]] holder | ! Current [[MLS Cup|MLS<br>Cup]] holder | ||
{{!}} {{{champions}}}<br>({{{season1}}}) | {{!}} {{{champions}}}<br>({{{season1}}}) | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
− | {{#if:{{{shield| | + | {{#if:{{{shield|}}} | |
! Current [[MLS Supporters' Shield|Supporters'<br>Shield]] holder | ! Current [[MLS Supporters' Shield|Supporters'<br>Shield]] holder | ||
{{!}} {{{shield}}}<br>({{{season2}}}) | {{!}} {{{shield}}}<br>({{{season2}}}) | ||
Line 82: | Line 86: | ||
}} | }} | ||
{{!}}- | {{!}}- | ||
− | {{#if:{{{most_champs | + | {{#if:{{{most_champs|}}} | |
{{!}} '''Most MLS Cups''' | {{!}} '''Most MLS Cups''' | ||
{{!}} {{{most_champs}}} | {{!}} {{{most_champs}}} | ||
Line 88: | Line 92: | ||
}} | }} | ||
{{!}}- | {{!}}- | ||
− | {{#if:{{{most_shields | + | {{#if:{{{most_shields|}}} | |
{{!}} '''Most Supporters'<br>Shields''' | {{!}} '''Most Supporters'<br>Shields''' | ||
{{!}} {{{most_shields}}} | {{!}} {{{most_shields}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
− | {{#if:{{{tv| | + | {{#if:{{{tv|}}} | |
! TV partners | ! TV partners | ||
{{!}} {{{tv}}} | {{!}} {{{tv}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
− | {{#if:{{{website| | + | {{#if:{{{website|}}} | |
! Website | ! Website | ||
{{!}} {{{website}}} | {{!}} {{{website}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
− | |}<noinclude | + | |}<noinclude>{{documentation}}</noinclude> |
− | |||
− | |||
− | </noinclude> |