Draft talk:Rugby league squad player
Rugby league Draft‑class | |||||||
|
This template is used to display a rugby league player squad in a standard format.
Syntax[edit]
Most squads are split into two vertical columns. For these, you can use the {{Rugby league squad start}}, {{Rugby league squad mid}} and {{Rugby league squad end}} templates to help with the layouting, and then use this template repeatedly within them:
{{Rugby league squad start}} <!-- For help using the below template, please see [[Template talk:Rugby league squad player]] --> {{Rugby league player|no=#SHIRT_NUMBER|nat=#NATIONALITY|pos=#POS_OR_ROLE|name=#PLAYER_NAME}} {{Rugby league player|no=#SHIRT_NUMBER|nat=#NATIONALITY|pos=#POS_OR_ROLE|name=#PLAYER_NAME|other=#OTHER_RELATED_INFO}} ... {{Rugby league squad mid}} {{Rugby league squad player|no=#SHIRT_NUMBER|nat=#NATIONALITY|pos=#POS_OR_ROLE|name=#PLAYER_NAME}} ... {{Rugby league squad end}}
Alternatively, if you just want a single column, you can use {{Rugby league squad blank column}} to fill in a blank right hand column.
{{Rugby league squad start}} {{Football squad player|no=#SHIRT_NUMBER|nat=#NATIONALITY|pos=#POS_OR_ROLE|name=#PLAYER_NAME}} ... {{Rugby league squad blank column}} {{Rugby league squad end}}
Example[edit]
For example, the following code:
{{Rugby league squad start}} {{Rugby league squad player | no=1 | nat=Australia | pos=FB | name=[[Anthony Minichiello]]}} {{Rugby league squad player | no=2 | nat=Ireland | pos=WG | name=[[Brian Carney]]}} {{Rugby league squad player | no=5 | nat=Lebanon | pos=WG | name=[[Hazem El Masri]] | other=c }} {{Rugby league squad player | no=7 | nat=Papua New Guinea | pos=HB | name=[[Adrian Lam]] | other=vc }} {{Rugby league squad mid}} {{Rugby leaguesquad player | no=8 | nat=New Zealand | pos=PR | name=[[Jason Cayless]]}} {{Rugby league squad player | no=11 | nat=Spain | pos=SR | name=[[Adrian Morley]]}} {{Rugby league squad player | no=12 | nat=Russia | pos=SR | name=[[Ian Rubin]] | other=on loan}} {{Rugby league squad end}}
Produces this table:
|
|
Parameters[edit]
- no: The shirt number for the player, if they have one. If the player's number is not known, or unassigned, then you can use the
–
character instead. - nat: The player's nationality. Use the name of the country, or its 3-letter IOC country code, rather than an adjective (e.g. "Australia" instead of "Australian"). This is usually the country of the player's birth; however, if a player has dual nationality then use the country that he represents in international football.
- pos: The position in which the player plays. You can use any of the four options below:
- FB for Fullback;
- WG for Wing;
- CE for Centre;
- FE for Five-eighth or SO for Stand-off;
- HB for Halfback or SH for Scrum-half;
- HK for Hooker;
- PR for Prop;
- SR for Second Row;
- LK for Lock or LF for Loose forward;
- name: The player's name.
- other: This is an optional parameter. You can add any related info to this parameter, like specifying captain, vice-captain, whether the player is on loan, etc. It will show additional info in the brackets after the player name. You do not have to specify it if neither applies.
New Club Colour Parameter[edit]
Specialwindler, where abouts are you planning to use the template's new parameter out of interest? mdmanser 13:05, 18 October 2007 (UTC)