Usage

[edit]

This template is used to display a rugby union player squad in a standard format.

Syntax

[edit]

Most squads are split into two vertical columns. For these, you can use the ((Rugby squad start)), ((Rugby squad mid)) and ((Rugby squad end)) templates to help with the layouting, and then use this template repeatedly within them:

((Rugby squad start))
<!-- For help using the below template, please see [[Template:Rugby squad player]] -->
((Rugby squad player|name=#PLAYER_NAME|nat=#NATIONALITY|pos=#POS_OR_ROLE))
((Rugby squad player|name=#PLAYER_NAME|nat=#NATIONALITY|pos=#POS_OR_ROLE|other=#OTHER_RELATED_INFO))
...
((Rugby squad mid))
((Rugby squad player|name=#PLAYER_NAME|nat=#NATIONALITY|pos=#POS_OR_ROLE))
...
((Rugby squad end))

Alternatively, if you just want a single column, you can omit the use of ((Rugby squad mid)).

((Rugby squad start))
((Rugby squad player|name=#PLAYER_NAME|nat=#NATIONALITY|pos=#POS_OR_ROLE))
...
((Rugby squad end))

If you just want to add Notes to the table, such as for the teams from which regional players are sourced, you can use the notes parameter.

((Rugby squad start|notes=yes))
((Rugby squad player|name=#PLAYER_NAME|nat=#NATIONALITY|pos=#POS_OR_ROLE|notes=#NOTES))
...
((Rugby squad mid|notes=yes))
((Rugby squad player|name=#PLAYER_NAME|nat=#NATIONALITY|pos=#POS_OR_ROLE|notes=#NOTES))
((Rugby squad end))

Example

[edit]

For example, the following code:

((Rugby squad start))
((rugby squad player | nat=IRE | natvar=rugby union | pos=HK | name=[[Brian Blaney]] ))
((rugby squad player | nat=ENG | pos=HK | name=[[James Buckland]] ))
((rugby squad player | nat=Zimbabwe| pos=HK | name=[[David Paice]] ))
((rugby squad player | nat=HKG| pos=PR | name=[[Alex Corbisiero]] ))
((rugby squad player | nat=NZL | pos=PR | name=[[Clarke Dermody]] |other=[[Captain (sports)|c]] )) 
((Rugby squad mid|notes=yes))
((rugby squad player | nat=SAM | pos=WG | name=[[Sailosi Tagicakibau]] ))
((rugby squad player | nat=Niger| pos=WG | name=[[Adam Thompstone]] ))
((rugby squad player | nat=CVI| pos=FB | name=[[Delon Armitage]] ))
((rugby squad player | nat=CAM| pos=FB | name=[[Jamie Lennard]] |other= on loan))
((Rugby squad end))

Produces this table: Note: Flags indicate national union under World Rugby eligibility rules. Players may hold more than one non-World Rugby nationality.

Player Position Union
Brian Blaney Hooker Ireland Ireland
James Buckland Hooker England England
David Paice Hooker Zimbabwe Zimbabwe
Alex Corbisiero Prop Hong Kong Hong Kong
Clarke Dermody (c) Prop New Zealand New Zealand
Player Position Union
Sailosi Tagicakibau Wing Samoa Samoa
Adam Thompstone Wing Niger Niger
Delon Armitage Fullback Ivory Coast Ivory Coast
Jamie Lennard (on loan) Fullback Cambodia Cambodia

Parameters

[edit]

Tracking categories

[edit]

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:

Please do not rename or remove these classes nor collapse nested elements which use them.