Template talk:Rugby league squad player

From Wikipedia, the free encyclopedia

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

Contents

[edit] Syntax

Most squads are split into two vertical columns. For these, you can use the {{Rugby league 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}}

[edit] Alternative template names

In order to make easier the work of writing new squads, some alternative, shorter, names has been designed. So, you may now use {{Rls start}}, {{Rls mid}}, {{Rls player}}, {{Rls end}} and {{Rls blank column}} as alternative templates, using the same equivalent syntax of the other ones.

[edit] Example

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:

No. Position Player
1 Flag of Australia FB Anthony Minichiello
2 Flag of Ireland WG Brian Carney
5 Flag of Lebanon WG Hazem El Masri (c)
7 Flag of Papua New Guinea HB Adrian Lam (vc)
No. Position Player
8 Flag of New Zealand PR Jason Cayless
11 Flag of Spain SR Adrian Morley
13 Flag of Russia LK Ian Rubin (on loan)

[edit] Parameters

  • 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:
    1. FB for Fullback;
    2. WG for Wing;
    3. CE for Centre;
    4. FE for Five-eighth or Stand-off;
    5. HB for Halfback or Scrum-half;
    6. HK for Hooker;
    7. PR for Prop;
    8. SR for Second Row;
    9. LK for Lock or 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.

[edit] New Club Colour Parameter

Specialwindler, where abouts are you planning to use the template's new parameter out of interest? mdmanser 13:05, 18 October 2007 (UTC)