Difference between revisions of "Template:Infobox football league/sandbox"
Jump to navigation
Jump to search
imported>Thumperward (sync with currently deployed code) |
imported>Thumperward (reformat to address talk concerns) |
||
| Line 1: | Line 1: | ||
{{ infobox | {{ infobox | ||
| − | | title | + | | title = {{{name|<includeonly>{{PAGENAME}}</includeonly>}}} |
| − | | image | + | | image = {{#if:{{{logo|{{{image|}}}}}}|[[File:{{{logo|{{{image|}}}}}}|{{px|{{{pixels|}}}|200px}}|alt={{{alt|}}}]]}} |
| − | | caption = {{{caption|}}} | + | | caption = {{{caption|}}} |
| labelstyle = white-space: nowrap | | labelstyle = white-space: nowrap | ||
| − | | datastyle = white-space: nowrap | + | | datastyle = white-space: nowrap |
| − | | label1 | + | | label1 = Countries |
| − | | data1 | + | | data1 = {{{country|}}} |
| − | | label2 | + | | label2 = [[Association football around the world|Confederation]] |
| − | | data2 | + | | data2 = {{{confed|}}} |
| − | | label3 | + | | label3 = Founded |
| − | | data3 | + | | data3 = {{{founded|}}} |
| − | | label4 | + | | label4 = First season |
| − | | data4 | + | | data4 = {{{first|}}} |
| − | | label5 | + | | label5 = Folded |
| − | | data5 | + | | data5 = {{{folded|}}} |
| − | | label6 | + | | label6 = Divisions |
| − | | data6 | + | | data6 = {{{divisions|}}} |
| − | | label7 | + | | label7 = Conferences |
| − | | data7 | + | | data7 = {{{conferences|}}} |
| − | | label8 | + | | label8 = Number of teams |
| − | | data8 | + | | data8 = {{{teams|}}} |
| − | | label9 | + | | label9 = {{#if:{{{level|}}}|Level|Levels}} on {{#if:{{{pyramid|}}}|[[{{{pyramid}}}|pyramid]]|pyramid}} |
| − | | data9 | + | | data9 = {{{level|{{{levels|}}} }}} |
| − | | label10 = Feeder to | + | | label10 = Feeder to |
| − | | data10 | + | | data10 = {{{feeds|}}} |
| − | | label11 = [[Promotion and relegation|Promotion]] to | + | | label11 = [[Promotion and relegation|Promotion]] to |
| − | | data11 | + | | data11 = {{{promotion|}}} |
| − | | label12 = [[Promotion and relegation|Relegation]] to | + | | label12 = [[Promotion and relegation|Relegation]] to |
| − | | data12 | + | | data12 = {{{relegation|}}} |
| − | | label13 = Domestic cup(s) | + | | label13 = Domestic cup(s) |
| − | | data13 | + | | data13 = {{{domest_cup|}}} |
| − | | label14 = League cup(s) | + | | label14 = League cup(s) |
| − | | data14 | + | | data14 = {{{league_cup|}}} |
| − | | label15 = International cup(s) | + | | label15 = International cup(s) |
| − | | data15 | + | | data15 = {{{confed_cup|}}} |
| − | | | + | |
| − | | | + | | label17 = Most championships |
| − | + | | data17 = {{{most successful club|{{{most_champs|}}} }}} | |
| − | | | + | |
| − | | | + | | label19 = Most premiers |
| − | + | | data19 = {{{most_prems|}}} | |
| − | + | ||
| − | | | + | | label23 = Most MLS Cups |
| − | | | + | | data23 = {{{most_mlscups|}}} |
| − | | | + | | label24 = Most Supporters' Shields |
| − | | | + | | data24 = {{{most_shields|}}} |
| − | | | + | | label25 = TV partners |
| − | | | + | | data25 = {{{tv|}}} |
| − | + | | label26 = Website | |
| − | + | | data26 = {{{website|}}} | |
| − | | | + | |
| − | + | | header27 = {{#if:{{{current|}}}|[[File:Soccerball current event.svg|33px|alt=|link=]] ''{{{current}}}''}} | |
| − | + | ||
| − | | | + | | header28 = {{#if:{{{champions|}}}|Current {{#if:{{{American|}}}|champion(s)|champions}}}} |
| − | + | | data29 = {{{champions|}}} {{#if:{{{season|}}}|<br />({{{season}}})}}}} | |
| − | | | + | |
| − | + | | header30 = {{#if:{{{premiers|}}}|Current premiers}} | |
| − | + | | data31 = {{{premiers|}}} {{#if:{{{season|}}}|<br />({{{season}}})}}}} | |
| + | |||
| + | | header32 = {{#if:{{{mlscupchamps|}}}|Current [[MLS Cup]]}} | ||
| + | | data33 = {{{mlscupchamps|}}} {{#if:{{{mlscupseason|}}}|<br />({{{mlscupseason|}}})}} | ||
| + | | header34 = {{#if:{{{shieldchamps|}}}|Current [[MLS Supporters' Shield|Supporters' Shield]]}} | ||
| + | | data35 = {{{shieldchamps|}}} {{#if:{{{shieldseason|}}}|<br />({{{shieldseason|}}})}} | ||
| + | | header36 = {{#if:{{{shield|}}}|Current shield}} | ||
| + | | data37 = {{{shield|}}} {{#if:{{{season|}}}|<br />({{{season}}})}}}} | ||
}}<noinclude>{{documentation}}</noinclude> | }}<noinclude>{{documentation}}</noinclude> | ||
Revision as of 09:13, 15 June 2010
| header30 = | data31 = }}
| header32 = | data33 = | header34 = | data35 = | header36 = | data37 = }}
}}
| This is the template sandbox page for Template:Infobox football league (diff). See also the companion subpage for test cases. |
Usage
| [[File:{{{image}}}|{{{pixels}}}]] | |
| Organising body | {{{organiser}}} |
|---|---|
| Founded | {{{founded}}} |
| First season | {{{first}}} |
| Folded | {{{folded}}} |
| Country | {{{country}}} |
| Other club(s) from | {{{other countries}}} |
| Confederation | {{{confed}}} |
| Divisions | {{{divisions}}} |
| Conferences | {{{conferences}}} |
| Number of teams | {{{teams}}} |
| Level on pyramid | {{{levels}}} |
| Feeder to | {{{feeds}}} |
| Promotion to | {{{promotion}}} |
| Relegation to | {{{relegation}}} |
| Domestic cup(s) | {{{domest_cup}}} |
| League cup(s) | {{{league_cup}}} |
| International cup(s) | {{{confed_cup}}} |
| Last champions | {{{champions}}} ({{{season}}}) |
| Current premiers | {{{premiers}}} ({{{prem_season}}}) |
| Current MLS Cup | {{{mlscupchamps}}} ({{{mlscupseason}}}) |
| Current Supporters' Shield | {{{shieldchamps}}} ({{{shieldseason}}}) |
| Current {{{shieldtitle}}} | {{{shield}}} ({{{season}}}) |
| Most championships | {{{most_champs}}} |
| Most premierships | {{{most_prems}}} |
| Most MLS Cups | {{{most_mlscups}}} |
| Most {{{shieldtitle}}}s | {{{most_shields}}} |
| Most appearances | {{{most_appearances}}} |
| Top goalscorer | {{{top_goalscorer}}} |
| TV partners | {{{tv}}} |
| Website | {{{website}}} |
| Current: {{{current}}} | |
{{Infobox football league
| name =
| image =
| pixels =
| organiser =
| founded =
| first =
| folded =
| country =
| other countries =
| confed =
| divisions =
| teams =
| feeds =
| promotion =
| relegation =
| levels =
| domest_cup =
| league_cup =
| overseas_tournament =
| confed_cup =
| champions =
| season =
| premiers =
| prem_season =
| mlscupchamps =
| mlscupseason =
| shieldchamps =
| shieldseason =
| shieldtitle =
| shield =
| most_champs =
| most_prems =
| most_mlscups =
| most_shields =
| most_appearances =
| top_goalscorer =
| tv =
| sponsor =
| website =
| current =
}}
Parameters
- name
- image
- Use only the image name, such as logo.png
- pixels
- Logo size (default is 200px width), add a number here (i.e. 300) to override
- organiser
- Organising body of the competition
- founded
- Year or date founded
- folded
- Year or date folded
- country
- Country whose national association administers the league
- other_countries
- When teams that are based (not merely follow owned) outside the host country participate, regardless of what national association they are part of, the country/ies in which such clubs are based is noted here.
- confed
- Confederation
- divisions
- Number of divisions (or use conferences)
- conferences
- Number of conferences (or use divisions)
- teams
- Number of teams
- levels
- The level that the league sits within that country's football pyramid.
This should be followed by a date range indicating when it operated at that level. If the league has at times operated at a different level this should be included as a separate entry within the field (again, with a date added)
- pyramid
- Alternative link for the pyramid
- feeds
- Feeder to
- promotion
- Promotion to
- relegation
- Relegation to
- domest_cup
- Names of domestic cups
- league_cup
- Names of league cups
- overseas_tournament
- Names of tournaments played overseas, e.g. Premier League Asia Trophy
- confed_cup
- Names of international cups
- shieldtitle
- name of the regular season championship, if not Supporter's Shield
- champions
- Name of most recent champion
- season
- Years of most recent champion
- premiers
- Name of most recent premier
- prem_season
- Years of most recent premier
- most_champs
- Name of the club with the most championships
- most_prems
- Name of the club with the most premierships
- most_appearances
- Name of the player who has made the most appearances in the league (number of games)
- top_goalscorer
- Name of the league's all-time top goalscorer (number of goals)
- tv
- Names of the domestic TV partners
- sponsor
- Names of sponsor
- website
- a complete URL, e.g. http://www.premierleague.com/
- current
- a wikilink to the name of the article on the current season
Tracking categories
- Category:Pages using infobox football league with province, state, or region (0)
- Category:Articles with shield param (2)
See also
| The above documentation is transcluded from Template:Infobox football league/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |