Template:Infobox football club season/doc

From RabastorWiki
Jump to navigation Jump to search

Lua error: Cannot create process: proc_open(/home4/iltornan/lua/error.log): Failed to open stream: No such file or directory

This infobox template is to be used for any association football club's season article.

Usage

{{Infobox football club season
|club               = 
|season             = 
|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

Parameter Description
club The commonly used name of the club.
season The related season in the form YYYY–YY, unless it is at the turn of the century, where is 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.
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. If the top scorer in all competitions has all of his goals in the league, leave this parameter blank.
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 lost 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

Lua error: Cannot create process: proc_open(/home4/iltornan/lua/error.log): Failed to open stream: No such file or directory

For 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

Lua error: Cannot create process: proc_open(/home4/iltornan/lua/error.log): Failed to open stream: No such file or directory

The infobox shown is produced with:

{{Infobox football club season
| club = Footy Town F.C.
| season = 2019–20
| manager = [[Lucas Boss]]
| chairman = [[Alan Money]]
| stadium = [[Arsenal Stadium]]
| league = [[Premier League]]
| league result = 7th (UEFA Intertoto Cup)
| cup1 = [[FA Cup]] | cup1 result = Third Round
| cup2 = [[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. 2018–19|2018–19]]
| nextseason = [[Footy Town F.C. 2020–21|2020–21]]
}}

Microformat

The 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

Please do not remove instances of these subtemplates.

Classes used

The HTML classes of this microformat include:

Lua error: Cannot create process: proc_open(/home4/iltornan/lua/error.log): Failed to open stream: No such file or directory
Please do not rename or remove these classes
nor collapse nested elements which use them.

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly error report for this template.

TemplateData for Infobox football club season

An infobox for information on the season of a football club.

Template parameters

ParameterDescriptionTypeStatus
Clubclub

The commonly-used name of the club.

Default
Stringoptional
Seasonseason

The related season in the form YYYY–YYYY.

Default
Stringoptional
Managermanager

The manager of the club in the season.

Default
Stringoptional
Chairmanchairman

The chairman of the club.

Default
Stringoptional
Groundground

The ground occupied during the season.

Default
Stringoptional
Stadiumstadium

The stadium occupied during the season.

Default
Stringoptional
Leagueleague

The league in which the club played in the given season.

Default
Stringoptional
League resultleague result

The current standing or final result achieved in the season.

Default
Stringoptional
Cup 1cup1

A cup in which the club played in the season.

Default
Stringoptional
Cup 1 resultcup1 result

In progress or the final result achieved in the cup by the club during the season.

Default
Stringoptional
Cup 2cup2

Another cup in which the club played in the season.

Default
Stringoptional
Cup 2 resultcup2 result

In progress or the final result achieved in the cup2 by the club during the season.

Default
Stringoptional
League topscorerleague topscorer

The club topscorer in the domestic league level, and the number of scored goals, in the form Football Player (goals).

Default
Stringoptional
Manager titlemgrtitle

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.

Default
Stringoptional
Chairman titlechrtitle

If the club chairman is known by a different title (e.g. President, Owner, Chief Executive, etc.), that title should be noted here.

Default
Stringoptional
Season topscorerseason topscorer

The club topscorer in the whole season (also featuring cup matches), and the number of scored goals, in the form Football Player (goals).

Default
Stringoptional
Highest attendancehighest attendance

The highest home attendance (all competitive matches) enjoyed by the club during the season.

Default
Lineoptional
Lowest attendancelowest attendance

The lowest home attendance (all competitive matches) enjoyed by the club during the season.

Default
Lineoptional
Average attendanceaverage attendance

The average home attendance (league matches only) enjoyed by the club during the domestic season.

Default
Lineoptional
Previous seasonprevseason

Link to the article for the club's previous season.

Default
Page nameoptional
Next seasonnextseason

Link to the article for the club's next season.

Default
Page nameoptional

See also

Hidden tracking/maintenance category