Template:Infobox AFL biography/doc

From The Global Wiki
< Template:Infobox AFL biography
Revision as of 00:46, 29 May 2022 by en>Jonesey95 (add auto short description)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Script error: No such module "High-use".

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.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

Name of Player.

Stringoptional
Imageimage

Image of the player

Filerequired
Alternative textalt

Alternative text if image does not display for whatever reason

Stringoptional
Image Captioncaption

Caption for the image

Stringoptional
Full Namefullname

Full name of the player.

Stringrequired
Nicknamenickname

Nickname of the player

Stringoptional
Birth Datebirth_date

Player's Birthdate

Stringoptional
Birth Placebirth_place

Player's place of birth

Stringoptional
Death Datedeath_date

Date of player's death

Lineoptional
Death Placedeath_place

Player's place of death

Lineoptional
Original Teamoriginalteam

Team from which player was recruited(junior or country football club)

Stringoptional
Draft Pickdraftpick

The pick(s) used to select the player in the VFL/AFL draft, if applicable

Lineoptional
Height Weightheightweight

Height(cm) and weight(kg) separated by a slash

Lineoptional
Positionposition

Position of the player during their career

Stringoptional
Current Clubcurrentclub

The club that the player is currently playing with

Stringoptional
Guernseyguernsey

The current guernsey number of the player

Numberoptional
Yearsyears

Number of years that the player played; deprecated in favor of years1–years10

Numberoptional
Clubsclubs

Clubs that the player played with; deprecated in favor of club1–club10

Stringoptional
Games(Goals)games(goals)

Games played by the player (with goals scored); deprecated in favor of games_goals1–games_goals10

Numberoptional
SOO Yearssooyears

Total years played in State of Origin (SOO) games; deprecated in favor of sooyear1–sooyear10

Numberoptional
SOO Teamssooteams

Teams that player played for in SOO games; deprecated in favor of sooteam1–sooteam10

Stringoptional
SOO Games(Goals)soogames(goals)

SOO games played (with goals); deprecated in favor of soogames_goals1–soogames_goals10

Lineoptional
National Yearsnationalyears

Total Years played in national games; deprecated in favor of nationalyears1–nationalyears10

Numberoptional
National Teamsnationalteams

Teams that player played for; deprecated in favor of nationalteam1–nationalteam10

Stringoptional
National Games(Goals)nationalgames(goals)

Total number of national games played(with goals); deprecated in favor of nationalgames_goals1–nationalgames_goals10

Lineoptional
Coach Yearscoachyears

Years spent as a coach; deprecated in favor of coachyears1–coachyears10

Numberoptional
Coach Clubscoachclubs

Clubs for which player was a coach for; deprecated in favor of coachclub1–coachclub10

Stringoptional
Coach Games(Wins)coachgames(wins)

Total games as a coach (with wins); deprecated in favor of coachgames_wins1–coachgames_wins10

Lineoptional
Stats Endstatsend

Year up to which the stats are correct

Numberoptional
Representative Stats endrepstatsend

Year up to which the representative stats are correct

Numberoptional
Coach Stats endcoachstatsend

The year up to which the coach stats are correct

Numberoptional
Career Highlightscareerhighlights

Highlights from the player's career

Stringoptional
Sourcesource

Use full URL and display text in single brackets, or leave blank for wikidata automation

Stringoptional

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