Template:Infobox AFL biography/sandbox
This is the template sandbox page for Template:Infobox AFL biography (diff). See also the companion subpage for test cases. |
This template is used on approximately 14,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
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. |
This template uses Lua: |
- image (P18) (see uses)
- AustralianFootball.com player ID (P3546) (see uses)
- AFL Tables player ID (P3547) (see uses)
Usage
[edit]{{{name}}} | |||
---|---|---|---|
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright={{{image_upright}}}]] | |||
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(s) | {{{originalteam}}} | ||
Draft | {{{draftpick}}} | ||
Debut | {{{debutdate}}}, {{{debutteam}}} vs. {{{debutopponent}}}, at {{{debutstadium}}} | ||
Height | {{{height}}} | ||
Weight | {{{weight}}} | ||
Position(s) | {{{position}}} | ||
Other occupation | {{{otheroccupation}}} | ||
Club information | |||
Current club | {{{currentclub}}} | ||
Number | {{{guernsey}}} | ||
Playing career1 | |||
Years | Club | Games (Goals) | |
{{{years1}}} | {{{club1}}} | {{{games_goals1}}} | |
{{{years2}}} | {{{club2}}} | {{{games_goals2}}} | |
Total | {{{games_goalstotal}}} | ||
Representative team honours | |||
Years | Team | Games (Goals) | |
{{{sooyears1}}} | {{{sooteam1}}} | {{{soogames_goals1}}} | |
{{{sooyears2}}} | {{{sooteam2}}} | {{{soogames_goals2}}} | |
Total | {{{soogames_goalstotal}}} | ||
International team honours | |||
{{{nationalyears1}}} | {{{nationalteam1}}} | {{{nationalgames_goals1}}} | |
{{{nationalyears2}}} | {{{nationalteam2}}} | {{{nationalgames_goals2}}} | |
Total | {{{nationalgames_goalstotal}}} | ||
Coaching career3 | |||
Years | Club | Games (W–L–D) | |
{{{coachyears1}}} | {{{coachclub1}}} | {{{coachgames_wins1}}} | |
{{{coachyears2}}} | {{{coachclub2}}} | {{{coachgames_wins2}}} | |
Total | {{{coachgames_winstotal}}} | ||
Umpiring career | |||
Years | League | Role | Games |
{{{umpireyears1}}} | {{{umpireleague1}}} | {{{umpirerole1}}} | {{{umpiregames1}}} |
{{{umpireyears2}}} | {{{umpireleague2}}} | {{{umpirerole2}}} | {{{umpiregames2}}} |
1 Playing statistics correct to the end of {{{statsend}}}. 2 State and international statistics correct as of {{{repstatsend}}}. 3 Coaching statistics correct as of {{{coachstatsend}}}. | |||
Career highlights | |||
{{{careerhighlights}}} | |||
Source: {{{source}}} |
{{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
[edit]Name
[edit]- 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
[edit]- 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
- image_upright
The scaling factor for the image.
| image_upright = 0.5
- 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
[edit]- 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
[edit]- 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. Example:
| draftpick = No. 40 ([[Father–son rule|F/S]]), [[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
[edit]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
[edit]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
[edit]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 =
| <nowiki><!--</nowiki> ''[[et cetera|etc.]]'' <nowiki>--></nowiki>
| module =
<nowiki>{{</nowiki>{{{1|{{{template|<includeonly>{{BASEPAGENAME}}</includeonly><noinclude>EMBEDDED TEMPLATE NAME</noinclude>}}}}}} | {{#if:{{{parameter|}}} | {{{parameter}}}=yes | child=yes <nowiki><!--</nowiki> ''or'' embed=yes ''or'' subbox=yes <nowiki>--></nowiki>}}
| {{{2|{{{example_parameter1|parameter-1}}}}}} =
| {{{3|{{{example_parameter2|parameter-2}}}}}} =
| {{{4|{{{example_parameter3|parameter-3}}}}}} =
| {{{5|{{{example_parameter4|parameter-4}}}}}} =
| <nowiki><!--</nowiki> ''etc.'' <nowiki>--></nowiki>
}}
}}
Examples
[edit]Player
[edit]Joel Selwood | |||
---|---|---|---|
Personal information | |||
Full name | Joel Anthony Selwood | ||
Date of birth | 26 May 1988 | (age 36)||
Place of birth | Bendigo, Victoria | ||
Original team(s) | |||
Draft | No. 7, 2006 national draft | ||
Height | 183 cm (6 ft 0 in) | ||
Weight | 86 kg (190 lb) | ||
Position(s) | Midfielder | ||
Club information | |||
Current club | Geelong | ||
Number | 14 | ||
Playing career1 | |||
Years | Club | Games (Goals) | |
2007– | Geelong | 228 (138) | |
Representative team honours | |||
Years | Team | Games (Goals) | |
2008 | Victoria | 1 (0) | |
International team honours | |||
2014 | Australia | 1 (0) | |
1 Playing statistics correct to the end of 2016. 2 State and international statistics correct as of 2014. | |||
Career highlights | |||
|
{{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
[edit]Vic Belcher | |||
---|---|---|---|
Personal information | |||
Full name | Victor George Belcher | ||
Date of birth | 24 August 1888 | ||
Place of birth | near Launceston | ||
Date of death | 3 January 1977 | (aged 88)||
Place of death | Brunswick | ||
Original team(s) | Brunswick | ||
Height | 180 cm (5 ft 11 in) | ||
Weight | 80 kg (176 lb) | ||
Playing career1 | |||
Years | Club | Games (Goals) | |
1907–1920 | South Melbourne | 226 (62) | |
Representative team honours | |||
Years | Team | Games (Goals) | |
1919 | Victoria | 2 | |
Coaching career3 | |||
Years | Club | Games (W–L–D) | |
1914–1917 | South Melbourne | 53 (30–21–1) | |
1922–1924 | Fitzroy | 57 (37–19–1) | |
1926–1927 | Fitzroy | 36 (12–23–1) | |
Total | 146 (80–63–3) | ||
Umpiring career | |||
Years | League | Role | Games |
1921 | VFL | Boundary umpire | 16 |
1930 | VFL | Boundary umpire | 1 |
1 Playing statistics correct to the end of 1920. 3 Coaching statistics correct as of 1927. | |||
Career highlights | |||
|
{{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
[edit]TemplateData documentation used by VisualEditor and other tools
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
See a monthly parameter usage report for Template:Infobox AFL biography in articles based on its TemplateData.
TemplateData for Infobox AFL biography An infobox for the Australian Football League.
|
Microformat
[edit]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
[edit]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
[edit]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
[edit]- Category:Pages using infobox AFL biography with unknown parameters (4)
- Category:Infobox AFL biography articles missing expected parameters (342) – e.g., years without clubs