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

Usage

sửa

Note: all the field names ending in 1 should be repeated for each team, e.g. youthyears1 and youthclubs1 should be followed by youthyears2 and youthclubs2 and so on, as needed.

For current players

{{Infobox football biography
| name = 
| image = 
| image_size = 
| caption = 
| fullname = 
| birth_date = 
| birth_place = 
| height = 
| position = 
| currentclub = 
| clubnumber = 
| youthyears1 = 
| youthclubs1 = 
| years1 = 
| clubs1 = 
| caps1 = 
| goals1 = 
| nationalyears1 = 
| nationalteam1 = 
| nationalcaps1 = 
| nationalgoals1 = 
| medaltemplates = 
| club-update = 
| nationalteam-update = 
}}

For former players

{{Infobox football biography
| name = 
| image = 
| image_size = 
| caption = 
| fullname = 
| birth_date = 
| birth_place = 
| death_date = 
| death_place = 
| height = 
| position = 
| youthyears1 = 
| youthclubs1 = 
| years1 = 
| clubs1 = 
| caps1 = 
| goals1 = 
| totalcaps = 
| totalgoals = 
| nationalyears1 = 
| nationalteam1 = 
| nationalcaps1 = 
| nationalgoals1 = 
| medaltemplates = 
}}

For players who have become managers

{{Infobox football biography
| name = 
| image = 
| image_size = 
| caption = 
| fullname = 
| birth_date = 
| birth_place = 
| death_date = 
| death_place = 
| height = 
| position = 
| currentclub = 
| youthyears1 = 
| youthclubs1 = 
| years1 = 
| clubs1 = 
| caps1 = 
| goals1 = 
| totalcaps = 
| totalgoals = 
| nationalyears1 = 
| nationalteam1 = 
| nationalcaps1 = 
| nationalgoals1 = 
| medaltemplates = 
| manageryears1 = 
| managerclubs1 = 
}}

For managers who have not been players

{{Infobox football biography
| name = 
| image = 
| image_size = 
| caption = 
| fullname = 
| birth_date = 
| birth_place = 
| death_date = 
| death_place = 
| currentclub = 
| manageryears1 = 
| managerclubs1 = 
}}

Parameters

sửa

All parameters are optional.

{{{name}}}
The commonly used name of the player. If this is omitted, it will be inferred from the title of the article.
{{{fullname}}}
The player's complete name.
{{{image}}}
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.
{{{image_size}}}
The image's size, given as a number.
{{{alt}}}
Alternative text for the image.
{{{caption}}}
A caption for the image.
{{{birth_date}}}
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.
{{{birth_place}}}
The location of the player's birth.
{{{height}}}
The player's height in the units most common within the country he or she plays. (see Units of measurement)
{{{position}}}
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}}}
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}}}
The shirt number of the player at his or her current club.
{{{youthclubs1}}}, {{{youthclubs2}}}... {{{youthclubs8}}}
A list of clubs that the player was a member of as a youth, one per attribute, earliest to latest.
{{{youthyears1}}}, {{{youthyears2}}}... {{{youthyears8}}}
A list of years that the player has been at each club as a youth, one per attribute, earliest to latest.
{{{years1}}}, {{{years2}}}... {{{years39}}}
A list of years that the player has been contracted at each professional club, one per attribute, earliest to latest.
{{{clubs1}}}, {{{clubs2}}}... {{{clubs39}}}
A list of professional clubs that the player has been contracted at, one per attribute, earliest to latest.
{{{caps1}}}, {{{caps2}}}... {{{caps39}}}
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. If including a total number of caps, use {{{totalcaps}}} rather than faking it with a club called "total".
{{{goals1}}}, {{{goals2}}}... {{{goals39}}}
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. If including a total number of goals, use {{{totalgoals}}} rather than faking it with a club called "total".
{{{nationalyears1}}}, {{{nationalyears2}}}... {{{nationalyears9}}}
A list of years that the player has played for each national team, one per attribute, earliest to latest.
{{{nationalteam1}}}, {{{nationalteam2}}}... {{{nationalteam9}}}
A list of international teams that the player has played for, including non-senior teams such as U21, one per attribute, earliest to latest.
{{{nationalcaps1}}}, {{{nationalcaps2}}}... {{{nationalcaps9}}}
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.
{{{nationalgoals1}}}, {{{nationalgoals2}}}... {{{nationalgoals9}}}
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.
{{{managerclubs1}}}, {{{managerclubs2}}}... {{{managerclubs30}}}
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.
{{{manageryears1}}}, {{{manageryears2}}}... {{{manageryears30}}}
A list of years to accompany the above clubs.
{{{medaltemplates}}}
Honours can be added here using the templates {{MedalTeam}}, {{MedalW}}, {{MedalRU}}, and {{Medal3rd}}. These work in much the same way as the Olympic medal templates.
{{{club-update}}} (previously {{{pcupdate}}})
A timestamp at which the player's infobox club statistics are correct (not needed if the player has retired).
{{{nationalteam-update}}} (previously {{{ntupdate}}})
A timestamp at which the player's infobox national team statistics are correct (not needed for former players).

Examples

sửa
Tim Template
Photo of a player in blue football kit, hair braided.
Tim Template in the Template Rangers
Thông tin cá nhân
Tên đầy đủ Tim Tenerife Template
Ngày sinh 1 tháng 1, 1975 (49 tuổi)
Nơi sinh Template City, Templatia
Chiều cao 1,75 m (5 ft 9 in)[chuyển đổi: số không hợp lệ]
Vị trí Striker
Thông tin đội
Đội hiện nay
Template City F.C.
Số áo 9
Sự nghiệp cầu thủ trẻ
Năm Đội
1985–1987 Template Juniors
1988–1991 Template Youth
Sự nghiệp cầu thủ chuyên nghiệp*
Năm Đội ST (BT)
1992–1998 Template United F.C. 75 (26)
1999–2000 Template Rangers 32 (11)
2001 → Example F.C. (loan) 15 (7)
2002– Template City F.C. 113 (46)
Sự nghiệp đội tuyển quốc gia
Năm Đội ST (BT)
1991 Examplia U16 1 (0)
1996–1998 Templatia U21 8 (2)
1999– Templatia 46 (13)
Thành tích huy chương
Template City F.C.
Vô địch Template League 2003
Á quân Template Cup 2004
Templatia
Bản mẫu:Medal3rd
*Số trận ra sân và số bàn thắng ở câu lạc bộ tại giải quốc gia, chính xác tính đến 22:21, 26 October 2009 (UTC)
‡ Số trận ra sân và số bàn thắng ở đội tuyển quốc gia, chính xác tính đến 22:21, 26 October 2009 (UTC)
{{Infobox football biography
|name = Tim Template
|image = Nizar-Khalfan.jpg
|alt = Photo of a player in blue football kit, hair braided.
|caption = Tim Template in the Template Rangers
|fullname = Tim Tenerife Template
|birth_date = {{birth date and age|1975|1|1|df=y}}
|birth_place = Template City, Templatia
|height = {{convert|1.75|m|ftin|0|abbr=on}}
|position = [[Striker]]
|currentclub = Template City F.C.
|clubnumber = 9
|youthyears1 = 1985–1987
|youthyears2 = 1988–1991
|youthclubs1 = Template Juniors
|youthclubs2 = Template Youth
|years1 = 1992–1998
|years2 = 1999–2000
|years3 = 2001
|years4 = 2002–
|clubs1 = Template United F.C.
|clubs2 = Template Rangers
|clubs3 = → Example F.C. (loan)
|clubs4 = Template City F.C.
|caps1 = 75
|caps2 = 32
|caps3 = 15
|caps4 = 113
|goals1 = 26
|goals2 = 11
|goals3 = 7
|goals4 = 46
|nationalyears1 = 1991
|nationalyears2 = 1996–1998
|nationalyears3 = 1999–
|nationalteam1 = Examplia U16
|nationalteam2 = Templatia U21
|nationalteam3 = Templatia
|nationalcaps1 = 1
|nationalcaps2 = 8
|nationalcaps3 = 46
|nationalgoals1 = 0
|nationalgoals2 = 2
|nationalgoals3 = 13
|medaltemplates = {{medalTeam|Template City F.C.}}
 {{medalW|Template League|2003}}
 {{medalRU|Template Cup|2004}}
 {{medalTeam|Templatia}}
 {{medal3rd|FIFA Template Cup|2001}}
|club-update = 22:21, 26 October 2009 (UTC)
|nationalteam-update = 22:21, 26 October 2009 (UTC)
}}

Style guide

sửa

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 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: Wikipedia: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. 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 ( ) between the value and the unit symbol, for example 1.98 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.

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.

Some examples of correct usage:

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

and using {{convert}}:

and using {{height}}:

If providing a total row for goals scored, enter the Total in a new years column - do not add it in the clubs column.

Microformats

sửa

Các dấu HTML cung cấp bởi bản mẫu này bao gồm một microformat chuẩn hCard, mà làm cho các chi tiết của một người được phân tách bằng máy tính, hoặc tự động tạo danh mục bài viết trên Wikipedia hoặc thông qua một công cụ trình duyệt điều hành bởi một người đọc, để (ví dụ) thêm chủ đề vào sổ địa chỉ hay cơ sở dữ liệu. Để biết thêm thông tin về việc sử dụng các microformat trên Wikipedia, xin xem thêm dự án về microformat.

Bản mẫu con

sửa

Thông tin ngày sinh ("bday") sẽ chỉ được thêm vào microformat nếu {{birth date}}, hoặc {{birth date and age}} được sử dụng trong infobox. (Không sử dụng nếu ngày sinh nằm trước năm 1583). Hãy thận trọng về việc sử dụng những mục này nếu người đó còn sống, xem thêm Wikipedia:Tiểu sử người đang sống.

Để thêm một đường dẫn URL, sử dụng {{URL}}.

Xin đừng xóa các trường hợp bản mẫu con này.

Các lớp

sửa

hCard sử dụng các lớp (class) của HTML bao gồm:

  • adr
  • agent
  • bday
  • birthplace
  • category
  • country-name
  • deathdate
  • deathplace
  • extended-address
  • family-name
  • fn (required)
  • given-name
  • honorific-prefix
  • honorific-suffix
  • label
  • locality
  • n
  • nickname
  • note
  • org
  • role
  • url
  • vcard

Xin đừng đổi tên hoặc xoá các lớp này hay gộp các thành phần ẩn mà sử dụng các lớp đó.