Template:Infobox AFL biography/doc: Difference between revisions
en>Jonesey95 (add auto short description) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 01:07, 18 January 2023
File:Edit-copy green.svg | This is a documentation subpage for Template:Infobox AFL biography. It contains usage information, categories and other content that is not part of the original template page. |
Script error: No such module "High-use".
File:Information icon4.svg | This template adds an automatically generated short description. If the automatic short description is not optimal, replace it by adding {{Short description}} at the top of the article. |
File:Lua-Logo.svg | This template uses Lua: |
Usage
Script error: No such module "Parameter names example".
{{Infobox AFL biography | name = | image = | alt = | caption = | fullname = <!-- if different --> | 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 = | debutdate = | debutteam = | debutopponent = | debutstadium = | height = <!-- "X cm" or "X ft Y in" plus optional reference (conversions are automatic) --> | weight = <!-- "X kg", "X lb" or "X st Y lb" plus optional reference (conversions are automatic) --> | position = | otheroccupation = | currentclub = | guernsey = | years1 = <!-- Additional years/clubs/games_goals can be added using higher numbers (up to 10) --> | club1 = | games_goals1 = | years2 = | club2 = | games_goals2 = | games_goalstotal = <!-- Allows a total value for games_goals --> | sooyears1 = | sooteam1 = | soogames_goals1 = | sooyears2 = | sooteam2 = | soogames_goals2 = | soogames_goalstotal = | nationalyears1 = | nationalteam1 = | nationalgames_goals1 = | nationalyears2 = | nationalteam2 = | nationalgames_goals2 = | nationalgames_goalstotal = | coachyears1 = | coachclub1 = | coachgames_wins1 = | coachyears2 = | coachclub2 = | coachgames_wins2 = | coachgames_winstotal = | umpireyears1 = | umpireleague1 = | umpirerole1 = | umpiregames1 = | umpireyears2 = | umpireleague2 = | umpirerole2 = | umpiregames2 = | statsend = | repstatsend = | coachstatsend = | careerhighlights = | source = <!-- Use full URL and display text in single brackets, or leave blank for wikidata automation --> }}
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: No. aa in the [[''bbbb'' AFL draft|''bbbb'' ''ccccccc'']]; 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 e.g. the 2005 rookie draft occurred in 2004.), ccccccc stands for the type of draft (national, rookie, pre-season, mid-season, pre-draft selection). 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 = No. 40 <small>([[Father–son rule|F/S]])</small>, [[2001 AFL draft|2001 national draft]]
- height
The player's height in centimetres (cm). Example:
| height = 195 cm
- weight
The player's weight in kilograms (kg). Example:
| weight = 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 = {{AFL Ess}}
- 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 =
Sources
A link to either, or both, of AustralianFootball.com and AFLTables.com will be inserted into the infobox automatically if the article's wikidata item contains the respective IDs. The ID for Australian Football is the numbers at the end of the URL after "http://australianfootball.com/players/player/John+Smith/", normally in the form of 12345
. The ID for AFL Tables is the URL segment after "http://afltables.com/afl/stats/players" in the form of J/John_Smith
, without the .html.
If you want to override the automatically added links, then this can be done by using the source parameter. Example:
| source = [https://australianfootball.com/players/player/evie%2Bgooch/20227 AustralianFootball.com]
Use as a child template
The embed parameter is used when embedding this infobox into another.
This infobox may be used to create a genre-specific section within {{Infobox person}} (or similar biographical infobox templates) for cases where a person may be notable in more than one field; a generic example is shown below. For guidance on usage, see Wikipedia:Infobox modules. Also see the Template:Infobox documentation which explains embedding and subboxes.
{{Infobox person | name = | image = | caption = | birth_date = | birth_place = | <!-- etc. --> | module = {{Infobox AFL biography | embed=yes | parameter-1 = | parameter-2 = | parameter-3 = | parameter-4 = | <!-- etc. --> }} }}
Examples
Player
Script error: No such module "infobox3cols".
{{Infobox AFL biography | name = Joel Selwood | image = Joel Selwood playing for Geelong.JPG | caption = Selwood playing for Geelong | fullname = Joel Anthony Selwood | birth_date = {{Birth-date and age|26 May 1988}} | birth_place = [[Bendigo, Victoria]] | originalteam = {{plainlist| * [[Sandhurst Football Club|Sandhurst]] ([[Bendigo Football League|BFL]]) * [[Bendigo Pioneers]] ([[TAC Cup]]) }} | draftpick = No. 7, [[2006 AFL draft|2006 national draft]] | height = 183cm | weight = 86 kg | position = [[Midfielder (Australian Rules)|Midfielder]] | currentclub = {{AFL Gee}} | guernsey = 14 | statsend = 2016 | repstatsend = 2014 | years1 = 2007– | club1 = {{AFL Gee}} | games_goals1 = 228 (138) | sooyears1 = 2008 | sooteam1 = [[Victoria Australian rules football team|Victoria]] | soogames_goals1 = 1 (0) | nationalyears1 = 2014 | nationalteam1 = [[Australia international rules football team|Australia]] | nationalgames_goals1 = 1 (0) | careerhighlights = * [[AFL Rising Star|Ron Evans Medal]]: (2007) * [[AFL Players Association awards|AFLPA best first year player]]: (2007) * AFLCA Best Young Player Award: (2008) * [[NAB Cup]]: (2009) * [[Michael Tuck Medal]]: (2009) * 3× premiership player: (2007, 2009, 2011) * 5× [[All-Australian team]]: (2009, 2010, 2013 – captain, 2014 – captain, 2016 – captain) * 4× [[AFL Players Association awards|Robert Rose Award]]: (2009, 2012, 2013, 2014) * 3× [[Carji Greeves Medal]]: (2010, 2013, 2014) * [[AFL Players Association awards|AFLPA best captain]]: (2013) * [[List of Geelong Football Club captains|Geelong captain]]: (2012–) |source = [https://australianfootball.com/players/player/joel%2Bselwood/14932 AustralianFootball.com] }}
Player, coach, umpire
Script error: No such module "infobox3cols".
{{Infobox AFL biography | name = Vic Belcher | image = Belcher-victor.jpg | caption = Belcher in South Melbourne uniform (1919) | fullname = Victor George Belcher | birth_date = {{Birth date|df=yes|1888|8|24}} | birth_place = [[Launceston, Tasmania|near Launceston]] | death_date = {{Death date and age|df=yes|1977|1|3|1888|8|24}} | death_place = [[Brunswick, Victoria|Brunswick]] | originalteam = [[Brunswick Football Club|Brunswick]] | height = 180 cm | weight = 80 kg | statsend = 1920 | coachstatsend = 1927 | years1 = 1907–1920 | club1 = {{AFL SM}} | games_goals1 = 226 (62) | sooyears1 = 1919 | sooteam1 = [[Victoria Australian rules football team|Victoria]] | soogames_goals1 = 2 | coachyears1 = 1914–1917 | coachclub1 = {{AFL SM}} | coachgames_wins1 = 53 (30–21–1) | coachyears2 = 1922–1924 | coachclub2 = {{AFL Fit}} | coachgames_wins2 = 57 (37–19–1) | coachyears3 = 1926–1927 | coachclub3 = {{AFL Fit}} | coachgames_wins3 = 36 (12–23–1) | coachgames_winstotal = 146 (80–63–3) | umpireyears1 = 1921 | umpireleague1 = [[Australian Football League|VFL]] | umpirerole1 = Boundary umpire | umpiregames1 = 16 | umpireyears2 = 1930 | umpireleague2 = [[Australian Football League|VFL]] | umpirerole2 = Boundary umpire | umpiregames2 = 1 | careerhighlights = * {{AFL SM}} premiership player [[1909 VFL Grand Final|1909]], [[1918 VFL Grand Final|1918]] * {{AFL Fit}} premiership coach [[1922 VFL Grand Final|1922]] * {{AFL Syd}} Team of the Century * {{AFL SM}} captain 1913–1915, 1917, 1920 * [[Australian Football Hall of Fame]] 1996 }}
TemplateData
TemplateData documentation used by VisualEditor and other tools
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Click here to see a monthly parameter usage report for this template based on this TemplateData.
TemplateData for Infobox AFL biography No description.
|
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.
Tracking categories
- Category:Pages using infobox AFL biography with unknown parameters (0)
- Category:Infobox AFL biography articles missing expected parameters (0) – e.g., years without clubs