Template:Infobox football club season/doc

From The League Wiki
Jump to navigation Jump to search

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

Usage

{{{club}}}
{{{season}}} season
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright=1]]
{{{caption}}}
{{{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 goalscorerLeague: {{{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}}}
{{{pattern_name1}}} colors
{{{pattern_name2}}} colors
{{{pattern_name3}}} colors
← {{{prevseason}}}
{{{nextseason}}} →
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

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.
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. 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

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

Footy Town F.C.
1919–20 season
ChairmanAlan Money
ManagerLucas Boss
StadiumArsenal Stadium
Premier League7th (UEFA Intertoto Cup)
FA CupThird Round
League CupSecond Round
Top goalscorerLeague: Patrick Scorer (17)
All: Patrick Scorer (20)
Highest home attendance16,044 (vs Manchester United F.C., 16 March 2020)
Lowest home attendance166 (vs Cardiff City F.C., 14 November 2019)
Average home league attendance10,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

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 on English Wikipedia.

Subtemplates

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
Please do not rename or remove these classes
nor collapse nested elements which use them.

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Infobox football club season in articles based on its TemplateData.

TemplateData for Infobox football club season

<templatedata>{

 "description": "An infobox for information on the season of a football club.",
 "params": {
   "club": {
     "label": "Club",
     "description": "The commonly-used name of the club.",
     "type": "string",
     "default": "",
     "required": false
   },
   "season": {
     "label": "Season",
     "description": "The related season in the form YYYY–YYYY.",
     "type": "string",
     "default": "",
     "required": false
   },
   "manager": {
     "label": "Manager",
     "description": "The manager of the club in the season.",
     "type": "string",
     "default": "",
     "required": false
   },
   "chairman": {
     "label": "Chairman",
     "description": "The chairman of the club.",
     "type": "string",
     "default": "",
     "required": false
   },
   "ground": {
     "label": "Ground",
     "description": " The ground occupied during the season.",
     "type": "string",
     "default": "",
     "required": false
   },
   "stadium": {
     "label": "Stadium",
     "description": " The stadium occupied during the season.",
     "type": "string",
     "default": "",
     "required": false
   },
   "league": {
     "label": "League",
     "description": "The league in which the club played in the given season.",
     "type": "string",
     "default": "",
     "required": false
   },
   "league result": {
     "label": "League result",
     "description": "The current standing or final result achieved in the season.",
     "type": "string",
     "default": "",
     "required": false
   },
   "cup1": {
     "label": "Cup 1",
     "description": "A cup in which the club played in the season.",
     "type": "string",
     "default": "",
     "required": false
   },
   "cup1 result": {
     "label": "Cup 1 result",
     "description": "In progress or the final result achieved in the cup by the club during the season.",
     "type": "string",
     "default": "",
     "required": false
   },
   "cup2": {
     "label": "Cup 2",
     "description": "Another cup in which the club played in the season.",
     "type": "string",
     "default": "",
     "required": false
   },
   "cup2 result": {
     "label": "Cup 2 result",
     "description": "In progress or the final result achieved in the cup2 by the club during the season.",
     "type": "string",
     "default": "",
     "required": false
   },
   "league topscorer": {
     "label": "League topscorer",
     "description": "The club topscorer in the domestic league level, and the number of scored goals, in the form Football Player (goals).",
     "type": "string",
     "default": "",
     "required": false
   },
   "mgrtitle": {
     "label": "Manager title",
     "description": "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.",
     "type": "string",
     "default": "",
     "required": false
   },
   "chrtitle": {
     "label": "Chairman title",
     "description": " If the club chairman is known by a different title (e.g. President, Owner, Chief Executive, etc.), that title should be noted here.",
     "type": "string",
     "default": "",
     "required": false
   },
   "season topscorer": {
     "label": "Season topscorer",
     "description": "The club topscorer in the whole season (also featuring cup matches), and the number of scored goals, in the form Football Player (goals).",
     "type": "string",
     "default": "",
     "required": false
   },
   "highest attendance": {
     "label": "Highest attendance",
     "description": "The highest home attendance (all competitive matches) enjoyed by the club during the season.",
     "type": "line",
     "default": "",
     "required": false
   },
   "lowest attendance": {
     "label": "Lowest attendance",
     "description": "The lowest home attendance (all competitive matches) enjoyed by the club during the season.",
     "type": "line",
     "default": "",
     "required": false
   },
   "average attendance": {
     "label": "Average attendance",
     "description": "The average home attendance (league matches only) enjoyed by the club during the domestic season.",
     "type": "line",
     "default": "",
     "required": false
   },
   "prevseason": {
     "label": "Previous season",
     "description": "Link to the article for the club's previous season.",
     "type": "wiki-page-name",
     "default": "",
     "required": false
   },
   "nextseason": {
     "label": "Next season",
     "description": " Link to the article for the club's next season.",
     "type": "wiki-page-name",
     "default": "",
     "required": false
   }
 }

} </templatedata>

Tracking category

See also