Template:Infobox AFL biography
{{{name}}} | |||
---|---|---|---|
[[File:{{{image}}}|frameless|upright=1]] {{{caption}}} | |||
Personal information | |||
Full name | {{{fullname}}} | ||
Nickname(s) | {{{nickname}}} | ||
Date of birth | {{{birth_date}}} | ||
Place of birth | {{{birth_place}}} | ||
Date of death | {{{death_date}}} | ||
Place of death | {{{death_place}}} | ||
Original team | {{{originalteam}}} | ||
Draft | {{{draftpick}}} | ||
Height/Weight | {{{heightweight}}} | ||
Position(s) | {{{position}}} | ||
Club information | |||
Current club | {{{currentclub}}} | ||
Number | {{{guernsey}}} | ||
Playing career1 | |||
Years | Club | Games (Goals) | |
{{{years}}} | {{{clubs}}} | {{{games(goals)}}} | |
Representative team honours2 | |||
Years | Team | Games (Goals) | |
{{{sooyears}}} | {{{sooteams}}} | {{{soogames(goals)}}} | |
International team honours2 | |||
{{{nationalyears}}} | {{{nationalteams}}} | {{{nationalgames(goals)}}} | |
Coaching career3 | |||
Years | Club | Games (W–L–D) | |
{{{coachyears}}} | {{{coachclubs}}} | {{{coachgames(wins)}}} | |
1 Playing statistics correct to end of {{{statsend}}} season. 2 State and International statistics correct as of {{{repstatsend}}}. 3 Coaching statistics correct as of {{{coachstatsend}}}. | |||
Career highlights | |||
{{{careerhighlights}}} |
This template employs intricate features of template syntax. You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here. |
Template
{{Infobox AFL biography | name = | image = | alt = | caption = | fullname = | nickname = | birth_date = {{birth date and age|yyyy|mm|dd|df=y}} | birth_place = | death_date = {{death date and age|yyyy|mm|dd|yyyy|mm|dd|df=y}} | death_place = | originalteam = | draftpick = | heightweight = | position = | currentclub = | guernsey = | years = | clubs = | games(goals) = | sooyears = | sooteams = | soogames(goals) = | nationalyears = | nationalteams = | nationalgames(goals) = | coachyears = | coachclubs = | coachgames(wins) = | statsend = | pcupdate = | repstatsend = | coachstatsend = | careerhighlights = }}
Parameters
Name
- name
Player's common name (first and last). Should be the same as the article's title, except with no disambiguation. Example:
| name = Mark McVeigh
- fullname
Player's full name, if possible. No nicknames should be included. Example:
| fullname = Christopher Dylan Judd
- nickname
Player's nickname(s). If not widespread, should be backed up by a reliable source, otherwise deleted.
| nickname = Whiskas
Image
- image
Name of image. Note you should not include "File:" or wikilink it – the template does this automatically. Example:
| image = Joel Selwood playing for Geelong.JPG
- alt
Alternative text for the image. Example:
| alt = A tall, fair-skinned man with brown eyes, dark hair and a goatee, wearing a red polo shirt and blue jeans, stands against a white background.
- caption
Image caption. Example:
| caption = Matthew Pavlich kicking for goal in 2006
Age, birth and death
- birth_date
Use {{birth date and age|yyyy|mm|dd|df=y}}. Example:
{{birth date and age|1971|05|23|df=y}}
produces 23 May 1971 (age 40)
- birth_place
If unknown, leave blank. The wikified placename and state of Australia should be included. If overseas-born, include the country of birth. Example:
| birth_place = [[Bendigo, Victoria]]
- death_date
Use {{death date and age|yyyy|mm|dd|yyyy|mm|dd|df=y}}. Note the death dates go before the birth dates. If alive, leave blank. Example:
- death_place
If unknown, leave blank. The wikified placename and state of Australia should be included. If died overseas, include the country of death. Example:
| birth_place = [[Westonia, Western Australia]]
Playing information
- originalteam
The original team from which the player was recruited. This will usually be a junior or country football club. Do not include previous AFL clubs. State league teams should 'not be used unless no other information is available. Wikify if possible. Example:
| originalteam = Mandurah Junior Football Club
- draftpick
The pick(s) used to select the player in the VFL/AFL draft, if applicable. The format should be as follows: pick aath overall in the [[''bbbb'' AFL Draft|''bbbb'' ''ccccccc'']], {{AFL dd}}; where aa stands for the draft pick, bbbb stands for the year of the draft (note: the rookie and pre-season drafts are described as occurring for the next season eg. the 2005 Rookie Draft occurred in 2004.), ccccccc stands for the type of draft (National, Rookie, pre-season, mid-season, pre-draft selection) and dd stands for the club selecting the player. Players drafted more than once should be listed more than once. Players selected under zoning should be described as a zone selection. Players selected as a priority pick or the father-son rule should be listed as such in small text. Example:
| draftpick = 40th overall (<small>[[Father-Son Rule|F/S]]</small>), [[2001 AFL Draft|2001 National Draft]], {{AFL Gee}}
- heightweight
The player's height and weight in centimetres (cm) and kilograms (kg), separated by a slash. There should be a space between the number and the measurement per MOS:NUM. Example:
| heightweight = 195 cm / 100 kg
- position
The position(s) the player played during their career. More specific roles (full-forward, rover) are preferable to general terms (midfielder, defender). Wikified is also preferable. "Interchange" or "substitute" should not be listed as a position. Example:
| position = [[Ruckman]], [[full-forward]]
- currentclub
The current club the player is playing with. If more than one, select the highest level of playing e.g. Darren Glass is listed both at Perth and at West Coast. West Coast plays in a higher competition, so use West Coast. Example:
| currentclub = [[Essendon Football Club|Essendon]]
- guernsey
The current guernsey number of the player. Example:
| guernsey = 6
Umpires
The following additional parameters are available for AFL umpires
| umpireleague1 = <!-- e.g., [[West Australian Football League|WANFL]] --> | umpirerole1 = <!-- e.g., Field umpire --> | umpireyears1 = <!-- e.g., 1952-1964 --> | umpiregames1 = <!-- e.g., 20 --> | umpireleague2 = | umpirerole2 = | umpireyears2 = | umpiregames2 = | umpireleague3 = | umpirerole3 = | umpireyears3 = | umpiregames3 =
TemplateData
<templatedata> { "params": { "name": { "required": false, "label": "Name", "type": "string", "description": "Name of Player." }, "image": { "required": true, "label": "Image", "type": "wiki-page-name", "description": "Image of the player" }, "alt": { "required": false, "label": "Alternative text", "type": "string", "description": "Alternative text if image does not display for whatever reason " }, "caption": { "required": false, "label": "Image Caption", "type": "string", "description": "Caption for the image" }, "fullname": { "required": true, "label": "Full Name", "type": "string", "description": "Full name of the player." }, "nickname": { "required": false, "label": "Nickname", "type": "string", "description": "Nickname of the player" }, "birth_date": { "required": false, "label": "Birth Date", "type": "string", "description": "Player's Birthdate" }, "birth_place": { "required": false, "label": "Birth Place", "type": "string", "description": "Player's place of birth" }, "death_date": { "required": false, "label": "Death Date", "type": "line", "description": "Date of player's death" }, "death_place": { "required": false, "label": "Death Place", "type": "line", "description": "Player's place of death" }, "originalteam": { "required": false, "label": "Original Team", "type": "string", "description": "Team from which player was recruited(junior or country football club)" }, "draftpick": { "required": false, "label": "Draft Pick", "type": "line", "description": "The pick(s) used to select the player in the VFL/AFL draft, if applicable" }, "heightweight": { "required": false, "label": "Height Weight", "type": "line", "description": "Height(cm) and weight(kg) separated by a slash" }, "position": { "required": false, "label": "Position", "type": "string", "description": "Position of the player during their career" }, "currentclub": { "required": false, "label": "Current Club", "type": "string", "description": "The club that the player is currently playing with" }, "guernsey": { "required": false, "label": "Guernsey", "type": "number", "description": "The current guernsey number of the player" }, "years": { "required": false, "label": "Years", "type": "number", "description": "Number of years that the player played" }, "clubs": { "required": false, "label": "Clubs", "type": "string", "description": "Clubs that the player played with" }, "games(goals)": { "required": false, "label": "Games(Goals)", "type": "number", "description": "Games played by the player (with goals scored)" }, "sooyears": { "required": false, "label": "SOO Years", "type": "number", "description": "Total years played in State of Origin (SOO) games" }, "sooteams": { "required": false, "label": "SOO Teams", "type": "string", "description": "Teams that player played for in SOO games" }, "soogames(goals)": { "required": false, "label": "SOO Games(Goals)", "type": "line", "description": "SOO games played (with goals)" }, "nationalyears": { "required": false, "label": "National Years", "type": "number", "description": "Total Years played in national games" }, "nationalteams": { "required": false, "label": "National Teams", "type": "string", "description": "Teams that player played for" }, "nationalgames(goals)": { "required": false, "label": "National Games(Goals)", "type": "line", "description": "Total number of national games played(with goals)" }, "coachyears": { "required": false, "label": "Coach Years", "type": "number", "description": "Years spent as a coach" }, "coachclubs": { "required": false, "label": "Coach Clubs", "type": "string", "description": "Clubs for which player was a coach for" }, "coachgames(wins)": { "required": false, "label": "Coach Games(Wins)", "type": "line", "description": "Total games as a coach (with wins)" }, "statsend": { "required": false, "label": "Stats End", "type": "number", "description": "Year upto which the stats are correct" }, "pcupdate": { "required": false, "label": "Last Update", "type": "number", "description": "A timestamp of the last time the player's infobox career statistics were updated" }, "repstatsend": { "required": false, "label": "Representative Stats end", "type": "number", "description": "Year upto which the representative stats are correct" }, "coachstatsend": { "required": false, "label": "Coach Stats end", "type": "number", "description": "The year upto which the coach stats are correct" }, "careerhighlights": { "required": false, "label": "Career Highlights", "type": "string", "description": "Highlights from the player's career" } } }
</templatedata>
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
The above documentation is transcluded from Template:Infobox AFL biography/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |