Template:Infobox rugby biography/doc

Usage and examples
DO NOT COPY THIS CODE VERBATIM. Note that there are multiple lines of, these indicate a gap in the numbering to save on space (e.g. from youthclubs1 to youthclubs5). If copying this entire block of code, please remove these lines before publishing.

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 example.com.
 * medals or medaltemplates: All templates from the medal record infobox except and . See the medal templates documentation for more details.
 * medals-expand or show-medals: If set to, 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

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.

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

Use as a child template
The  parameter should be set to   when embedding this infobox into another (see the Template:Infobox documentation which explains embedding and subboxes).

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 &amp;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.

TemplateData
{ "description": "An infobox for a rugby biography.", "params": { "name": { "label": "Name", "description": "The commonly used name of the player, defaults to article name without disambiguation.", "type": "string", "default": "", "required": false },   "image": { "label": "Image", "description": "Image file name only (without square brackets and File: or Image:).", "type": "wiki-page-name", "default": "", "required": false },   "image_size": { "label": "Image size", "description": "Size of the image (e.g. 220px).", "type": "number", "default": "", "required": false },   "alt": { "label": "Alt", "description": "Alt text describing the image.", "type": "string", "default": "", "required": false },   "caption": { "label": "Caption", "description": "Caption text to be displayed under image.", "type": "string", "default": "", "required": false },   "birth_name": { "label": "Full birth name", "description": "The players full birth name.", "type": "string", "default": "", "required": false },   "birth_date": { "label": "Birth date", "description": "Place the year month and day of players birthday.", "type": "string", "default": "", "required": false },   "birth_place": { "label": "Birth place", "description": "The place where the player was born.", "type": "string", "default": "", "required": false },   "death_date": { "label": "Death date", "description": "Place the year month and date of players death. Use template.", "type": "string", "default": "", "required": false },   "death_place": { "label": "Death place", "description": "The place where the player died.", "type": "string", "default": "", "required": false },   "height": { "label": "Height", "description": "Use undefined undefined to add in the players height.", "type": "number", "default": "", "required": false },   "height_cm": { "label": "Height centimetres", "description": "Use this for auto-conversion to feet & inches.", "type": "number", "default": "", "required": false },   "height_ft": { "label": "Height feet", "description": "Use this for auto-conversion to centimetres", "type": "number", "default": "", "required": false },   "height_in": { "label": "Height inches", "description": "Use this for auto-conversion to centimetres.", "type": "string", "default": "", "required": false },   "weight": { "label": "Weight", "description": "Use undefined undefined to add in the players weight.", "type": "number", "default": "", "required": false },   "weight_kg": { "label": "Weight kilograms", "description": "Use this for auto-conversion to pounds and stones.", "type": "number", "default": "", "required": false },   "weight_st": { "label": "Weight stones", "description": "Use this for auto-conversion to kilograms.", "type": "number", "default": "", "required": false },   "weight_lb": { "label": "Weight lb", "description": "Use this for auto-conversion to kilograms and pounds.", "type": "number", "default": "", "required": false },   "school": { "label": "School", "description": "State the school at which the player attended.", "type": "string", "default": "", "required": false },   "university": { "label": "University", "description": "State the university at which the player attended.", "type": "string", "default": "", "required": false },   "relatives": { "label": "Relatives", "description": "State any notable relatives, link all.", "type": "string", "default": "", "required": false },   "occupation": { "label": "Occupation", "description": "State the players current occupation, if retired, state retired", "type": "string", "default": "", "required": false },   "ru_currentposition": { "label": "Current position", "description": "A, Persons current playing status or coach or playing position is retired, coach or flanker etc.", "type": "string", "default": "", "required": false },   "ru_currentteam": { "label": "Current team", "description": "A, Persons current team, if none, leave blank.", "type": "string", "default": "", "required": false },   "ru_position": { "label": "Rugby union position", "description": "A, delimited list of the persons most common playing positions in rugby union.", "type": "string", "default": "", "required": false },   "allblackid": { "label": "All black ID", "description": "If the player is an All Black, state the players id from allblacks.com here.", "type": "string", "default": "", "required": false },   "allblackno": { "label": "All black number", "description": "If the player is an All Black, state the All Black number here. Not the same as the ID in all cases.", "type": "number", "default": "", "required": false },   "rl_position": { "label": "Rugby league position", "description": "A, delimited list of the players most common positions in rugby league. This field is mandatory to show the league part of the infobox.", "type": "string", "default": "", "required": false },   "rl_clubupdate": { "label": "Rugby league club update", "description": "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.", "type": "string", "default": "", "required": false },   "website": { "label": "Website", "description": "If the individual has an official web page, place the link here with http:// included.", "type": "string", "default": "", "required": false } } }