Template:Infobox football biography/doc

Infobox football biography is intended to provide a quick overview of an association football player's or manager's details to enable a reader to extract the most oft-needed information without trawling through the article proper.

This is a replacement for Infobox football biography/old (which is now deprecated, and has been removed), with the club appearances split into individual attributes for accessibility reasons.

Parameters
All parameters are optional.


 * The commonly used name of the player. If this is omitted, it will be inferred from the title of the article.
 * The player's complete name.
 * A picture of the player, ideally on the pitch in the strip of his or her most recent team (or the team the player is most well-known for, in the case of retirees). Images should be given in the format  Example.jpg , rather than  [[File:Example.jpg]] .
 * The image's size, given as a number.
 * Alternative text for the image.
 * A caption for the image.
 * The player's date of birth. A template (Birth date, Birth date and age) should be used to add the date, but be sure to use the appropriate parameters to present the date in the same format as used in the text. The date should not be wikilinked.
 * The location of the player's birth.
 * The player's height in the units most common within the country he or she plays. (see Units of measurement)
 * The player's most common position or positions. If a player is known for playing in multiple roles then explain the point more fully within the article.
 * The club for which the player currently plays, or is employed by. If the player now works in a non-playing role at the club, add this after the club in brackets. For retired players not employed by any club or federation, leave blank.
 * The shirt number of the player at his or her current club.
 * , ... : A list of clubs that the player was a member of as a youth, one per attribute, earliest to latest.
 * , ... : A list of years that the player has been at each club as a youth, one per attribute, earliest to latest.
 * , ... : A list of years that the player has been contracted at each professional club, one per attribute, earliest to latest.
 * , ... : A list of professional clubs that the player has been contracted at, one per attribute, earliest to latest.
 * , ... : A list of appearances that the player has been awarded in league competition only for each professional club (note: Playoff matches are not counted as league matches by most statistical sources (e.g. Soccerbase and the Sky Sports (Rothmans) Football Yearbook, so they should not be included in this infobox), one per attribute, earliest to latest.
 * The total number of appearances the player has been awarded in league competition for all professional clubs.
 * , ... : A list of goals that the player has been awarded in league competition only for each professional club (note: Playoff matches are not counted as league matches by most statistical sources (e.g. Soccerbase and the Sky Sports (Rothmans) Football Yearbook, so they should not be included in this infobox), one per attribute, earliest to latest.
 * The total number of goals the player has scored in league competition for all professional clubs.
 * , ... : A list of years that the player has played for each national team, one per attribute, earliest to latest.
 * , ... : A list of international teams that the player has played for, including non-senior teams such as U21, one per attribute, earliest to latest.
 * , ... : A list of appearances that the player has been awarded in all competitions and friendlies for each national team, one per attribute, earliest to latest.
 * , ... : A list of goals that the player has been awarded in all competitions and friendlies for each national team, one per attribute, earliest to latest.
 * , ... : A list of clubs that the person has served with in the capacity of team manager. Please do not list positions other than team manager (such as assistant or coach positions, or director of football roles where this role is not considered managerial) unless that position is a significant part of the person's career; this will apply primarily to those with significant or perhaps primary experience in management. Clubs listed can be both local and national and should be restricted to those ordinarily considered notable in themselves.
 * , ... : A list of years to accompany the above clubs.
 * Honours can be added here using the templates Medal.
 * (previously ): A timestamp at which the player's infobox club statistics are correct (not needed if the player has retired).
 * (previously ): A timestamp at which the player's infobox national team statistics are correct (not needed for former players).

Examples


Style guide
Try to always consider that an infobox exists to support an article and provide a quick synopsis of important facts. This becomes vital when considering that the amount of space available within an infobox is significantly less than that available outside of it.

As per the manual of style entry on linking, years and dates should not be linked as they do not provide much benefit to the user.

Do not add flag icons to the birth_place, death_place, club, national team or other fields. See: Manual of Style (flags).

As per the manual of style the player's height should be in the units most common in the country in which he or she plays. Units should be abbreviated in the infobox and spelt out in the article text. Ideally, measurements should be presented using the convert template, which automatically converts units between formats and handles the presentation of units. In this case, use the |abbr=on flag to ensure that units are presented in their short forms. height is a similar template designed for infoboxes, which presents units in short form by default.

Using convert:


 *  5 ft  produces 5 ft
 *  1.78 m  produces 1.78 m

and using height:


 *  5ft 10in  produces 5ft 10in
 *  1.78m  produces 1.78m

TemplateData
{	"description": "This infobox template provides a quick overview of an association football player's or manager's details to enable a reader to extract the most oft-needed information without trawling through the article proper.", "params": { "name": { "type": "string", "label": "Name", "description": "The commonly used name of the player. If this is omitted, it will be inferred from the title of the article." },		"fullname": { "type": "string", "label": "Full name", "description": "The player's complete name." },		"image": { "type": "string/wiki-page-name", "label": "Picture", "description": "A picture of the player, ideally on the pitch in the strip of his or her most recent team (or the team the player is most well-known for, in the case of retirees). Use the format Example.jpg, rather than ." },		"image_size": { "type": "number", "label": "Picture size", "description": "The picture's size, given as a number." },		"alt": { "type": "string", "label": "Picture alt text", "description": "Alt text for the picture." },		"caption": { "type": "string", "label": "Picture caption", "description": "A caption for the picture." },		"birth_date": { "type": "number", "label": "Birth date", "description": "The player's date of birth. A template should be used to add the date, but be sure to use the appropriate parameters to present the date in the same format as used in the text. The date should not be wikilinked." },		"birth_place": { "type": "string", "label": "Birth place", "description": "The location of the player's birth." },		"height": { "type": "number", "label": "Height", "description": "The player's height in the units most common within the country he or she plays. The template should be used for automatic formatting." },		"position": { "type": "string", "label": "Position", "description": "The player's most common position or positions. If a player is known for playing in multiple roles then explain the point more fully within the article." },		"currentclub": { "type": "string", "label": "Current club", "description": "The club for which the player currently plays, or is employed by. If the player now works in a non-playing role at the club, add this after the club in brackets. For retired players not employed by any club or federation, leave blank." },		"clubnumber": { "type": "number", "label": "Number", "description": "The shirt number of the player at their current club." },		"youthclubs1": { "type": "string", "label": "Youth club 1", "description": "The first club that the player was a member of as a youth. Up to 8 clubs can be added using the parameter names \"youthclubs2\", \"youthclubs3\", etc." },		"youthclubs2": { "type": "string", "label": "Youth club 2", "description": "The second club that the player was a member of as a youth." },		"youthyears1": { "type": "number", "label": "Youth club 1 years", "description": "The years that the player was at their first youth club. Up to 8 clubs can be added using the parameter names \"youthyears2\", \"youthyears3\", etc." },		"youthyears2": { "type": "number", "label": "Youth club 2 years", "description": "The years that the player was at their second youth club." },		"clubs1": { "type": "string", "label": "Professional club 1", "description": "The first professional club that the player has been contracted at. Up to 39 clubs can be added using the parameter names \"clubs2\", \"clubs3\", etc." },		"clubs2": { "type": "string", "label": "Professional club 2", "description": "The second professional club that the player has been contracted at." },		"years1": { "type": "number", "label": "Professional club 1 years", "description": "The years that the player was at their first professional club. Up to 39 years can be added using the parameter names \"years2\", \"years3\", etc." },		"years2": { "type": "number", "label": "Professional club 2 years", "description": "The years that the player was at their second professional club." },		"caps1": { "type": "number", "label": "Professional club 1 appearances", "description": "The number of appearances that the player has been awarded in league competition for the first professional club. Playoff matches should not be included. Up to 39 caps can be added using the parameter names \"caps2\", \"caps3\", etc." },		"caps2": { "type": "number", "label": "Professional club 2 appearances", "description": "The number of appearances that the player has been awarded in league competition for the second professional club." },		"totalcaps": { "type": "number", "label": "Professional club appearances total", "description": "The total number of appearances the player has been awarded in league competition for all professional clubs." },		"goals1": { "type": "number", "label": "Professional club 1 goals", "description": "The number of goals that the player has been awarded in league competition for the first professional club. Playoff matches should not be included. Up to 39 can be added using the parameter names \"goals2\", \"goals3\", etc." },		"goals2": { "type": "number", "label": "Professional club 2 goals", "description": "The number of goals that the player has been awarded in league competition for the second professional club." },		"totalgoals": { "label": "Professional club goals total", "description": "The total number of goals the player has scored in league competition for all professional clubs.", "type": "number" },		"nationalteam1": { "type": "string", "label": "National team 1", "description": "The first national team that the player has played for (including non-senior teams such as U21). Up to 9 teams can be added using the parameter names \"nationalteam2\", \"nationalteam3\", etc." },		"nationalteam2": { "type": "string", "label": "National team 2", "description": "The second national team that the player has played for." },		"nationalyears1": { "type": "number", "label": "National team 1 years", "description": "The years that the player has played for the first national team. Up to 9 years can be added using the parameter names \"nationalyears2\", \"nationalyears3\", etc." },		"nationalyears2": { "type": "number", "label": "National team 2 years", "description": "The years that the player has played for the second national team." },		"nationalcaps1": { "type": "number", "label": "National team 1 appearances", "description": "The number of appearances that the player has been awarded in all competitions and friendlies for the first national team. Up to 9 numbers can be added using the parameter names \"nationalcaps2\", \"nationalcaps3\", etc." },		"nationalcaps2": { "type": "number", "label": "National team 2 appearances", "description": "The number of appearances that the player has been awarded in all competitions and friendlies for the second national team." },		"nationalgoals1": { "type": "number", "label": "National team 1 goals", "description": "The number of goals that the player has been awarded in all competitions and friendlies for the first national team. Up to 9 numbers can be added using the parameter names \"nationalgoals2\", \"nationalgoals3\", etc." },		"nationalgoals2": { "type": "number", "label": "National team 2 goals", "description": "The number of goals that the player has been awarded in all competitions and friendlies for the second national team." },		"managerclubs1": { "type": "string", "label": "Manager club 1", "description": "The first club that the person has served with in the capacity of team manager. Please do not list positions other than team manager (such as assistant or coach positions, or director of football roles where this role is not considered managerial) unless that position is a significant part of the person's career; this will apply primarily to those with significant or perhaps primary experience in management. Clubs listed can be both local and national and should be restricted to those ordinarily considered notable in themselves." },		"managerclubs2": { "type": "string", "label": "Manager club 2", "description": "The second club that the person has served with in the capacity of team manager. Up to 30 can be added using the parameter names \"managerclubs3\", \"managerclubs4\", etc." },		"manageryears1": { "type": "number", "label": "Manager club 1 years", "description": "The years that the person has served with the first club in the capacity of team manager." },		"manageryears2": { "type": "number", "label": "Manager club 2 years", "description": "The years that the person has served with the second club in the capacity of team manager. Up to 30 can be added using the parameter names \"manageryears3\", \"manageryears4\", etc." },		"medaltemplates": { "type": "string", "label": "Medal templates", "description": "Honors can be added here using templates." },		"club-update": { "type": "string", "label": "Professional club update timestamp", "description": "A timestamp at which the player's professional club statistics are correct (not needed if the player has retired)." },		"nationalteam-update": { "label": "National team update timestamp", "description": "A timestamp at which the player's national team statistics are correct (not needed if the player has retired).", "type": "string" }	} }