Template:Infobox sports league: Difference between revisions

Jump to navigation Jump to search
m (1 revision imported)
mNo edit summary
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{infobox
{{infobox
| title    = {{if empty|{{{title|}}}|{{BASEPAGENAME}}}}
| title    = {{if empty|{{{title|}}}|{{{name|}}}|{{BASEPAGENAME}}}}
 
| headerstyle    = background: {{{color|#EDEDED}}}; color: {{{font_color|#000000}}};
| subheader = {{#if: {{{current_season|}}} | '''Current season, competition or edition:'''<br />{{Current sports event icon|sport={{{sport}}}|size=31px}} ''{{#iferror:{{#expr:{{{current_season}}}}}|[[{{{current_season}}}]]|{{{current_season}}}}}'' | {{#if: {{{last_season|}}} | '''Most recent season or competition:'''<br />''{{#iferror:{{#expr:{{{last_season}}}}}|[[{{{last_season}}}]]|{{{last_season}}}}}'' | {{#if: {{{upcoming_season|}}} | '''Upcoming season or competition:'''<br />{{Current sports event icon|sport={{{sport}}}|size=31px}} ''{{#iferror:{{#expr:{{{upcoming_season}}}}}|[[{{{upcoming_season}}}]]|{{{upcoming_season}}}}}''}} }} }}{{#if: {{{current_season2|}}} | <br/>''{{#iferror:{{#expr:{{{current_season2}}}}}|[[{{{current_season2}}}]]|{{{current_season2}}}}}''}}
| subheader = {{#if: {{{current_season|}}} | '''Current season, competition or edition:'''<br />{{Current sports event icon|sport={{{sport}}}|size=31px}} ''{{#iferror:{{#expr:{{{current_season}}}}}|[[{{{current_season}}}]]|{{{current_season}}}}}'' | {{#if: {{{last_season|}}} | '''Most recent season or competition:'''<br />''{{#iferror:{{#expr:{{{last_season}}}}}|[[{{{last_season}}}]]|{{{last_season}}}}}'' | {{#if: {{{upcoming_season|}}} | '''Upcoming season or competition:'''<br />{{Current sports event icon|sport={{{sport}}}|size=31px}} ''{{#iferror:{{#expr:{{{upcoming_season}}}}}|[[{{{upcoming_season}}}]]|{{{upcoming_season}}}}}''}} }} }}{{#if: {{{current_season2|}}} | <br/>''{{#iferror:{{#expr:{{{current_season2}}}}}|[[{{{current_season2}}}]]|{{{current_season2}}}}}''}}
| labelstyle = white-space: nowrap
| labelstyle = white-space: nowrap


| image    = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|size={{{logo_size|{{{pixels|}}}}}}}}
| image    = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|{{{image|}}}}}}|size={{{logo_size|{{{pixels|}}}}}}|upright={{{logo_upright|}}}|alt={{{alt|}}}}}
| caption  = {{{caption|}}}
| caption  = {{{caption|}}}
| label1    = Formerly
| data1    = {{if empty|{{{formerly|}}}|{{{Formerly|}}}}}
| label2    = {{#if:{{{game|}}}|Game|Sport}}
| data2    = {{#if:{{{game|}}}|{{{game}}}|{{#switch: {{lc: {{{sport}}}}} | amfootball | americanfootball = [[American football]] | aussie rules | australian football = [[Australian rules football]] | squash = [[Squash (sport)|Squash]] | soccer = [[Association football]] | {{#ifexist:{{{sport|}}}|[[{{{sport|}}}]]|{{{sport|}}}}} }} }}
| label3    = Founded
| data3    = {{{founded|}}}
| label4    = Founder
| data4    = {{if empty|{{{founder|}}}|{{{Founder|}}}}}
| label5    = Inaugural season
| data5    = {{{inaugural|}}}
| label6    = Ceased
| data6    = {{{folded|}}}
| label7    = Replaced by
| data7    = {{if empty|{{{replaced|}}}|{{{Replaced|}}}}}
| label8    = {{#if:{{{administrator|}}}|Administrator|Owner(s)}}
| data8    = {{#if:{{{administrator|}}}|{{{administrator}}}|{{{owner|}}}}}
| label9    = [[Chief executive officer|CEO]]
| data9    = {{{ceo|}}}
| label10  = [[Chief operating officer|COO]]
| data10    = {{{coo|}}}
| label11  = Director
| data11    = {{if empty|{{{director|}}}|{{{Director|}}}}}
| label12  = President
| data12    = {{if empty|{{{president|}}}|{{{President|}}}}}
| label13  = Commissioner
| data13    = {{if empty|{{{commissioner|}}}|{{{Commissioner|}}}}}
| label14  = Claim to fame
| data14    = {{{fame|}}}
| label15  = Motto
| data15    = {{{motto|}}}
| label16  = Divisions
| data16    = {{{divisions|}}}
| label17  = No. of teams
| data17    = {{{teams|}}}
| label18  = Singles entrants
| data18    = {{{singles|}}}
| label19  = Competitors
| data19    = {{{competitors|}}}
| label20  = {{#if:{{{countries|}}}|Countries|Country}}
| data20    = {{if empty|{{{countries|}}}|{{{country|}}}}}
| label21  = Headquarters
| data21    = {{{headquarters|}}}
| label22  = Venue(s)
| data22    = {{{venue|}}}
| label23  = {{#if:{{{confed|}}}|Confederation|{{#if:{{{continents|}}}|Continents|Continent}}}}
| data23    = {{if empty|{{{confed|}}}|{{{continents|}}}|{{{continent|}}}}}
| label24  = {{#if: {{{folded|}}} | Last | Most recent }}<br>champion(s)
| data24    = {{if empty|{{{champion|}}}|{{{champions|}}}}} {{#if:{{{champ_season|}}}|<br />({{{champ_season}}})}}
| label25  = Most titles
| data25    = {{if empty|{{{most_champs|}}}|{{{most successful club|}}}}}
| label26  = Classification
| data26    = {{{classification|}}}
| label27  = Qualification
| data27    = {{{qualification|}}}
| label28  = TV partner(s)
| data28    = {{{TV|{{{tv|}}}}}}
| label29  = Sponsor(s)
| data29    = {{{sponsor|}}}
| label30  = {{#if:{{{level|}}}|Level|Level}} on {{#if:{{{pyramid|}}}|[[{{{pyramid}}}|pyramid]]|pyramid}}
| data30    = {{if empty|{{{level|}}}|{{{levels|}}}}}
| label31  = [[Promotion and relegation|Promotion]] to
| data31    = {{{promotion|}}}
| label32  = [[Promotion and relegation|Relegation]] to
| data32    = {{{relegation|}}}
| label33  = Domestic cup(s)
| data33    = {{{domestic_cup|}}}
| label34  = International cup(s)
| data34    = {{{confed_cup|}}}
| label35  = Related<br>competitions
| data35    = {{{related_comps|}}}
| label36  = Tournament format
| data36    = {{{tournament_format|}}}
| label37  = Official website
| data37    = {{{website|}}}


| data38   = {{#if:{{{current|}}}|{{Current sports event icon|sport={{{sport}}}|size=31px}} ''{{{current}}}''}}
| label2    = Formerly
| header39 = {{#if:{{{footnotes|}}}|Notes}}
| data2    = {{if empty|{{{formerly|}}}|{{{Formerly|}}}}}
| data40    = {{{footnotes|}}}
 
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox sports league with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox sports league]] with unknown parameter "_VALUE_"|ignoreblank=y| administrator | caption | ceo | champion | champions | classification | commissioner | Commissioner | competitors | confed | confed_cup | continent | continents | coo | countries | country | current | current_season | current_season2 | director | Director | divisions | domestic_cup | fame | folded | footnotes | formerly | Formerly | founded | founder | Founder | game | headquarters | inaugural | last_season | level | levels | logo | logo_size | most successful club | most_champs | motto | owner | pixels | president | President | promotion | pyramid | qualification | related_comps | relegation | replaced | Replaced | singles | sponsor | sport | teams | title | tournament_format | tv | TV | upcoming_season | venue | website }}<noinclude>
| label3    = Association
| data3    = {{{association|}}}
 
| label4    = Conference
| data4    = {{{conference|}}}
| label5    = League
| data5    = {{{league|}}}
| label6    = Classification
| data6    = {{{classification|}}}
| label7    = {{#if:{{{game|}}}|Game|Sport}}
| data7    = {{#if:{{{game|}}}|{{{game}}}|{{#switch: {{lc: {{{sport}}}}} | amfootball | americanfootball = [[American football]] | aussie rules | australian football = [[Australian rules football]] | squash = [[Squash (sport)|Squash]] | soccer = [[Association football]] | {{#ifexist:{{{sport|}}}|[[{{{sport|}}}]]|{{{sport|}}}}} }} }}
 
| label8    = Founded
| data8    = {{{founded|}}}
| label9    = Founder
| data9    = {{if empty|{{{founder|}}}|{{{Founder|}}}}}
| label10  = Inaugural season
| data10    = {{{inaugural|}}}
| label11  = Ceased
| data11    = {{{folded|{{{dissolved|}}}}}}
| label12  = Replaced by
| data12    = {{if empty|{{{replaced|}}}|{{{Replaced|}}}}}
| label13  = Owner(s)
| data13    = {{{owner|}}}
| label14  = {{wpl|Chief executive officer|CEO}}
| data14    = {{{ceo|}}}
| label15  = {{wpl|Chief operating officer|COO}}
| data15    = {{{coo|}}}
| label16  = Director
| data16    = {{if empty|{{{director|}}}|{{{Director|}}}}}
| label17  = President
| data17    = {{if empty|{{{president|}}}|{{{President|}}}}}
| label18  = Commissioner
| data18    = {{if empty|{{{commissioner|}}}|{{{Commissioner|}}}}} {{#if:{{{since|}}}| (since {{{since}}}) }}
| label19  = Administrator
| data19    = {{{administrator|}}}
| label20  = {{#if:{{{AmE|{{{ame|}}}}}}|Organizing|Organising}} body
| data20    = {{{organizer|{{{organiser|}}}}}}
| label29  = Claim to fame
| data29    = {{{fame|}}}
| label30  = Motto
| data30    = {{{motto|}}}
| label37  = Sports fielded
| class37 = {{#if:{{{sports|}}}|hlist|plainlist}}
| data37  = {{#if:{{{sports|}}}|
* {{{sports}}}
{{#if:{{{mens|}}}|** men's: {{{mens}}}
}}{{#if:{{{womens|}}}|** women's: {{{womens}}}
}}{{#if:{{{coed|}}}|** coeducational: {{{coed}}} }}
|{{#if:{{{mens|}}}{{{womens|}}}{{{coed|}}}|
{{#if:{{{mens|}}}|* men's: {{{mens}}}
}}{{#if:{{{womens|}}}|* women's: {{{womens}}}
}}{{#if:{{{coed|}}}|* coeducational: {{{coed}}} }}
}}}}
 
| label40  = Division
| data40  = {{{division|}}}
 
| label50  = {{#if:{{{subdivision|}}}|Subdivision|Subdivisions}}
| data50  = {{if empty|{{{subdivision|}}}|{{{subdivisions|}}}}}
 
| label51  = Divisions
| data51    = {{{divisions|}}}
| label52  = No. of teams
| data52    = {{{teams|}}}
| label53  = Singles entrants
| data53    = {{{singles|}}}
| label54  = Competitors
| data54    = {{{competitors|}}}
| label55  = {{#if:{{{countries|}}}|Countries|Country}}
| data55    = {{if empty|{{{countries|}}}|{{{country|}}}}}
| label56  = Headquarters
| data56    = {{{headquarters|}}}
| label57  = Region
| data57    = {{{region|}}}
| label58  = Venue(s)
| data58    = {{{venue|}}}
| label59  = {{#if:{{{confed|}}}|Confederation|{{#if:{{{continents|}}}|Continents|Continent}}}}
| data59    = {{if empty|{{{confed|}}}|{{{continents|}}}|{{{continent|}}}}}
| label63  = {{if empty|{{{titles_label|}}}|Titles}}
| data63  = {{{titles|}}}
| label70  = {{#if: {{{folded|}}} | Last | Most recent }}<br />champion(s)
| data70    = {{if empty|{{{champion|}}}|{{{champions|}}}}} {{#if:{{{champ_season|}}}|<br />({{{champ_season}}})}}
| label71  = Most titles
| data71    = {{if empty|{{{most_champs|}}}|{{{most successful club|}}}}}
| label77 = Current premiers
| data77  = {{#if:{{{premiers|}}}|{{{premiers|}}} {{#if:{{{prem_season|}}}|({{{prem_season}}})}}}}
| label78 = Most premiers
| data78  = {{{most_prems|}}}
| label79 = Current [[MLS Cup]]
| data79  = {{{mlscupchamps|}}}{{#if:{{{mlscupseason|}}}|<br />({{{mlscupseason|}}})}}
| label80 = Current [[MLS Supporters' Shield|Supporters' Shield]]
| data80  = {{{shieldchamps|}}}{{#if:{{{shieldseason|}}}|<br />({{{shieldseason|}}})}}
| label81 = Current shield
| data81  = {{#if:{{{current_shield|}}}|{{{current_shield|}}} {{#if:{{{current_shield_season|}}}|({{{current_shield_season}}})}}}}
| label83 = Most MLS Cups
| data83  = {{{most_mlscups|}}}
| label84 = Most Supporters' Shields
| data84  = {{{most_shields|}}}
 
| label85  = Qualification
| data85    = {{{qualification|}}}
| label86  = TV partner(s)
| data86    = {{{TV|{{{tv|}}}}}}
| label87  = Streaming partner(s)
| data87    = {{{streaming|}}}
| label88  = Sponsor(s)
| data88    = {{{sponsor|}}}
| label89  = Feeder to
| data89    = {{{feeds|}}}
| label90  = {{#if:{{{level|}}}|Level|Level}} on {{#if:{{{pyramid|}}}|[[{{{pyramid}}}|pyramid]]|pyramid}}
| data90    = {{if empty|{{{level|}}}|{{{levels|}}}}}
| label91  = [[Promotion and relegation|Promotion]] to
| data91    = {{{promotion|}}}
| label92  = [[Promotion and relegation|Relegation]] to
| data92    = {{{relegation|}}}
| label93  = Domestic cup(s)
| data93    = {{{domestic_cup|}}}
| label94  = International cup(s)
| data94    = {{{confed_cup|}}}
| label95  = Related<br />competitions
| data95    = {{{related_comps|}}}
| label96  = Tournament format
| data96    = {{{tournament_format|}}}
| label97  = Official website
| data97    = {{{website|}}}
 
| data98   = {{#if:{{{current|}}}|{{Current sports event icon|sport={{{sport}}}|size=31px}} ''{{{current}}}''}}
| header99 = {{#if:{{{footnotes|}}}|Notes}}
| data100  = {{{footnotes|}}}
 
| header101 = {{#if:{{{map|}}}|Locations}}
| data102 = {{#if:{{{map|}}}
|{{#invoke:InfoboxImage|InfoboxImage|image={{{map}}}|size={{{map_size|}}}|sizedefault=250px|upright={{{map_upright|}}}|alt={{{map_alt|}}}|title={{{map_caption|Location of teams in {{{title}}}}}}}}{{#if:{{{map_caption|}}}|{{{map_caption}}} }}
}}
 
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox sports league with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox sports league]] with unknown parameter "_VALUE_"|ignoreblank=y| administrator | alt | AmE | ame | association | caption | ceo | champ_season | champion | champions | classification | coed | color | commissioner | Commissioner | competitors | confed | confed_cup | conference | continent | continents | coo | countries | country | current | current_season | current_season2 | current_shield | current_shield_season | director | Director | dissolved | division | divisions | domestic_cup | fame | feeds | folded | font_color | footnotes | formerly | Formerly | founded | founder | Founder | game | headquarters | image | inaugural | last_season | league | level | levels | logo | logo_size | logo_upright | map | map_alt | map_caption | map_size | map_upright | mens | mlscupchamps | mlscupseason | most successful club | most_champs | most_mlscups | most_prems | most_shields | motto | name | organiser | organizer | owner | pixels | prem_season | premiers | president | President | promotion | pyramid | qualification | region | related_comps | relegation | replaced | Replaced | shieldchamps | shieldseason | since | singles | sponsor | sport | sports | streaming | subdivision | subdivisions | teams | title | titles | titles_label | tournament_format | TV | tv | upcoming_season | venue | website | womens }}<noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Latest revision as of 21:37, 25 September 2023

Infobox sports league