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

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

{{Infobox football biography 2}} 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.

This is a fork of {{Infobox football biography}} with the club appearances split into individual attributes for accessibility reasons. The eventual goal is for this to be the default template.

การใช้งาน[แก้]

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

{{กล่องข้อมูล ประวัตินักฟุตบอล 2
| playername          = 
| image               = 
| caption             = 
| fullname            = 
| dateofbirth         = 
| cityofbirth         = 
| countryofbirth      = 
| height              = 
| position            = 
| currentclub         = 
| clubnumber          = 
| youthyears1         = 
| youthclubs1         = 
| years1              = 
| clubs1              = 
| caps1               = 
| goals1              = 
| totalcaps           = 
| totalgoals          = 
| nationalyears1      = 
| nationalteam1       = 
| nationalcaps1       = 
| nationalgoals1      = 
| medaltemplates      = 
| club-update         = 
| nationalteam-update = 
}}

For former players

{{กล่องข้อมูล ประวัตินักฟุตบอล 2
| playername     = 
| image          = 
| caption        = 
| fullname       = 
| dateofbirth    = 
| cityofbirth    = 
| countryofbirth = 
| dateofdeath    = 
| cityofdeath    = 
| countryofdeath = 
| height         = 
| position       = 
| youthyears1    = 
| youthclubs1    = 
| years1         = 
| clubs1         = 
| caps1          = 
| goals1         = 
| totalcaps      = 
| totalgoals     = 
| nationalyears1 = 
| nationalteam1  = 
| nationalcaps1  = 
| nationalgoals1 = 
| medaltemplates = 
}}

For players who have become managers

{{กล่องข้อมูล ประวัตินักฟุตบอล 2
| playername          = 
| image               = 
| caption             = 
| fullname            = 
| dateofbirth         = 
| cityofbirth         = 
| countryofbirth      = 
| dateofdeath         = 
| cityofdeath         = 
| countryofdeath      = 
| height              = 
| position            = 
| currentclub         = 
| youthyears1         = 
| youthclubs1         = 
| years1              = 
| clubs1              = 
| caps1               = 
| goals1              = 
| totalcaps           = 
| totalgoals          = 
| nationalyears1      = 
| nationalteam1       = 
| nationalcaps1       = 
| nationalgoals1      = 
| medaltemplates      = 
| manageryears1       = 
| managerclubs1       = 
| club-update         = 
| nationalteam-update = 
}}

For managers who have not been players

{{กล่องข้อมูล ประวัตินักฟุตบอล 2
| playername     = 
| image          = 
| caption        = 
| fullname       = 
| dateofbirth    = 
| cityofbirth    = 
| countryofbirth = 
| dateofdeath    = 
| cityofdeath    = 
| countryofdeath = 
| currentclub    = 
| manageryears1  = 
| managerclubs1  = 
}}

Parameters[แก้]

All parameters are optional.

{{{playername}}}
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 most recent team (or the team the player is most well-known for, in the case of retirees). Use the full image syntax, including the [[File:]] markup, a size, and alt text. Do not use the "thumb" or "frame" attributes.
{{{caption}}}
A caption for the image.
{{{dateofbirth}}}
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.
{{{cityofbirth}}}
The location of the player's birth.
{{{countryofbirth}}}
The country of the player's birth.
{{{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.
{{{youthclubs1}}}, {{{youthclubs2}}}... {{{youthclubs20}}}
A list of youth clubs that the player has been a member of, one per attribute, earliest to latest.
{{{youthyears1}}}, {{{youthyears2}}}... {{{youthyears20}}}
A list of years that the player has been at each youth club, one per attribute, earliest to latest.
{{{years1}}}, {{{years2}}}... {{{years20}}}
A list of years that the player has been contracted at each professional club, one per attribute, earliest to latest.
{{{clubs1}}}, {{{clubs2}}}... {{{clubs20}}}
A list of professional clubs that the player has been contracted at, one per attribute, earliest to latest.
{{{caps1}}}, {{{caps2}}}... {{{caps20}}}
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}}}... {{{goals20}}}
A 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}}}... {{{nationalyears20}}}
A list of years that the player has been a participant in each national team, one per attribute, earliest to latest.
{{{nationalteam1}}}, {{{nationalteam2}}}... {{{nationalteam20}}}
A list of international teams that the player has been a member of, including non-senior teams such as U21, one per attribute, earliest to latest.
{{{nationalcaps1}}}, {{{nationalcaps2}}}... {{{nationalcaps20}}}
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}}}... {{{nationalgoals20}}}
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}}}... {{{managerclubs20}}}
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}}}... {{{manageryears20}}}
A list of years to accompany the above clubs.
{{{medaltemplates}}}
Olympic medal templates can be added here. See {{MedalOlympics}} for a list of templates. MedalTop and MedalBottom are not needed.
{{{club-update}}}
A timestamp of the last time the player's infobox career statistics were updated (not needed if the player has retired).
{{{nationalteam-update}}}
A timestamp of the last time the player's infobox national statistics were updated (not needed for former players).

Example[แก้]

Tim Template
A three-quarters profile of an African man in a blue football kit. His hair is braided and falls almost to his shoulders.
Tim Template while playing for Template Rangers
ข้อมูลส่วนตัว
ชื่อเต็ม Tim Tenerife Template
เกิด 1 มกราคม ค.ศ. 1975 (44 ปี)
เกิดที่ Template City Templatia
สูง 5 ft 7 in (1.70 เมตร)
ตำแหน่ง Striker
ข้อมูลสโมสร
สโมสรปัจจุบัน Template City F.C.
หมายเลข 9
ชุดเยาวชน
1985–1987 Template Juniors
1988–1991 Template Youth
ชุดใหญ่*
ปี ทีม ลงเล่น (ประตู)
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)
ทีมชาติ
1991 Examplia U16 1 (0)
1996–1998 Templatia U21 8 (2)
1999– Templatia 46 (13)
  • จำนวนนัดที่ลงเล่นให้ชุดใหญ่และจำนวนประตูนับเฉพาะลีกท้องถิ่นเท่านั้น และ เป็นข้อมูล ณ วันที่ 22:21, 26 October 2009 (UTC).

† ลงเล่น (ประตู)

‡ จำนวนนัดที่ลงเล่นและจำนวนประตูให้ทีมชาติ ข้อมูล ณ วันที่ 22:21, 26 October 2009 (UTC)
{{กล่องข้อมูล ประวัตินักฟุตบอล 2
| playername          = Tim Template
| image               = [[Image:Nizar-Khalfan.jpg|frameless|alt=A three-quarters profile of an African man in a blue football kit. His hair is braided and falls almost to his shoulders.]]
| caption             = Tim Template while playing for Template Rangers
| fullname            = Tim Tenerife Template
| dateofbirth         = {{birth date and age|1975|1|1}}
| cityofbirth         = Template City
| countryofbirth      = Templatia
| height              = {{convert|5|ft|7|in|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      = {{medalCountry|Template City F.C.}}
                         {{medalGold|Template League|2003}}
                         {{medalSilver|Template Cup|2004}}
                         {{medalCountry|Templatia}}
                         {{medalBronze|FIFA Template Cup|2001}}
| club-update         = 22:21, 26 October 2009 (UTC)
| nationalteam-update = 22:21, 26 October 2009 (UTC)
}}

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 should not be linked as they do not provide much benefit to the user.

As per the manual of style the player's height should be in the units most common within the country he 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.

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}}:

  • {{convert|5|ft|10|in|abbr=on}} produces 5 ft 10 in (1.78 เมตร)
  • {{convert|1.78|m|abbr=on}} produces 1.78 เมตร (5.8 ฟุต)

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

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.