Template:Infobox rugby biography/doc

From The Democratikan Wiki
Revision as of 02:59, 15 February 2024 by Akarea (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage and examples

All parameters (example)
name
alt
caption
Birth namebirth_name
Date of birthbirth_date
Place of birthbirth_place
Date of deathdeath_date
Place of deathdeath_place
Heightheight
or height_cm
or height_ft and height_in
Weightweight
or weight_kg
or weight_st and/or weight_lb
Schoolschool
Universityuniversity
Notable relative(s)relatives
Spousespouse
Childrenchildren
Occupation(s)occupation
Height and weight correct as of weight_update
Rugby league career
Position(s) rl_currentposition
Current team rl_currentteam
Youth career
rl_youthyears1 rl_youthclubs1
... ...
rl_youthyears5 rl_youthclubs5
Amateur team(s)
Years Team Apps (Points)
rl_amateuryears1 rl_amateurclubs1 rl_amateurapps1 (rl_amateurpoints1)
... ... ... (...)
rl_amateuryears10 rl_amateurclubs10 rl_amateurapps10 (rl_amateurpoints10)
Correct as of rl_amupdate
Senior career
Years Team Apps (Points)
rl_clubyears1 rl_proclubs1 rl_clubapps1 (rl_clubpoints1)
... ... ... (...)
rl_clubyears20 rl_proclubs20 rl_clubapps20 (rl_clubpoints20)
rl_totalyears Total rl_totalapps (rl_totalpoints)
Correct as of rl_clubupdate
State of Origin
Years Team Apps (Points)
sooyears1 sooteam1 sooapps1 (soopoints1)
... ... ... (...)
sooyears10 sooteam10 sooapps10 (soopoints10)
Correct as of sooupdate
International career
Years Team Apps (Points)
rl_nationalyears1 rl_nationalteam1 rl_nationalapps1 (rl_nationalpoints1)
... ... ... (...)
rl_nationalyears10 rl_nationalteam10 rl_nationalapps10 (rl_nationalpoints10)
Correct as of rl_ntupdate
Coaching career
Years Team
rl_coachyears1 rl_coachteams1
... ...
rl_coachyears20 rl_coachteams20
Correct as of rl_coachupdate
Refereeing career
Years Competition Apps
rl_refereeyears1 rl_refereecomps1 rl_refereeapps1
... ... ...
rl_refereeyears10 rl_refereecomps10 rl_refereeapps10
Correct as of rl_refereeupdate
Rugby union career
Position(s) ru_currentposition
Current team ru_currentteam
Youth career
youthyears1 youthclubs1
... ...
youthyears5 youthclubs5
Amateur team(s)
Years Team Apps (Points)
amatyears1 amatteam1 amatapps1 (amatpoints1)
... ... ... (...)
amatyears10 amatteam10 amatapps10 (amatpoints10)
Correct as of ru_amupdate
Senior career
Years Team Apps (Points)
years1 clubs1 apps1 (points1)
... ... ... (...)
years20 clubs20 apps20 (points20)
totalyears Total totalapps (totalpoints)
Correct as of ru_clubupdate
Provincial / State sides
Years Team Apps (Points)
ru_provinceyears1 ru_province1 ru_provinceapps1 (ru_provincepoints1)
... ... ... (...)
Correct as of ru_provinceupdate
Super Rugby
Years Team Apps (Points)
superyears1 super1 superapps1 (superpoints1)
... ... ... (...)
superyears10 super10 superapps10 (superpoints10)
Current local club ru_currentclub
Correct as of superupdate
International career
Years Team Apps (Points)
repyears1 repteam1 (reppoints1)
... ... (...)
repyears10 repteam10 (reppoints10)
Correct as of ru_ntupdate
National sevens team(s)
Years Team Comps
ru_sevensnationalyears1 ru_sevensnationalteam1 ru_sevensnationalcomp1
Correct as of ru_sevensupdate
Coaching career
Years Team
coachyears1 coachteams1
... ...
coachyears20 coachteams20
Correct as of ru_coachupdate
Refereeing career
Years Competition Apps
ru_refereeyears1 ru_refereecomps1 ru_refereeapps1
Correct as of ru_refereeupdate
Official website
website
module
Medal record

medals

module2
All parameters (syntax)

<syntaxhighlight lang="wikitext" style="overflow: auto">

Rugby league career
Youth career
Coaching career
Years Team
Rugby union career
Youth career
Coaching career
Years Team

</syntaxhighlight>

Typical usage
Schalk Burger
File:Schalk Burger.jpg
Burger in 2007
Full nameSchalk Willem Petrus Burger Jr.
Date of birth (1983-04-13) 13 April 1983 (age 41)
Place of birthPort Elizabeth, South Africa
Height193 cm (6 ft 4 in)
Weight114 kg (251 lb; 17 st 13 lb)
SchoolPaarl Gimnasium
UniversityUniversity of Stellenbosch
Notable relative(s)Schalk Burger (father)
Occupation(s)Rugby player
Rugby union career
Position(s) Loose-forward
Current team Saracens
Youth career
2002 Western Province
Senior career
Years Team Apps (Points)
2003–2014 Western Province 37 (35)
2004–2016 Stormers 123 (45)
2014–2016 Suntory Sungoliath 17 (25)
2016–present Saracens 0 (0)
Correct as of 23 July 2016
International career
Years Team Apps (Points)
2003 South Africa Under–21 8 (20)
2003–present South Africa 86 (80)
2005 Southern Hemisphere XV 1 (5)
2014–2015 Springbok XV 2 (0)
Correct as of 30 October 2015

<syntaxhighlight lang="wikitext" style="overflow: auto; font-size:90%;">

Schalk Burger
File:Schalk Burger.jpg
Burger in 2007
Full nameSchalk Willem Petrus Burger Jr.
Date of birth (1983-04-13) 13 April 1983 (age 41)
Place of birthPort Elizabeth, South Africa
Height193 cm (6 ft 4 in)
Weight114 kg (251 lb; 17 st 13 lb)
SchoolPaarl Gimnasium
UniversityUniversity of Stellenbosch
Notable relative(s)Schalk Burger (father)
Occupation(s)Rugby player
Rugby union career
Position(s) Loose-forward
Current team Saracens
Youth career
2002 Western Province
Senior career
Years Team Apps (Points)
2003–2014 Western Province 37 (35)
2004–2016 Stormers 123 (45)
2014–2016 Suntory Sungoliath 17 (25)
2016–present Saracens 0 (0)
Correct as of 23 July 2016
International career
Years Team Apps (Points)
2003 South Africa Under–21 8 (20)
2003–present South Africa 86 (80)
2004–2013 Barbarians 4 (0)
2005 Southern Hemisphere XV 1 (5)
2014–2015 Springbok XV 2 (0)
Correct as of 30 October 2015

</syntaxhighlight>

Parameter descriptions

General parameters

name
The commonly used name of the player, defaults to article name without disambiguation.
image
Image file name only (without square brackets and File: or Image:).
image_size
Size of the image (e.g. 220px).
alt
Alt text describing the image (see WP:ALT)
caption
Caption text to be displayed under image.
birth_name
the player's full birth name, if different than name displayed above
full_name
the player's full name, if different than name displayed above (does not display if birth_name is used)
birth_date
place the year month and day of player's birth. Use {{birth date and age}} (or {{birth date}} if deceased) with df=y if appropriate
birth_place
self-explanatory
death_date
place the year month and date of player's death. Use {{death date and age}} template.
death_place
self-explanatory
height
Use {{convert}} to add in the players height. The infobox also supports automatic conversion if the height is specified as "X m", "X cm", or "X ft Y in". As an alternative, the following parameters may be used:
height_cm
use this for auto-conversion to feet & inches
height_ft and height_in
use this for auto-conversion to centimetres
weight
Use {{convert}} to add in the players weight. The infobox also supports automatic conversion if the weight is specified as "X kg", "X lb", "X st", or "X st Y lb". As an alternative, the following parameters may be used:
weight_kg
use this for auto-conversion to pounds and stones & pounds
weight_st and/or weight_lb
use this for auto-conversion to kilograms and pounds or stones & pounds
school
the school which the player attended
university
the university which the player attended
relatives
notable relatives, link all
spouse
notable spouse
children
notable children
occupation
the players current occupation, if retired, state retired
website
If the individual has an official website, place the link here. Use {{URL}} as in {{URL|example.com}}.
medals or medaltemplates
All templates from the medal record infobox except {{MedalTableTop}} and {{MedalBottom}}. See the medal templates documentation for more details.
medals-expand or show-medals
If set to no, the medal table is collapsed. By default, it is expanded.

Rugby league parameters

rl_position or rl_currentposition
A comma delimited list of the players most common positions in rugby league.
rl_currentteam
Person's current team, if none, leave blank
Level Year(s)<ref group="lower-alpha">Years that a player has participated on each team. Years should be listed in chronological order from earliest to latest</ref> Team(s)<ref group="lower-alpha">Team(s) of which the player has been a member</ref> Appearances<ref group="lower-alpha">Appearances that the player has been awarded in all matches for each team</ref> Points<ref group="lower-alpha">Points that the player has been awarded in all matches for each team</ref> "Updated"<ref group="lower-alpha">This is the date when the information was last updated. Place in the format day month year such as 1 January 1900. Do not wikilink.</ref>
RL youth rl_youthyears1 ...
rl_youthyears5
rl_youthclubs1 ...
rl_youthclubs5
RL amateur rl_amateuryears1 ...
rl_amateuryears10
rl_amateurclubs1 ...
rl_amateurclubs10
rl_amateurapps1 ...
rl_amateurapps10
rl_amateurpoints1 ...
rl_amateurpoints10
rl_amupdate
RL pro/club<ref group="lower-alpha">Include Super 12/14 sides if appropriate</ref><ref group="lower-alpha">The totals of this row can be displayed using rl_totalyears, rl_totalapps, and rl_totalpoints respectively</ref> rl_clubyears1 ...
rl_clubyears20
rl_proclubs1 ...
rl_proclubs20
rl_clubapps1 ...
rl_clubapps20
rl_clubpoints1 ...
rl_clubpoints20
rl_clubupdate
RL State of Origin sooyears1 ...
sooyears10
sooteam1 ...
sooteam10
sooapps1 ...
sooapps10
soopoints1 ...
soopoints10
sooupdate
RL national team rl_nationalyears1 ...
rl_nationalyears10
rl_nationalteam1 ...
rl_nationalteam10
rl_nationalapps1 ...
rl_nationalapps10
rl_nationalpoints1 ...
rl_nationalpoints10
rl_ntupdate
RL coaches rl_coachyears1 ...
rl_coachyears20
rl_coachteams1 ...
rl_coachteams20
rl_coachupdate
RL referees rl_refereeyears1 ...
rl_refereeyears10
rl_refereecomps1 ...
rl_refereecomps10<ref group="lower-alpha">Note that these parameters list the competition(s) a referee has overseen</ref>
rl_refereeapps1 ...
rl_refereeapps10
rl_refereeupdate
<references group="lower-alpha" responsive="1"></references>

Rugby union parameters

ru_currentposition
Person's current playing status or coach or playing position e.g. retired, coach or flanker
ru_currentteam
Person's current team, if none, leave blank
ru_position
A comma delimited list of the persons most common playing positions in rugby union.
allblackid
If the player is an All Black, state the player's id from allblacks.com URL.
allblackno
If the player is an All Black, state the All Black number here. Not the same as the ID in all cases.
Level Year(s)<ref group="lower-alpha">Years that a player has participated on each team. Years should be listed in chronological order from earliest to latest</ref> Team(s)<ref group="lower-alpha">Team(s) of which the player has been a member</ref> Appearances<ref group="lower-alpha">Appearances that the player has been awarded in all matches for each team</ref> Points<ref group="lower-alpha">Points that the player has been awarded in all matches for each team</ref> "Updated"<ref group="lower-alpha">This is the date when the information was last updated. Place in the format day month year such as 1 January 1900. Do not wikilink.</ref>
RU youth youthyears1 ...
youthyears5
youthclubs1 ...
youthclubs5
RU amateur amatyears1 ...
amatyears10
amatteam1 ...
amatteam10
amatapps1 ...
amatapps10
amatpoints1 ...
amatpoints10
amatupdate
RU pro/club<ref group="lower-alpha">The totals of this row can be displayed using totalyears, totalapps, and totalpoints respectively</ref> years1 ...
years20
clubs1 ...
clubs20
apps1 ...
apps20
points1 ...
points20
clubupdate
RU provincial/state provinceyears1 ...
provinceyears10
province1 ...
province10
provinceapps1 ...
provinceapps10
provincepoints1 ...
provincepoints10
ru_provinceupdate
RU Super12/14 superyears1 ...
superyears10
super1 ...
super10
superapps1 ...
superapps10
superpoints1 ...
superpoints10
superupdate
RU national team repyears1 ...
repyears20
repteam1 ...
repteam20
repcaps1 ...
repcaps20
reppoints1 ...
reppoints20
repupdate
RU sevens national team repsevensyears1 ...
repsevensyears10
repsevensteam1 ...
repsevensteam10
repsevenscomp1 ...
repsevenscomp10
ru_sevensupdate
RU coaches coachyears1 ...
coachyears20
coachteams1 ...
coachteams20
ru_coachupdate
RU referees refereeyears1 ...
refereeyears10
refereecomps1 ...
refereecomps10<ref group="lower-alpha">Note that these parameters list the competition(s) a referee has overseen</ref>
refereeapps1 ...
refereeapps10
ru_refereeupdate
<references group="lower-alpha" responsive="1"></references>

Embedding

Embedding other templates

The module or module2 parameters are used for embedding other templates into this infobox (see Wikipedia:Infobox modules). The contents of module are displayed below the website and above the medals. The contents of module2 are displayed at the bottom of infobox, below the medals.

<syntaxhighlight lang="wikitext" style="overflow: auto;">

Template:Infobox ABC

</syntaxhighlight>

Example - embedded medals and module
Alev Kelter
Birth nameLeyla Alev Kelter
Date of birthMarch 21, 1991 (1991-03-21) (age 33)
Place of birthTampa, Florida, U.S.
Height5 ft 6 in (168 cm)
Weight165 lb (75 kg)
Rugby union career
Position(s) Centre
International career
Years Team Apps (Points)
2016–present United States 9 (32)
National sevens team(s)
Years Team Comps
2014 United States -

Association football career
Position(s) Midfielder
College career
Years Team Apps (Gls)
2009–2013 Wisconsin Badgers
International career
2009 United States U20
Ice hockey career
Position Defense
Shot Right
Played for Wisconsin Badgers
National team File:Flag of the United States.svg United States
Playing career 2009–2013

<syntaxhighlight lang="wikitext" style="overflow: auto; font-size: 90%; white-space: pre;">

Alev Kelter
Birth nameLeyla Alev Kelter
Date of birthMarch 21, 1991 (1991-03-21) (age 33)
Place of birthTampa, Florida, U.S.
Height5 ft 6 in (168 cm)
Weight165 lb (75 kg)
Rugby union career
Position(s) Centre
International career
Years Team Apps (Points)
2016–present United States 9 (32)
National sevens team(s)
Years Team Comps
2014 United States -

Association football career
Position(s) Midfielder
College career
Years Team Apps (Gls)
2009–2013 Wisconsin Badgers
International career
2009 United States U20
Ice hockey career
Position Defense
Shot Right
Played for Wisconsin Badgers
National team File:Flag of the United States.svg United States
Playing career 2009–2013

</syntaxhighlight>

Use as a child template

The embed parameter should be set to yes when embedding this infobox into another (see the Template:Infobox documentation which explains embedding and subboxes).

<syntaxhighlight lang="wikitext" style="overflow: auto;"> Template:Infobox ABC </syntaxhighlight>

Example - child template
Alev Kelter
Personal information
Birth name Leyla Alev Kelter
Date of birth March 21, 1991 (1991-03-21) (age 33)
Place of birth Tampa, Florida, U.S.
Height 5 ft 6 in (1.68 m)
Position(s) Midfielder
College career
Years Team Apps (Gls)
2009–2013 Wisconsin Badgers
International career
2009 United States U20

Rugby union career
Position(s) Centre
International career
Years Team Apps (Points)
2016–present United States 9 (32)
National sevens team(s)
Years Team Comps
2014 United States -

<syntaxhighlight lang="wikitext" style="overflow: auto; font-size: 90%; white-space: pre;">

Alev Kelter
Personal information
Birth name Leyla Alev Kelter
Date of birth March 21, 1991 (1991-03-21) (age 33)
Place of birth Tampa, Florida, U.S.
Height 5 ft 6 in (1.68 m)
Position(s) Midfielder
College career
Years Team Apps (Gls)
2009–2013 Wisconsin Badgers
International career
2009 United States U20

Rugby union career
Position(s) Centre
International career
Years Team Apps (Points)
2016–present United States 9 (32)
National sevens team(s)
Years Team Comps
2014 United States -

</syntaxhighlight>

Style guide

Try to always consider that an infobox exists to support an article and provide a quick synopsis of important facts. This becomes vital when considering that the amount of space available within an infobox is significantly less than that available outside of it.

As per the manual of style entry on linking, years should not be linked as they do not provide much benefit to the user.

In order to keep the infobox from ballooning laterally, it is wise to keep date formats as compact as possible. Highly accurate dates are more useful in the article itself. Typically editors will use the 2005–2006 incarnation but when very pressed for space, 05–06 may be useful. Utilising the &ndash; character instead of a hyphen will help prevent line breaks creeping into the season.

If the start or end date of a players time at a club is unknown they should be aligned with the other years.

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 category

See also

TemplateData

TemplateData documentation used by VisualEditor and other tools
See a monthly parameter usage report for Template:Infobox rugby biography in articles based on its TemplateData.

TemplateData for Infobox rugby biography

An infobox for a rugby biography.

Template parameters

ParameterDescriptionTypeStatus
Namename

The commonly used name of the player, defaults to article name without disambiguation.

Default
{{PAGENAME}}
Stringoptional
Imageimage

Image file name only (without square brackets and File: or Image:).

Default
Page nameoptional
Image sizeimage_size

Size of the image (e.g. 220px).

Default
Numberoptional
Altalt

Alt text describing the image.

Default
Stringoptional
Captioncaption

Caption text to be displayed under image.

Default
Stringoptional
Full birth namebirth_name

The players full birth name.

Default
Stringoptional
Birth datebirth_date

Place the year month and day of players birthday.

Default
Stringoptional
Birth placebirth_place

The place where the player was born.

Default
Stringoptional
Death datedeath_date

Place the year month and date of players death. Use {{death date and age}} template.

Default
Stringoptional
Death placedeath_place

The place where the player died.

Default
Stringoptional
Heightheight

Use {{convert}} to add in the players height.

Default
Numberoptional
Height centimetresheight_cm

Use this for auto-conversion to feet & inches.

Default
Numberoptional
Height feetheight_ft

Use this for auto-conversion to centimetres

Default
Numberoptional
Height inchesheight_in

Use this for auto-conversion to centimetres.

Default
Stringoptional
Weightweight

Use {{convert}} to add in the players weight.

Default
Numberoptional
Weight kilogramsweight_kg

Use this for auto-conversion to pounds and stones.

Default
Numberoptional
Weight stonesweight_st

Use this for auto-conversion to kilograms.

Default
Numberoptional
Weight lbweight_lb

Use this for auto-conversion to kilograms and pounds.

Default
Numberoptional
Schoolschool

State the school at which the player attended.

Default
Stringoptional
Universityuniversity

State the university at which the player attended.

Default
Stringoptional
Relativesrelatives

State any notable relatives, link all.

Default
Stringoptional
Occupationoccupation

State the players current occupation, if retired, state retired

Default
Stringoptional
Current positionru_currentposition

A , Persons current playing status or coach or playing position is retired, coach or flanker etc.

Default
Stringoptional
Current teamru_currentteam

A , Persons current team, if none, leave blank.

Default
Stringoptional
Rugby union positionru_position

A , delimited list of the persons most common playing positions in rugby union.

Default
Stringoptional
All black IDallblackid

If the player is an All Black, state the players id from allblacks.com here.

Default
Stringoptional
All black numberallblackno

If the player is an All Black, state the All Black number here. Not the same as the ID in all cases.

Default
Numberoptional
Rugby league positionrl_position

A , delimited list of the players most common positions in rugby league. This field is mandatory to show the league part of the infobox.

Default
Stringoptional
Rugby league club updaterl_clubupdate

This is the date when the info was last updated. Place in the format day, month year such as 1 January 1900. Do not wikilink.

Default
Stringoptional
Websitewebsite

If the individual has an official web page, place the link here with http:// included.

Default
Stringoptional