This is a documentation subpage for Template:Infobox football club season. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 22,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template adds an automatically generated short description. If the automatic short description is not optimal, replace it by adding {{Short description}} at the top of the article. |
This template uses Lua: |
This infobox template is to be used for any association football club's season article.
Usage
edit{{{season}}} season | ||||
---|---|---|---|---|
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright=1]] | ||||
{{{ownertitle}}} | {{{owner}}} | |||
{{{chrtitle}}} | {{{chairman}}} | |||
{{{mgrtitle}}} | {{{manager}}} | |||
{{{stdtitle}}} | {{{stadium}}} | |||
{{{league}}} | {{{league result}}} | |||
{{{league2}}} | {{{league2 result}}} | |||
{{{cup1}}} | {{{cup1 result}}} | |||
{{{cup2}}} | {{{cup2 result}}} | |||
{{{cup3}}} | {{{cup3 result}}} | |||
{{{cup4}}} | {{{cup4 result}}} | |||
{{{cup5}}} | {{{cup5 result}}} | |||
{{{cup6}}} | {{{cup6 result}}} | |||
{{{cup7}}} | {{{cup7 result}}} | |||
{{{cup8}}} | {{{cup8 result}}} | |||
Top goalscorer | League: {{{league topscorer}}} All: {{{season topscorer}}} | |||
Highest home attendance | {{{highest attendance}}} | |||
Lowest home attendance | {{{lowest attendance}}} | |||
Average home league attendance | {{{average attendance}}} | |||
Biggest win | {{{largest win}}} | |||
Biggest defeat | {{{largest loss}}} | |||
| ||||
All statistics correct as of {{{updated}}}. |
{{Infobox football club season
|club =
|season =
|image =
|image_size =
|alt =
|caption =
|chrtitle =
|chairman =
|ownertitle =
|owner =
|mgrtitle =
|manager =
|stdtitle =
|stadium =
|league =
|league result =
|league2 =
|league2 result =
|cup1 =
|cup1 result =
|cup2 =
|cup2 result =
|cup3 =
|cup3 result =
|cup4 =
|cup4 result =
|cup5 =
|cup5 result =
|cup6 =
|cup6 result =
|cup7 =
|cup7 result =
|cup8 =
|cup8 result =
|league topscorer =
|season topscorer =
|highest attendance =
|lowest attendance =
|average attendance =
|largest win =
|largest loss =
|pattern_name1 =
|pattern_la1 =
|pattern_b1 =
|pattern_ra1 =
|pattern_sh1 =
|pattern_so1 =
|leftarm1 =
|body1 =
|rightarm1 =
|shorts1 =
|socks1 =
|alt1 =
|filetype1 =
|pattern_name2 =
|pattern_la2 =
|pattern_b2 =
|pattern_ra2 =
|pattern_sh2 =
|pattern_so2 =
|leftarm2 =
|body2 =
|rightarm2 =
|shorts2 =
|socks2 =
|alt2 =
|filetype2 =
|pattern_name3 =
|pattern_la3 =
|pattern_b3 =
|pattern_ra3 =
|pattern_sh3 =
|pattern_so3 =
|leftarm3 =
|body3 =
|rightarm3 =
|shorts3 =
|socks3 =
|alt3 =
|filetype3 =
|American =
|updated =
|prevseason =
|nextseason =
}}
Parameters
editParameter | Description |
---|---|
club
|
The commonly used name of the club. |
season
|
The related season in the form YYYY or YYYY–YY, unless it spans two years at the turn of the century, in which case it should be YYYY–YYYY. This can be linked to an appropriate article, like 2014–15 in English football. Make sure to use an en dash. |
image
|
An image related to the club's season, e.g. lifting a trophy. |
image_size
|
The image's size, given as a number. |
alt
|
Alternative text for the image. |
caption
|
A caption for the image. |
chrtitle
|
If the club chairman is known by a different title (e.g. president, owner, chief executive, etc.), that title should be noted here. |
chairman
|
The chairman of the club in the season. If two or more chairmans served for the club during the season, you can indicate all of them by splitting them in different rows using <br> to divide their names. |
ownertitle
|
If the club owner is known by a different title, that title should be noted here. |
owner
|
The owner of the club in the season. If two or more owners served for the club during the season, you can indicate all of them by splitting them in different rows using <br> to divide their names. |
mgrtitle
|
If the club manager is known by a different title (e.g. coach, head coach, first team coach, etc.), that title should be noted here. |
manager
|
The manager of the club in the season. If two or more managers served for the club during the season, you can indicate all of them by splitting them in different rows using <br> to divide their names. |
stdtitle
|
If the stadium is known by a different title (e.g. ground, etc.), that title should be noted here. |
stadium
|
The stadium or ground occupied during the season. |
league
|
The league in which the club played in the given season. For this to show up, the parameter league result must have a value. This should be linked to the current season of the league.
|
league result
|
The current standing or final result achieved in the league in the season. If the result is the current standing, it should be italicized. Make sure to use the suffixes -th, -st, -nd and -rd. If the final result is first or second, then replace it with "Winners" in bold or "Runners-up", respectively. |
league2
|
The secondary league in which the club played in the given season. For this to show up, the parameter league2 result must have a value. This should be linked to the current season of the league.
|
league2 result
|
The current standing or final result achieved in the secondary league in the season. If the result is the current standing, it should be italicized. Make sure to use the suffixes -th, -st, -nd and -rd. |
cupn
|
A cup in which the club played in the season. The value n can be substituted for a number from 1 to 8, depending on how many cups the club is participating in that season. For this to show up, the parameter cupn result must have a value. This should be linked to the current season of the cup.
|
cupn result
|
In progress or the final result achieved in the cup by the club during the season. The value n can be substituted for a number from 1 to 8, depending on how many cups the club is participating in that season. |
league topscorer
|
The club top scorer in the domestic league level. Beside the player's name, in parentheses, should be the number of goals they scored. |
season topscorer
|
The club top scorer in all competitions. Beside the player's name, in parentheses, should be the number of goals they scored. If this value is set, there should also be a value for league topscorer .
|
highest attendance
|
The highest home attendance (all competitive matches) enjoyed by the club during the season. |
lowest attendance
|
The lowest home attendance (all competitive matches) enjoyed by the club during the season. |
average attendance
|
The average home attendance (league matches only) enjoyed by the club during the domestic season. |
largest win
|
The largest win (all competitive matches) enjoyed by the club during the season. |
largest loss
|
The largest defeat (all competitive matches) enjoyed by the club during the season. |
updated
|
The last time the statistics in the template were updated. |
prevseason
|
Link to the article for the club's previous season. |
nextseason
|
Link to the article for the club's next season. |
Football kit parameters
editFor the following parameters, the value n can be substituted for 1 (for the home kit), 2 (for the away kit), or 3 (for the third kit). For info on how to create a kit, see here.
Parameter | Description |
---|---|
pattern_namen
|
This changes the title that appears under the template. It is optional, and usually does not need to be changed. The default titles are home, away, and third, for the value of n being 1, 2, and 3, respectively. This can only be used if there is a value for pattern_lan , pattern_bn , pattern_ran , pattern_shn , pattern_son , leftarmn , bodyn , rightarmn , shortsn , and/or socksn , and the value of n is the same between the parameter(s) used and pattern_namen .
|
American
|
This changes the word "colour" to "color" for the title of the football kit. This can only be used if there is a value for the parameters pattern_lan , pattern_bn , pattern_ran , pattern_shn , pattern_son , leftarmn , bodyn , rightarmn , shortsn , and/or socksn .
|
pattern_lan
|
The name for pattern modifier for left arm. |
pattern_bn
|
The name for pattern modifier for body. |
pattern_ran
|
The name for pattern modifier for right arm. |
pattern_shn
|
The name for pattern modifier for shorts. |
pattern_son
|
The name for pattern modifier for socks. |
leftarmn
|
The color code modifier for left arm. Do not use the hashtag when naming the color. |
bodyn
|
The color code modifier for body. Do not use the hashtag when naming the color. |
rightarmn
|
The color code modifier for right arm. Do not use the hashtag when naming the color. |
shortsn
|
The color code modifier for shorts. Do not use the hashtag when naming the color. |
socksn
|
The color code modifier for socks. Do not use the hashtag when naming the color. |
altn
|
This displays alternative text that is helpful for users with screen readers. For more information, see Wikipedia:Alternative text for images. This can only be used if there is a value for pattern_lan , pattern_bn , pattern_ran , pattern_shn , pattern_son , leftarmn , bodyn , rightarmn , shortsn , and/or socksn , and the value of n is the same between the parameter(s) used and pattern_namen .
|
filetypen
|
An optional parameter if there is a different image format than the default PNG. For example, setting the value to "svg" will direct the template to SVG files. When using this optional parameter, you must ensure that all of the images you want to use exist in the format that you select. Currently, most images only exist as PNG files and will not work with the SVG setting. This can only be used if there is a value for pattern_lan , pattern_bn , pattern_ran , pattern_shn , pattern_son , leftarmn , bodyn , rightarmn , shortsn , and/or socksn , and the value of n is the same between the parameter(s) used and pattern_namen .
|
Example
edit1919–20 season | |
---|---|
Chairman | Alan Money |
Manager | Lucas Boss |
Stadium | Arsenal Stadium |
Premier League | 7th (UEFA Intertoto Cup) |
FA Cup | Third Round |
League Cup | Second Round |
Top goalscorer | League: Patrick Scorer (17) All: Patrick Scorer (20) |
Highest home attendance | 16,044 (vs Manchester United F.C., 16 March 2020) |
Lowest home attendance | 166 (vs Cardiff City F.C., 14 November 2019) |
Average home league attendance | 10,121 |
The infobox shown is produced with:
{{Infobox football club season
| club = Footy Town F.C.
| season = 1919–20
| manager = [[Lucas Boss]]
| chairman = [[Alan Money]]
| stadium = [[Arsenal Stadium]]
| league = [[1919–20 Premier League|Premier League]]
| league result = 7th (UEFA Intertoto Cup)
| cup1 = [[1919–20 FA Cup|FA Cup]] | cup1 result = Third Round
| cup2 = [[1919–20 League Cup|League Cup]] | cup2 result = Second Round
| league topscorer = [[Patrick Scorer]] (17)
| season topscorer = [[Patrick Scorer]] (20)
| highest attendance = 16,044 (vs [[Manchester United F.C.]], 16 March 2020)
| lowest attendance = 166 (vs [[Cardiff City F.C.]], 14 November 2019)
| average attendance = 10,121
| prevseason = [[Footy Town F.C. 1918–19|2018–19]]
| nextseason = [[Footy Town F.C. 1920–21|2020–21]]
}}
Microformat
editThe HTML mark-up produced by this template includes an hCard microformat that makes an organization's details readily parsable by computer programs. This aids tasks such as the cataloguing of articles and maintenance of databases. For more information about the use of microformats on Wikipedia, please visit the Microformat WikiProject.
- Subtemplates
- Use {{Start date and age}} for the date on which an organisation was "established", "founded", "opened" or otherwise started, unless that date is before 1583 CE.
- Use {{URL}} for an organisation's URL.
Please do not remove instances of these subtemplates.
- Classes used
The HTML classes of this microformat include:
- adr
- agent
- category
- country-name
- extended-address
- fn
- geo
- label
- latitude
- locality
- longitude
- nickname
- note
- org
- region
- street-address
- url
- vcard
nor collapse nested elements which use them.
TemplateData
editTemplateData for Infobox football club season
An infobox for information on the season of a football club.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Club | club | The commonly-used name of the club. | String | optional |
Season | season | The related season in the form YYYY–YYYY. | String | optional |
Manager | manager | The manager of the club in the season. | String | optional |
Chairman | chairman | The chairman of the club. | String | optional |
Ground | ground | The ground occupied during the season. | String | optional |
Stadium | stadium | The stadium occupied during the season. | String | optional |
League | league | The league in which the club played in the given season. | String | optional |
League result | league result | The current standing or final result achieved in the season. | String | optional |
Cup 1 | cup1 | A cup in which the club played in the season. | String | optional |
Cup 1 result | cup1 result | In progress or the final result achieved in the cup by the club during the season. | String | optional |
Cup 2 | cup2 | Another cup in which the club played in the season. | String | optional |
Cup 2 result | cup2 result | In progress or the final result achieved in the cup2 by the club during the season. | String | optional |
League topscorer | league topscorer | The club topscorer in the domestic league level, and the number of scored goals, in the form Football Player (goals). | String | optional |
Manager title | mgrtitle | If the club manager is known by a different title (e.g. Coach, Head Coach, First team coach, etc.), that title should be noted here. | String | optional |
Chairman title | chrtitle | If the club chairman is known by a different title (e.g. President, Owner, Chief Executive, etc.), that title should be noted here. | String | optional |
Season topscorer | season topscorer | The club topscorer in the whole season (also featuring cup matches), and the number of scored goals, in the form Football Player (goals). | String | optional |
Highest attendance | highest attendance | The highest home attendance (all competitive matches) enjoyed by the club during the season. | Line | optional |
Lowest attendance | lowest attendance | The lowest home attendance (all competitive matches) enjoyed by the club during the season. | Line | optional |
Average attendance | average attendance | The average home attendance (league matches only) enjoyed by the club during the domestic season. | Line | optional |
Previous season | prevseason | Link to the article for the club's previous season. | Page name | optional |
Next season | nextseason | Link to the article for the club's next season. | Page name | optional |
Tracking category
editSee also
edit