Difference between revisions of "Template:Infobox AFL player/doc"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>Magioladitis
(++)
Line 4: Line 4:
 
=== Usage ===
 
=== Usage ===
  
<pre>
+
Copy and paste the text in the box below to add this infobox to an AFL player article.
{{Infobox AFL player
+
<nowiki>{{Infobox afl player
|name               =  
+
| name =  
|image             =  
+
| image =  
|image size        =
+
| image_size =  
|alt                =  
+
| caption =  
|caption           =  
+
| birth_date =  
|fullname          =  
+
| birth_place =  
|nickname          =  
+
| originalteam =  
|birth_date        = {{birth date and age|yyyy|mm|dd|df=y}}
+
| heightweight =
|birth_place        =  
+
| death_date =  
|death_date         = {{death date and age|yyyy|mm|dd|yyyy|mm|dd|df=y}}
+
| death_place =  
|death_place       =  
+
| debutdate =  
|originalteam      =  
+
| debutteam =  
|draftpick          = [[? AFL Draft|?]]: # (Team)
+
| debutopponent =  
|height            = {{convert|??|cm|ftin|abbr=on}}
+
| debutstadium =  
|weight            = {{convert|??|kg|stlb|abbr=on}}
+
| playingteams =  
|position          =  
+
 
|currentclub        =
+
 
|guernsey          =
+
| coachingteams =  
|club1              =  
+
 
|year1start        =
+
| statsend = 2004
|year1end          =  
+
| careerhighlights = <BR>
|appearances1      =  
+
*
|goals1            =
+
}}</nowiki>
|behinds1          =
+
 
|club2              =
+
===Parameters===
|year2start        =  
+
====name====
|year2end          =  
+
Player's name
|appearances2      =  
+
 
|goals2            =  
+
====image name====
|behinds2          =  
+
Name of the image. This field can be left blank or omitted.  Default size is 200 px - to overwrite, just put a number.  Adding a caption is optional.
|club3              =  
+
Example:
|year3start        =  
+
<nowiki>| image = croft
|year3end          =  
+
| image_size = 150
|appearances3      =  
+
| caption = A photo of a player at a ground in a year</nowiki>
|goals3            =  
+
 
|behinds3          =  
+
====birth_date, birth_place====
|club4              =  
+
{{tl|Birth date}} or {{tl|Birth date and age}}; and place of birth.  Example:
|year4start        =  
+
<nowiki>| birth_date = {{Birth date|1981|02|27}}
|year4end          =  
+
| birth_place = [[Mildura, Victoria]]</nowiki>
|appearances4      =
+
 
|goals4            =
+
====originalteam====
|behinds4          =  
+
Wikified team from which the player was recruited immediately prior to joining the V/AFL, and the league (abbreviated, in brackets). 
|club5              =  
+
Example: 
|year5start        =  
+
 
|year5end          =  
+
<nowiki>| originalteam = [[Mayne Football Club]] ([[AFLQ]])</nowiki>
|appearances5      =  
+
 
|goals5            =  
+
====death_date, death_place====
|behinds5          =  
+
Wikified date and place of death. Will be suppressed if death_date is left blank or omitted.
|club6              =  
+
 
|year6start        =
+
====debutdate, debutteam, debutopponent, debutstadium====
|year6end          =
+
Details of this player's first game in the V/AFL, all wikified.
|appearances6      =  
+
 
|goals6            =  
+
====playingteams====
|behinds6          =  
+
Clubs played for, and in which years.  Each club listed on a separate line.  Example:
|club7              =
+
 
|year7start        =  
+
<nowiki>| playingteams = [[Fitzroy FC]] (1988-1993)
|year7end          =  
+
 
|appearances7      =  
+
[[Brisbane Bears FC]] (1994-1996)
|goals7            =  
+
 
|behinds7          =  
+
[[Brisbane Lions AFC]] (1997-2004)</nowiki>
|club8              =  
+
 
|year8start        =  
+
====coachingteams====
|year8end          =  
+
Clubs coached, and in which years.  Each club on a separate line.  This field is suppressed if it is left blank or omitted.  Example:
|appearances8      =
+
<nowiki>| coachingteams = [[Collingwood FC]] (1987-1995)
|goals8            =
+
 
|behinds8          =  
+
[[Brisbane Lions AFC]] (since 1999)</nowiki>
|club9              =
+
 
|year9start        =
+
====statsend====
|year9end          =
+
Requires a year.  Infobox is accurate to end of the season indicated here.  Example:
|appearances9      =  
+
<nowiki>| statsend = 2004</nowiki>
|goals9            =
+
 
|behinds9          =  
+
====careerhighlights====
|club10            =  
+
Major career highlights in point form.  Career games played, goals kicked.  Awards (Brownlow, best-and-fairest, media awards, premiership side, hall of fame, team of the century, All-Australian, International Rules representative, etc.). Example:
|year10start        =  
+
<nowiki>| careerhighlights = <BR>
|year10end          =  
+
*[[Brownlow Medal]] 2002
|appearances10      =  
+
*[[Merrett-Murray Medal]] 2002, 2003
|goals10            =  
+
*Premiership Side 2001, 2002, 2003</nowiki>
|behinds10          =  
+
Note that the '''<nowiki><BR></nowiki>''' must be in place or some odd formatting will occur.
|teamA              =  
+
 
|yearAstart        =
+
===Example===
|yearAend          =
+
<nowiki>{{Infobox afl player
|appearancesA      =
+
| name = Jason Akermanis
|goalsA            =  
+
| image =  
|behindsA          =
+
| birth_date = 24 February 1977
|teamB              =  
+
| birth_place = [[Mildura, Victoria]]
|yearBstart        =  
+
| originalteam = [[Mayne Football Club]] ([[AFLQ]])
|yearBend          =  
+
| death_date =  
|appearancesB      =  
+
| death_place =  
|goalsB            =  
+
| debutdate = Round 5, 23 April 1995
|behindsB          =  
+
| debutteam = [[Brisbane Bears]]
|teamC              =  
+
| debutopponent = [[Carlton Football Club|Carlton]]
|yearCstart        =  
+
| debutstadium = [[The Gabba]]
|yearCend          =
+
| playingteams = [[Brisbane Bears]] (1995-1996)
|appearancesC      =
+
|goalsC            =  
+
[[Brisbane Lions]] (1997-)
|behindsC          =  
+
| coachingteams =  
|teamD              =  
+
| statsend = 2004
|yearDstart        =  
+
| careerhighlights = <BR>
|yearDend          =  
+
*[[Brownlow Medal]] 2001
|appearancesD      =  
+
*Premiership side 2001, 2002, 2003
|goalsD            =  
+
}}
|behindsD          =  
+
</nowiki>
|teamE              =
+
 
|yearEstart        =
+
=== Microformat ===
|yearEend          =  
+
{{UF-hcard-person}}
|appearancesE      =  
 
|goalsE            =  
 
|behindsE          =  
 
|coachteam1        =  
 
|coachyear1start    =  
 
|coachyear1end      =  
 
|coachgames1        =  
 
|coachwins1        =
 
|coachdraws1        =
 
|coachlosses1      =  
 
|coachteam2        =
 
|coachyear2start    =
 
|coachyear2end      =
 
|coachgames2        =
 
|coachwins2        =
 
|coachdraws2        =  
 
|coachlosses2      =  
 
|coachteam3        =  
 
|coachyear3start    =  
 
|coachyear3end      =  
 
|coachgames3        =  
 
|coachwins3        =  
 
|coachdraws3        =  
 
|coachlosses3      =
 
|coachteam4        =  
 
|coachyear4start    =
 
|coachyear4end      =
 
|coachgames4        =
 
|coachwins4        =  
 
|coachdraws4        =  
 
|coachlosses4      =  
 
|coachteam5        =  
 
|coachyear5start    =  
 
|coachyear5end      =  
 
|coachgames5        =  
 
|coachwins5        =  
 
|coachdraws5        =
 
|coachlosses5      =  
 
|coachteam6        =
 
|coachyear6start    =  
 
|coachyear6end      =  
 
|coachgames6        =  
 
|coachwins6        =  
 
|coachdraws6        =  
 
|coachlosses6      =  
 
|coachteamA        =  
 
|coachyearAstart    =  
 
|coachyearAend      =
 
|coachgamesA        =  
 
|coachwinsA        =
 
|coachdrawsA        =
 
|coachlossesA      =
 
|coachteamB        =
 
|coachyearBstart    =
 
|coachyearBend      =  
 
|coachgamesB        =  
 
|coachwinsB        =  
 
|coachdrawsB        =  
 
|coachlossesB      =  
 
|coachteamC        =  
 
|coachyearCstart    =
 
|coachyearCend      =  
 
|coachgamesC        =  
 
|coachwinsC        =  
 
|coachdrawsC        =  
 
|coachlossesC      =  
 
|coachteamD        =  
 
|coachyearDstart    =  
 
|coachyearDend      =  
 
|coachgamesD        =  
 
|coachwinsD        =  
 
|coachdrawsD        =
 
|coachlossesD      =  
 
|coachteamE        =  
 
|coachyearEstart    =
 
|coachyearEend      =
 
|coachgamesE        =  
 
|coachwinsE        =  
 
|coachdrawsE        =  
 
|coachlossesE      =
 
|statsend          =
 
}}</pre>
 
  
 
=== See also ===
 
=== See also ===
Line 201: Line 119:
 
[[Category:Sportsperson infobox templates|Australian rules football player]]
 
[[Category:Sportsperson infobox templates|Australian rules football player]]
 
[[Category:Football infobox templates|Australian rules football player]]
 
[[Category:Football infobox templates|Australian rules football player]]
 +
 
</includeonly>
 
</includeonly>

Revision as of 21:17, 2 February 2012

Usage

Copy and paste the text in the box below to add this infobox to an AFL player article.

{{Infobox afl player
| name = 
| image = 
| image_size = 
| caption = 
| birth_date = 
| birth_place = 
| originalteam = 
| heightweight =
| death_date = 
| death_place = 
| debutdate = 
| debutteam = 
| debutopponent = 
| debutstadium = 
| playingteams = 


| coachingteams = 

| statsend = 2004
| careerhighlights = <BR>
*
}}

Parameters

name

Player's name

image name

Name of the image. This field can be left blank or omitted. Default size is 200 px - to overwrite, just put a number. Adding a caption is optional. Example:

| image = croft
| image_size = 150
| caption = A photo of a player at a ground in a year

birth_date, birth_place

{{Birth date}} or {{Birth date and age}}; and place of birth. Example:

| birth_date = {{Birth date|1981|02|27}}
| birth_place = [[Mildura, Victoria]]

originalteam

Wikified team from which the player was recruited immediately prior to joining the V/AFL, and the league (abbreviated, in brackets). Example:

| originalteam = [[Mayne Football Club]] ([[AFLQ]])

death_date, death_place

Wikified date and place of death. Will be suppressed if death_date is left blank or omitted.

debutdate, debutteam, debutopponent, debutstadium

Details of this player's first game in the V/AFL, all wikified.

playingteams

Clubs played for, and in which years. Each club listed on a separate line. Example:

| playingteams = [[Fitzroy FC]] (1988-1993)

[[Brisbane Bears FC]] (1994-1996)

[[Brisbane Lions AFC]] (1997-2004)

coachingteams

Clubs coached, and in which years. Each club on a separate line. This field is suppressed if it is left blank or omitted. Example:

| coachingteams = [[Collingwood FC]] (1987-1995)

[[Brisbane Lions AFC]] (since 1999)

statsend

Requires a year. Infobox is accurate to end of the season indicated here. Example:

| statsend = 2004

careerhighlights

Major career highlights in point form. Career games played, goals kicked. Awards (Brownlow, best-and-fairest, media awards, premiership side, hall of fame, team of the century, All-Australian, International Rules representative, etc.). Example:

| careerhighlights = <BR>
*[[Brownlow Medal]] 2002
*[[Merrett-Murray Medal]] 2002, 2003
*Premiership Side 2001, 2002, 2003

Note that the <BR> must be in place or some odd formatting will occur.

Example

{{Infobox afl player
 | name = Jason Akermanis
 | image = 
 | birth_date = 24 February 1977
 | birth_place = [[Mildura, Victoria]]
 | originalteam = [[Mayne Football Club]] ([[AFLQ]])
 | death_date = 
 | death_place = 
 | debutdate = Round 5, 23 April 1995
 | debutteam = [[Brisbane Bears]]
 | debutopponent = [[Carlton Football Club|Carlton]]
 | debutstadium = [[The Gabba]]
 | playingteams = [[Brisbane Bears]] (1995-1996)
 
 [[Brisbane Lions]] (1997-)
 | coachingteams = 
 | statsend = 2004
 | careerhighlights = <BR>
 *[[Brownlow Medal]] 2001
 *Premiership side 2001, 2002, 2003
 }}
 

Microformat

Template:UF-hcard-person

See also