Template:National rugby squad player
Usage
[edit]This template is used to display a rugby union player squad in a standard format.
Syntax
[edit]{{nat rs start|hidenote=#TO_REMOVE_NOTE_AT_TOP|franchise=#TO_PLACE_FRANCHISE_IN_HEADINGS}} <!-- For help using the below template, please see [[Template:National rugby squad player]] --> {{nat rs player|name=#PLAYER_NAME|club=#CLUB_OR_PROVINCE|clubnat=#CLUB NATIONAL_AFFILIATION|age=#AGE|caps=#NO_OF_CAPS|pos=#POS_OR_ROLE}} {{nat rs player|name=#PLAYER_NAME|club=#CLUB_OR_PROVINCE|clubnat=#CLUB NATIONAL_AFFILIATION|age=#AGE|caps=#NO_OF_CAPS|pos=#POS_OR_ROLE}} ... {{Nat rs end}}
Example
[edit]Generic example
[edit]For example, the following code:
{{nat rs start}} {{nat rs player|pos=HK|name=[[Rory Best]]|age={{Birth date and age|1982|8|15|df=y}}|caps=44|club=[[Ulster Rugby|Ulster]]|clubnat=Ireland |natvar=rugby union}} {{nat rs player|pos=HK|name=[[Seán Cronin (rugby union)|Seán Cronin]]|age={{Birth date and age|1986|5|6|df=y}}|caps=9|club=[[Connacht Rugby|Connacht]]|clubnat=ENG}} {{nat rs player|pos=HK|name=[[Jerry Flannery]]|age={{Birth date and age|1978|10|17|df=y}}|caps=36|club=[[Munster Rugby|Munster]]|clubnat=Japan}} {{nat rs player|pos=PR|name=[[Tony Buckley]]|age={{Birth date and age|1980|8|8|df=y}}|caps=21|club=[[Munster Rugby|Munster]]|clubnat=CHN}} {{nat rs player|pos=PR|name=[[Tom Court]]|age={{Birth date and age|1980|11|6|df=y}}|caps=15|club=[[Ulster Rugby|Ulster]]|clubnat=Ireland |natvar=rugby union}} {{nat rs end}}
Produces this table:
Note: Flags indicate national union for the club/province as defined by World Rugby.Player | Position | Date of birth (age) | Caps | Club/province |
---|---|---|---|---|
Rory Best | Hooker | 15 August 1982 | 44 | ![]() |
Seán Cronin | Hooker | 6 May 1986 | 9 | ![]() |
Jerry Flannery | Hooker | 17 October 1978 | 36 | ![]() |
Tony Buckley | Prop | 8 August 1980 | 21 | ![]() |
Tom Court | Prop | 6 November 1980 | 15 | ![]() |
Example with optional parameters
[edit]This example excludes domestic-team flags, hides the note regarding flags, has a more accurate description of domestic teams, and has alternative position names that corresponds to the Manual of Style's guideline on national varieties of English (in this case New Zealand English).
The code:
{{nat rs start|hidenote=yes|franchise=yes}} {{nat rs player|pos=HK|name=[[Dane Coles]]|age={{birth date and age|1986|12|10|df=y}}|caps=28|club={{rut|Hurricanes}} / [[Wellington Rugby Football Union|Wellington]]}} {{nat rs player|pos=HB|name=[[Aaron Smith (rugby union)|Aaron Smith]]|age={{birth date and age|1988|11|21|df=y}}|caps=39|club={{rut|Highlanders}} / [[Manawatu Rugby Union|Manawatu]]}} {{nat rs player|pos=FF|name=[[Dan Carter]]|age={{birth date and age|1982|3|5|df=y}}|caps=104|club={{rut|Crusaders}} / [[Canterbury Rugby Football Union|Canterbury]]}} {{nat rs player|pos=CE|name=[[Sonny Bill Williams]]|age={{birth date and age|1985|08|03|df=y}}|caps=25|club={{rut|Chiefs}} / [[Counties Manukau Rugby Union|Counties Manukau]]}} {{nat rs player|pos=WG|name=[[Cory Jane]]|age={{birth date and age|1983|2|8|df=y}}|caps=53|club={{rut|Hurricanes}} / [[Wellington Rugby Football Union|Wellington]]}} {{nat rs end}}
Produces this table:
Player | Position | Date of birth (age) | Caps | Franchise/province |
---|---|---|---|---|
Dane Coles | Hooker | 10 December 1986 | 28 | Hurricanes / Wellington |
Aaron Smith | Half-back | 21 November 1988 | 39 | Highlanders / Manawatu |
Dan Carter | First five-eighth | 5 March 1982 | 104 | Crusaders / Canterbury |
Sonny Bill Williams | Centre | 3 August 1985 | 25 | Chiefs / Counties Manukau |
Cory Jane | Wing | 8 February 1983 | 53 | Hurricanes / Wellington |
Parameters
[edit]- name: The player's name.
- pos: The position in which the player plays. You can use any of the options below:
- PR for Prop;
- HK for Hooker;
- LK for Lock;
- SR for Second row;
- BR for Back row;
- FL for Flanker;
- N8 for Number 8;
- SH for Scrum-half;
- FH for Fly-half;
- OH for Outside-half;
- CE for Centre;
- WG for Wing;
- FB for Fullback;
- HB for Half-back;
- FF for First five-eighth.
- club: The club, franchise, or province for which the player plays domestically
- clubnat: The club's national affiliation. Use the name of the country, or its 3-letter IOC country code, rather than an adjective (e.g. "Spain" or "ESP" instead of "Spanish", "Spanish" will not work). Use the country that he represents in international rugby union. This should not violate MOS:FLAG, and according to the Manual of Style if the use of flags in a list, table or infobox makes it unclear, ambiguous or controversial, it is better to remove the flags even if that makes the list, table or infobox inconsistent with others of the same type where no problems have arisen.
- caps: The number of official caps a player has accumulated as recognised by the national team's governing body.
- age: The players age/birthdate.
Microformat
[edit]The HTML markup produced by this template includes an hCard microformat, which makes the person's name 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. For more information about the use of microformats on Wikipedia, please see the microformat project.
To include a URL, use {{URL}}.
Classes
[edit]The hCard in this template uses at least some of these HTML classes:
- agent
- family-name
- fn (required)
- given-name
- honorific-prefix
- honorific-suffix
- n
- nickname
- org
- url
- vcard
Please do not rename or remove these classes nor collapse nested elements which use them.