Template:Infobox netball biography/doc

From TWC Archive
Jump to navigation Jump to search
{{{honorific-prefix}}}
{{{name}}}
{{{honorific_suffix}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright=1]]
{{{caption}}}
Personal information
Full name {{{full_name}}} (née {{{maidenname}}})
Born {{{birth_date}}}
{{{birth_place}}}
Died {{{death_date}}}
{{{death_place}}}
Height {{{height}}}
School {{{school}}}
University {{{university}}}
Occupation {{{occupation}}}
Spouse {{{spouse}}}
Married {{{married_date}}}
Children {{{children}}}
Relatives {{{relatives}}}
Netball career
Playing position(s): {{{positions}}}
Years Club team(s) Apps
{{{clubyears1}}} {{{clubteam1}}} {{{clubapps1}}}
{{{clubyears2}}} {{{clubteam2}}} {{{clubapps2}}}
{{{clubyears3}}} {{{clubteam3}}} {{{clubapps3}}}
{{{clubyears4}}} {{{clubteam4}}} {{{clubapps4}}}
{{{clubyears5}}} {{{clubteam5}}} {{{clubapps5}}}
{{{clubyears6}}} {{{clubteam6}}} {{{clubapps6}}}
{{{clubyears7}}} {{{clubteam7}}} {{{clubapps7}}}
{{{clubyears8}}} {{{clubteam8}}} {{{clubapps8}}}
{{{clubyears9}}} {{{clubteam9}}} {{{clubapps9}}}
{{{clubyears10}}} {{{clubteam10}}} {{{clubapps10}}}
(Correct as of {{{club-update}}})
Years National team(s) Caps
{{{nationalyears1}}} {{{nationalteam1}}} {{{nationalcaps1}}}
{{{nationalyears2}}} {{{nationalteam2}}} {{{nationalcaps2}}}
{{{nationalyears3}}} {{{nationalteam3}}} {{{nationalcaps3}}}
{{{nationalyears4}}} {{{nationalteam4}}} {{{nationalcaps4}}}
{{{nationalyears5}}} {{{nationalteam5}}} {{{nationalcaps5}}}
{{{nationalyears6}}} {{{nationalteam6}}} {{{nationalcaps6}}}
{{{nationalyears7}}} {{{nationalteam7}}} {{{nationalcaps7}}}
{{{nationalyears8}}} {{{nationalteam8}}} {{{nationalcaps8}}}
{{{nationalyears9}}} {{{nationalteam9}}} {{{nationalcaps9}}}
{{{nationalyears10}}} {{{nationalteam10}}} {{{nationalcaps10}}}
(Correct as of {{{national-update}}})
Coaching career
Years Team(s)
{{{coachyears1}}} {{{coachteam1}}}
{{{coachyears2}}} {{{coachteam2}}}
{{{coachyears3}}} {{{coachteam3}}}
{{{coachyears4}}} {{{coachteam4}}}
{{{coachyears5}}} {{{coachteam5}}}
{{{coachyears6}}} {{{coachteam6}}}
{{{coachyears7}}} {{{coachteam7}}}
{{{coachyears8}}} {{{coachteam8}}}
{{{coachyears9}}} {{{coachteam9}}}
{{{coachyears10}}} {{{coachteam10}}}
(Correct as of {{{coach-update}}})
Last updated: {{{updated}}}

Usage

{{Infobox netball biography
|honorific-prefix =
|name             = 
|honorific-suffix =
|image            = 
|image_size       = 
|alt              =
|caption          = 
<!-- Personal information -->
|full_name        = 
|maidenname       = 
|birth_date       = <!-- {{birth date and age|yyyy|mm|dd}} -->
|birth_place      = 
|death_date       = <!-- {{death date and age|death year|death month|death day|birth year|birth month|birth day}} -->
|death_place      = 
|height           = <!-- X.XX m, XXX cm, or X ft YY in -->
|school           = 
|university       = 
|occupation       = 
|spouse           = 
|married_date     = 
|children         = 
|relatives        = 
<!-- Netball career -->
|positions        = 
|clubyears1       = 
|clubteam1        = 
|clubapps1        = 
|clubyears2       = 
|clubteam2        = 
|clubapps2        = 
|club-update      = 
|nationalyears1   = 
|nationalteam1    = 
|nationalcaps1    = 
|nationalyears2   = 
|nationalteam2    = 
|nationalcaps2    = 
|national-update  = 
|coachyears1      = 
|coachteam1       = 
|coachyears2      = 
|coachteam2       = 
|coach-update     = 
<!-- Medal record -->
|medaltemplates   = 
|updated          = 
}}

Guide to parameters

Top fields

  • name: Required field. All others (excl. "updated") are optional. The player's current name as it is usually listed on team rosters.
  • image: Use the format [[Image:Image name|???px]]. If no image, you can use [[Image:Replace this image female.svg|150px]] <!-- only free-content images are allowed for depicting living people – see [[WP:NONFREE]] -->, or leave blank
  • updated: Required field. Date format should be consistent with those of other dates in the article: for most articles, this means "day month year" format. Appears at bottom of infobox. Use {{subst:Date}} or {{subst:Date|2=mdy}}.

Personal information

  • full_name: If different from the player's most common name (e.g., Elizabeth Ellis vs Liz Ellis). Also required for maidenname
  • maidenname: Requires full_name (even if "full_name" is identical to "name")
  • birth_date: The recommended template to use is {{Birth date and age | YYYY|MM|DD|df=yes}}. But if death_date is included, use {{Birth date | YYYY|MM|DD|df=yes}} instead.
  • birth_place: Where possible, use the format [[Town/city]], [[Country]].
  • death_date: The recommended template to use is {{Death date and age | YYYY|MM|DD|df=yes}}.
  • death_place: See birth_place.
  • height: The subject's height measured in metres (or centimetres) when using the metric system or in feet and inches when using the imperial system. Use X.XX m, XXX cm, or X ft Y in. The infobox will automatically display the appropriate conversion within parentheses. This parameter also accepts conversions done via the templates such as {{Convert}} or {{Height}}.
  • school: Most recent secondary school, where available.
  • university: Only use if player is currently studying at university.
  • occupation: Only use if the player's occupation has been published in reliable sources. This can also include "Student".
  • spouse: Multiple spouses can be listed, preferably with years married (where available).
  • married_date: Only use where the date has been published. Dates should not be wikilinked.
  • children: Only use where information on the player's children has been published in reliable sources.
  • relatives: Only use if the relative has a Wikipedia article. Also include that person's relationship with the player, in brackets. For example, Nicole Aiken (sister).

Netball career

See Example infobox below for use of <br/> delimited lists.
  • positions: Playing position(s) for the player's most recent team, and any other positions for which the player is notable. Use abbreviations: e.g., GD, WD.

Domestic career

  • clubyears1: Years playing for each domestic team.
  • clubteam1: Domestic teams. List teams in order from earliest to latest.
  • clubapps1: Matches played for each domestic team

International career

  • nationalyears1: Years playing for each national team.
  • nationalteam1: National teams, including Opens, U21 and U19 teams and squads. List teams in order from earliest to latest.
  • nationalcaps1: Test caps (so far, this does not include fastnet caps) for each national team.

Coaching career

  • coachyears1: Years coaching each team, both national and domestic.
  • coachteam1: National or domestic teams coached, sorted by year.

Medal record

  • medaltemplates: This parameter includes a medal table based on the medal templates documentation. To create a medal record table, insert a new blank line immediately below the |medaltemplates= parameter, and add the following sub-headings and awards:
    • {{MedalCountry}}: requires one parameter, the country that the player has represented. The parameter can be added in one of several different formats: e.g., {{Australia}}, {{AUS}}, {{nb|Australia}}. This can be used multiple times, where a player has represented more than one country.
    • {{MedalCompetition}}}: requires one parameter, an international competition in which this player has won a medal, representing a particular country. Currently, this can include [[Netball World Championships]], [[Commonwealth Games]], [[World Netball Series]] or [[Nations Cup (netball)|Nations Cup]]. This can be used multiple times, where a player has won a medal in more than one of the abovementioned competitions.
    • {{MedalGold}}: used if a player has won a gold medal at any of the abovementioned competitions. This requires two parameters: the first is a piped link showing the year and location, and linking to the event (e.g., [[2006 Commonwealth Games|2006 Melbourne]]); the second parameter is always [[Netball]], which must be included for formatting reasons. This can be used multiple times, where a player has won more than one gold medal.
    • {{MedalSilver}}: used if a player has won a silver medal at any of the abovementioned competitions. Parameters and multiple uses are the same for {{MedalGold}}.
    • {{MedalBronze}}: used if a player has won a bronze medal at any of the abovementioned competitions. Parameters and multiple uses are the same for {{MedalGold}}.
Note that {{MedalTableTop}}, {{MedalSport}}, and {{MedalBottom}} are not used in this infobox.

More general instructions can be found at Template:Medal templates documentation#Sub headings. It is not unusual for players to win medals for different countries at different competitions in different years. Medals are grouped first by country, then by competition (Netball World Championships first, followed by Commonwealth Games, then World Netball Series, then Nations Cup), and then sorted by year (earliest to latest). An example of this can be seen below.

Example medal record

Consider the following situation:

Irene van Dyk won a silver medal at the Netball World Championships in 1995 for South Africa. In 2000, she moved to New Zealand and started playing for their national netball team. In 2002, van Dyk won a silver medal for NZ at the Commonwealth Games. She won her first gold medal for NZ at the 2003 World Championships. In 2006 van Dyk won a gold medal for NZ at the Commonwealth Games, and the following year won a silver medal for NZ at the World Championships in 2007. She played for NZ in the inaugural World Netball Series in 2009, where she picked up a gold medal.

In this case the order of sub-headings and awards is as follows:

  1. {{MedalCountry | South Africa }}
  2. {{MedalCompetition | Netball World Championships }}
  3. {{MedalSilver | 1995 Birmingham | Netball }}
  4. {{MedalCountry | New Zealand }}
  5. {{MedalCompetition | Netball World Championships }}
  6. {{MedalGold | 2003 Kingston | Netball }}
  7. {{MedalSilver | 2007 Auckland | Netball }}
  8. {{MedalCompetition | Commonwealth Games }}
  9. {{MedalSilver | 2002 Manchester | Netball }}
  10. {{MedalGold | 2006 Melbourne | Netball }}
  11. {{MedalCompetition | World Netball Series }}
  12. {{MedalGold | 2009 Manchester | Fastnet }}

These sub-headings and awards, once properly formatted, are added to the "Medal record" section of the infobox as below:

Infobox netball biography/doc
Lua error in Module:Wikidata at line 880: attempt to index field 'wikibase' (a nil value).
Lua error in Module:Wikidata at line 800: attempt to index field 'wikibase' (a nil value).
<!-- Medal record -->
| medaltemplates = 
{{MedalCountry | {{nb|South Africa}} }}
{{MedalCompetition | [[Netball World Championships]] }}
{{MedalSilver | 1995 Birmingham | [[Netball]] }}
{{MedalCountry | {{nb|New Zealand}} }}
{{MedalCompetition | [[Netball World Championships]] }}
{{MedalGold | 2003 Kingston | [[Netball]] }}
{{MedalSilver | 2007 Auckland | [[Netball]] }}
{{MedalCompetition | [[Commonwealth Games]] }}
{{MedalSilver | 2002 Manchester | [[Netball]] }}
{{MedalGold | 2006 Melbourne | [[Netball]] }}
{{MedalCompetition | [[World Netball Series]] }}
{{MedalGold | 2009 Manchester | [[Fastnet (netball)|Fastnet]] }}
}}

Example infobox

The following infobox describes South African and New Zealand netball player Irene van Dyk. Some of the formatting has been altered to allow the code and infobox to appear together.

Irene van Dyk
Personal information
Born (1972-06-21) 21 June 1972 (age 52)
Vereeniging, South Africa
Height 1.90 m (6 ft 3 in)
Spouse Christie van Dyk
Netball career
Playing position(s): GS, GA
Years Club team(s) Apps
2000–02 Capital Shakers
2003–present WBOP Magic
Years National team(s) Caps
1994–2000 South Africa 103
2000–present New Zealand 72
Last updated: 13 March 2010
{{Infobox netball biography
| name            = Irene van Dyk
| image           = 
| image_size      = 
| alt             =
| caption         = 
<!-- Personal information -->
| full_name       = 
| maidenname      = 
| birth_date      = {{birth date and age|1972|6|21|df=yes}}
| birth_place     = [[Vereeniging]], [[South Africa]]
| death_date      = 
| death_place     = 
| height          = 1.90 m
| school          = 
| university      = 
| occupation      = 
| spouse          = Christie van Dyk
| married_date    = 
| children        = 
| relatives       = 
<!-- Netball career -->
| positions       = GS, GA
| clubyears1      = 2000–02
| clubteam1       = [[Capital Shakers]]
| clubapps1       = 
| clubyears2      = 2003–present
| clubteam2       = WBOP Magic
| clubapps2       = 
| club-update     = 
| nationalyears1  = 1994–2000
| nationalteam1   = South Africa
| nationalcaps1   = 103
| nationalyears2  = 2000–present
| nationalteam2   = New Zealand
| nationalcaps2   = 72
| national-update = 
| coachyears1     = 
| coachteam1      = 
| coachyears2     = 
| coachteam2      = 
| coach-update    = 
<!-- Medal record -->
| medaltemplates  = 
{{MedalCountry | {{nb|South Africa}} }}
{{MedalCompetition | [[Netball World Championships]] }}
{{MedalSilver | 1995 Birmingham | [[Netball]] }}
{{MedalCountry | {{nb|New Zealand}} }}
{{MedalCompetition | [[Netball World Championships]] }}
{{MedalGold | 2003 Kingston | [[Netball]] }}
{{MedalSilver | 2007 Auckland | [[Netball]] }}
{{MedalCompetition | [[Commonwealth Games]] }}
{{MedalSilver | 2002 Manchester | [[Netball]] }}
{{MedalGold | 2006 Melbourne | [[Netball]] }}
{{MedalCompetition | [[World Netball Series]] }}
{{MedalGold | 2009 Manchester | Fastnet }}
| updated         = 13 March 2010
}}

Tracking categories

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.