Template:Infobox Football biography/doc

From Wikipedia, the free encyclopedia

This is a documentation subpage for Template:Infobox Football biography (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

Contents

[edit] Purpose

{{Infobox Football biography}} is intended to provide a quick overview of a football player's or manager's details to enable a reader to extract the most oft-needed information without trawling through the article proper. It is most appropriately used for professional players and managers and should not be leveraged for amateurs, no matter their profile.

[edit] Usage

For current players

{{Infobox Football biography
| playername          = 
| image               = 
| fullname            = 
| dateofbirth         = 
| cityofbirth         = 
| countryofbirth      = 
| height              = 
| position            = 
| currentclub         = 
| clubnumber          = 
| youthyears          = 
| youthclubs          = 
| years               = 
| clubs               = 
| caps(goals)         = 
| nationalyears       = 
| nationalteam        = 
| nationalcaps(goals) = 
| pcupdate            = 
| ntupdate            = 
}}

For former players

{{Infobox Football biography
| playername          = 
| image               = 
| fullname            = 
| dateofbirth         = 
| cityofbirth         = 
| countryofbirth      = 
| dateofdeath         = 
| cityofdeath         = 
| countryofdeath      = 
| height              = 
| position            = 
| youthyears          = 
| youthclubs          = 
| years               = 
| clubs               = 
| caps(goals)         = 
| nationalyears       = 
| nationalteam        = 
| nationalcaps(goals) = 
}}

For players who have become managers

{{Infobox Football biography
| playername          = 
| image               = 
| fullname            = 
| dateofbirth         = 
| cityofbirth         = 
| countryofbirth      = 
| dateofdeath         = 
| cityofdeath         = 
| countryofdeath      = 
| height              = 
| position            = 
| currentclub         = 
| youthyears          = 
| youthclubs          = 
| years               = 
| clubs               = 
| caps(goals)         = 
| nationalyears       = 
| nationalteam        = 
| nationalcaps(goals) = 
| manageryears        = 
| managerclubs        = 
}}

For managers who have not been players

{{Infobox Football biography
| playername          = 
| image               = 
| fullname            = 
| dateofbirth         = 
| cityofbirth         = 
| countryofbirth      = 
| dateofdeath         = 
| cityofdeath         = 
| countryofdeath      = 
| currentclub         = 
| manageryears        = 
| managerclubs        = 
}}

[edit] Parameters

Mandatory
  • {{{playername}}} — The commonly used name of the player.
  • {{{dateofbirth}}} — The player's date of birth, wikilinked.
  • {{{cityofbirth}}} — The location of the player's birth.
  • {{{countryofbirth}}} — The country of the player's birth.
Optional
  • {{{fullname}}} — The player's complete name.
  • {{{image}}} — A picture of the player, ideally on the pitch in the strip of his most recent team.
  • {{{height}}} — The player's height in the units most common within the country he plays. (see Units of measurement)
  • {{{position}}} — The player's most common position (as a player). If a player is known for playing in multiple roles then the author should elect which is the most significant and explain the point more fully within the article.
  • {{{currentclub}}} — The club for which the player currently plays. Leave blank if retired.
  • {{{clubnumber}}} — The shirt number of the player at his most recent club.
  • {{{years}}} — A <br /> delimited list of years that the player has been contracted at each professional club.
  • {{{clubs}}} — A <br /> delimited list of professional clubs that the player has been contracted at.
  • {{{caps(goals)}}} — A <br /> delimited list of appearances and (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).
  • {{{youthclubs}}} — A <br /> delimited list of youth clubs that the player has been a member of.
  • {{{youthyears}}} — A <br /> delimited list of years that the player has been at each youth club.
  • {{{nationalyears}}} — A <br /> delimited list of years that the player has been a participant in each national team.
  • {{{nationalteam}}} — A <br /> delimited list of international teams that the player has been a member of, including non-senior teams such as U21.
  • {{{nationalcaps(goals)}}} — A <br /> delimited list of appearances and (goals) that the player has been awarded in all competitions and friendlies for each national team.
  • {{{pcupdate}}} — A timestamp of the last time the player's infobox career statistics were updated (not needed if the player has retired).
  • {{{ntupdate}}} — A timestamp of the last time the player's infobox national statistics were updated (not needed for former players).

[edit] Examples

The input
{{Infobox Football biography
| playername          = Tim Template
| image               = [[Image:Soccer goalkeeper.jpg|180px|Tim Template]]
| fullname            = Tim Tenerife Template
| dateofbirth         = {{birth date and age|1975|1|1}}
| cityofbirth         = Template City
| countryofbirth      = Templatia
| height              = 5 ft 11 in (1.80 m)
| position            = [[Striker]]
| currentclub         = Template City F.C.
| clubnumber          = 9
| youthyears          = 1985–1987<br />1988–1991
| youthclubs          = Template Juniors<br />Template Youth
| years               = 1992–1998<br />1999–2000<br />2001<br />2002–
| clubs               = Template United F.C.<br />Template Rangers<br />→ Example F.C. (loan)<br />Template City F.C.
| caps(goals)         = {{0}}75 (26)<br />{{0}}32 (11)<br />{{0}}15 {{0}}(7)<br />113 (46)
| nationalyears       = 1991<br />1996–1998<br />1999–
| nationalteam        = Examplia U16<br />Templatia U21<br />Templatia
| nationalcaps(goals) = {{0}}{{0}}1 {{0}}(0)<br />{{0}}{{0}}8 {{0}}(2)<br />{{0}}46 (13)
| pcupdate            = ~~~~~
| ntupdate            = ~~~~~
}}
Produces
Tim Template
Tim Template
Personal information
Full name Tim Tenerife Template
Date of birth January 1, 1975 (1975-01-01) (age 33)
Place of birth    Template City, Templatia
Height 5 ft 11 in (1.80 m)
Playing position Striker
Club information
Current club Template City F.C.
Number 9
Youth clubs
1985–1987
1988–1991
Template Juniors
Template Youth
Senior clubs1
Years Club App (Gls)*
1992–1998
1999–2000
2001
2002–
Template United F.C.
Template Rangers
→ Example F.C. (loan)
Template City F.C.
075 (26)
032 (11)
015 0(7)
113 (46)   
National team2
1991
1996–1998
1999–
Examplia U16
Templatia U21
Templatia
001 0(0)
008 0(2)
046 (13)

1 Senior club appearances and goals
counted for the domestic league only and
correct as of 11:50, 18 February 2008 (UTC).
2 National team caps and goals correct
as of 11:50, 18 February 2008 (UTC).
* Appearances (Goals)

[edit] Style guide

[edit] Density of information

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.

[edit] Wikilinking

As per the manual of style entry on linking, years should not be linked as they do not provide much benefit to the user. However, date of birth should be linked to enable date preferences to work. Linking of other entries is to be discouraged as most of these links will present themselves in the article's introduction; linking them in the infobox adds clutter and inhibits the speedy retrieval of facts.

[edit] Season year format

In order to keep the infobox from ballooning laterally, it is wise to keep date formats as compact as possible. Highly accurate dates are more useful in the article itself. Typically editors will use the 2005–06 incarnation but when very pressed for space, 05–06 may be useful. Utilising the &ndash; character instead of a hyphen will help prevent line breaks creeping into the season.

[edit] Units of measurement

As per the manual of style the player's height should be in the units most common within the country they play. Units should be abbreviated in the info box and spelt out in the article text. Use standard abbreviations when using symbols such as metre is m, centimetre is cm, inch is in (not " or ″), foot is ft (not ' or ′). Put a non-breaking space (&nbsp;) between the value and the unit symbol, for example 1.98&nbsp;m not 1.98m. Do not append an s for plurals of unit abbreviations. For example, kg, in, yd, lb not kgs, ins, yds, lbs.

Some examples of correct usage:

  • 2.00 m
  • 5 ft 10 in (1.78 m)
  • 1.78 m (5 ft 10 in)

[edit] Microformat

The HTML markup produced by this template includes an hCard microformat, which makes the person's details parsable by computers, either acting automatically to catalogue articles across Wikipedia or via a browser tool operated by a reader, to (for example) add the subject to an address book. For more information about the use of microformats on Wikipedia, please see the microformat project.

Date-of-birth ("bday") parameters will only be included in the microformat if {{Birth date}} or {{Birth date and age}} are used in the infobox.

hCard uses HTML classes including:

  • adr
  • bday
  • county-name
  • fn (required)
  • honorific-prefix
  • honorific-suffix
  • label
  • locality
  • nickname
  • note
  • org
  • role
  • vcard

Please do not rename or remove these classes.