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) Matches Played Club/province
Rory Best Hooker (1982-08-15) 15 August 1982 (age 41) 44 Ireland Ulster
Seán Cronin Hooker (1986-05-06) 6 May 1986 (age 38) 9 England Connacht
Jerry Flannery Hooker (1978-10-17) 17 October 1978 (age 45) 36 Japan Munster
Tony Buckley Prop (1980-08-08) 8 August 1980 (age 43) 21 China Munster
Tom Court Prop (1980-11-06) 6 November 1980 (age 43) 15 Ireland Ulster

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) Matches Played Franchise/province
Dane Coles Hooker (1986-12-10) 10 December 1986 (age 37) 28 Hurricanes / Wellington
Aaron Smith Half-back (1988-11-21) 21 November 1988 (age 35) 39 Highlanders / Manawatu
Dan Carter First five-eighth (1982-03-05) 5 March 1982 (age 42) 104 Crusaders / Canterbury
Sonny Bill Williams Centre (1985-08-03) 3 August 1985 (age 38) 25 Chiefs / Counties Manukau
Cory Jane Wing (1983-02-08) 8 February 1983 (age 41) 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:
    1. PR for Prop;
    2. HK for Hooker;
    3. LK for Lock;
    4. SR for Second row;
    5. BR for Back row;
    6. FL for Flanker;
    7. N8 for Number 8;
    8. SH for Scrum-half;
    9. FH for Fly-half;
    10. OH for Outside-half;
    11. CE for Centre;
    12. WG for Wing;
    13. FB for Fullback;
    14. HB for Half-back;
    15. 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.