Template:Infobox sports league: Difference between revisions

no edit summary
No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1:
{{infobox
{{Infobox sports league
| title = {{if = empty|{{{title|}}}|{{BASEPAGENAME}}}}
 
| current_season = <!-- do not wikilink -->
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|size={{{logo_size|{{{pixels|}}}}}}}}
| current_season2 = <!-- do not wikilink -->
| caption = {{{caption|}}}
| last_season = <!-- do not wikilink -->
| label1 = Formerly
| upcoming_season = <!-- do not wikilink; replace with current_season at the start of the new season -->
| data1 = {{if empty|{{{formerly|}}}|{{{Formerly|}}}}}
| logo =
| label2 = {{#if:{{{game|}}}|Game|Sport}}
| logo_size = <!-- use a format of ##px, such as 120px -->
| 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|}}}}} }} }}
| caption =
| formerly label3 = Founded
| data3 = {{{founded|}}}
| sport = <!-- does not need to be wikilinked. This parameter is also
| label4 = Founder
used to help automatically switch the "current_season" image to be more specific
| data4 = {{if empty|{{{founder|}}}|{{{Founder|}}}}}
to replace the generic current event image (see below). Currently supports:
| label5 = Inaugural season
American football, athletics, Australian rules football, baseball, basketball, boxing, cricket, cue sports, curling, cycling, esports, golf, gymnastics, hockey, lacrosse,
| data5 = {{{inaugural|}}}
motorsports, netball, Olympics, poker, pro wrestling, rugby, soccer, softball,
| label6 = Ceased
speed skating, squash, swimming, table tennis, tennis, volleyball.-->
| game data6 = {{{folded|}}}
| foundedlabel7 = Replaced = by
| data7 = {{if empty|{{{replaced|}}}|{{{Replaced|}}}}}
| folded =
| label8 = {{#if:{{{administrator|}}}|Administrator|Owner(s)}}
| replaced =
| data8 = {{#if:{{{administrator|}}}|{{{administrator}}}|{{{owner|}}}}}
| owner =
| ceo label9 = <!-- chief[[Chief executive officer -->|CEO]]
| data9 = {{{ceo|}}}
| coo label10 = <!-- chief[[Chief operating officer -->|COO]]
| director =
| presidentdata10 = ={{{coo|}}}
| commissioner label11 = Director
| data11 = {{if empty|{{{director|}}}|{{{Director|}}}}}
| fame = <!--what the league is famous for...the "claim to fame"...avoid use if possible-->
| motto label12 = President
| data12 = {{if empty|{{{president|}}}|{{{President|}}}}}
| inaugural =
| teams label13 = Commissioner
| data13 = {{if empty|{{{commissioner|}}}|{{{Commissioner|}}}}}
| singles =
| label14 = Claim to fame
| country = <!-- or | countries = -->
| venue data14 = {{{fame|}}}
| label15 = Motto
| confed = <!-- or | continent = or | continents = -->
| champion data15 = {{{motto|}}}
| champ_season label16 = Divisions
| most_champs data16 = {{{divisions|}}}
| label17 = No. of teams
| classification =
| qualificationdata17 = {{{teams|}}}
| tvlabel18 = Singles = entrants
| sponsor data18 = {{{singles|}}}
| investor label19 = Competitors
| data19 = {{{competitors|}}}
| related_comps =
| label20 = {{#if:{{{countries|}}}|Countries|Country}}
| founder =
| data20 = {{if empty|{{{countries|}}}|{{{country|}}}}}
| levels =
| promotionlabel21 = =Headquarters
| data21 = {{{headquarters|}}}
| relegation =
| domestic_cup label22 = Venue(s)
| website data22 = {{{venue|}}}
| label23 = {{#if:{{{confed|}}}|Confederation|{{#if:{{{continents|}}}|Continents|Continent}}}}
| footnotes =
| data23 = {{if empty|{{{confed|}}}|{{{continents|}}}|{{{continent|}}}}}
| current = <!-- wikilink to current season article to put icon and link at the bottom of the infobox -->
| 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|}}}
 
}}{{#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 | champ_season | 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>
{{documentation}}
</noinclude>
40

edits