แม่แบบ:กล่องข้อมูล ประวัตินักฟุตบอล

จากวิกิพีเดีย สารานุกรมเสรี
ไปยังการนำทาง ไปยังการค้นหา
Documentation icon คู่มือการใช้งานแม่แบบ[ดู] [แก้] [ประวัติ] [ล้างแคช]

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

Usage[แก้]

For current players

{{Infobox football biography
| playername          = 
| image               = 
| caption             = 
| 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               = 
| caption             = 
| 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               = 
| caption             = 
| fullname            = 
| dateofbirth         = 
| cityofbirth         = 
| countryofbirth      = 
| dateofdeath         = 
| cityofdeath         = 
| countryofdeath      = 
| height              = 
| position            = 
| currentclub         = 
| youthyears          = 
| youthclubs          = 
| years               = 
| clubs               = 
| caps(goals)         = 
| nationalyears       = 
| nationalteam        = 
| nationalcaps(goals) = 
| manageryears        = 
| managerclubs        =  
| pcupdate            =
| ntupdate            =
}}

For managers who have not been players

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

Parameters[แก้]

Mandatory
  • {{{playername}}} — The commonly used name of the player.
  • {{{dateofbirth}}} — The player's date of birth, wikilinked. The format should be the same as the format used in the text; if a template is used to add the date, be sure to use the approprate parameters to format the date correctly.
  • {{{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.
  • {{{caption}}} — A caption which provides context for the image.
  • {{{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, 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 current 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).

Examples[แก้]

Tim Template
Tim Template
ข้อมูลส่วนตัว
ชื่อเต็ม Tim Tenerife Template
ส่วนสูง 5 ft 11 in (1.80 m)
ตำแหน่ง Striker
ข้อมูลสโมสร
สโมสรปัจจุบัน
Template City F.C.
หมายเลข 9
สโมสรเยาวชน
1985–1987
1988–1991
Template Juniors
Template Youth
สโมสรอาชีพ*
ปี ทีม ลงเล่น (ประตู)
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)
ทีมชาติ
1991
1996–1998
1999–
Examplia U16
Templatia U21
Templatia
001 0(0)
008 0(2)
046 (13)
* นัดที่ลงเล่นและประตูที่ยิงให้กับสโมสรเฉพาะลีกในประเทศเท่านั้น ข้อมูลล่าสุด ณ วันที่ 11:50, 18 February 2008 (UTC)
‡ ข้อมูลการลงเล่นและประตูให้กับทีมชาติล่าสุด ณ วันที่ 11:50, 18 February 2008 (UTC)
{{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            = ~~~~~
}}

Style guide[แก้]

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.

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.

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.

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. The {{convert}} template is an excellent way of automating this process.

Some examples of correct usage:

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

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 or database. For more information about the use of microformats on Wikipedia, please see the microformat project.

Sub-templates[แก้]

Date-of-birth ("bday") information will only be included in the microformat if {{birth date}}, or {{birth date and age}} are used in the infobox. (Do not use these if the date is before 1583). Be cautious about using these if the person is still living, per WP:DOB.

To include a URL, use {{URL}}.

Please do not remove instances of these sub-templates.

Classes[แก้]

hCard uses HTML classes including:

  • 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

Please do not rename or remove these classes nor collapse nested elements which use them.

See also[แก้]