Jump to content

Module:Rugby league match squad/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Nthep (talk | contribs) at 16:32, 4 August 2022. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.


Usage

{{#invoke:Rugby league match squad|main}} This module implements a wikitable for squad listings for rugby league matches.

Blank for with all parameters

{{#invoke: Rugby league match squad| main
| collapsed =
| hometeam =
| awayteam =
| squadsize =
| location =
| hcoach =
| homeFB =
| homeFBnum =
| homeWG1 =
| homeWG1num =
| homeCE1 =
| homeCE1num =
| homeCE2 =
| homeCE2num =
| homeWG2 =
| homeWG2num =
| homeSO =
| homeSOnum =
| homeSH =
| homeSHnum =
| homePR1 =
| homePR1num =
| homeHK =
| homeHKnum =
| homePR2 =
| homePR2num =
| homeSR1 =
| homeSR1num =
| homeSR2 =
| homeSR2num =
| homeLF =
| homeLFnum =
| homeIN1 =
| homeIN1num =
| homeIN2 =
| homeIN2num =
| homeIN3 =
| homeIN3num =
| homeIN4 =
| homeIN4num =
| homeIN5 =
| homeIN5num =
| homeIN6 =
| homeIN6num =
| homeIN7 =
| homeIN7num =
| homeIN8 =
| homeIN8num =
| homeIN9 =
| homeIN9num =
| homeIN10 =
| homeIN10num =
| homeIN11 =
| homeIN11num =
| homeIN12 =
| homeIN12num =
| homeIN13 =
| homeIN13num =
| acoach =
| awayFB =
| awayFBnum =
| awayWG1 =
| awayWG1num =
| awayWG2 =
| awayWG2num =
| awayCE1 =
| awayCE1num =
| awayCE2 =
| awayCE2num =
| awaySO =
| awaySOnum =
| awaySH =
| awaySHnum =
| awayPR1 =
| awayPR1num =
| awayHK =
| awayHKnum =
| awayPR2 =
| awayPR2num =
| awaySR1 =
| awaySR1num =
| awaySR2 =
| awaySR2num =
| awayLF =
| awayLFnum =
| awayIN1 =
| awayIN1num =
| awayIN2 =
| awayIN2num =
| awayIN3 =
| awayIN3num =
| awayIN4 =
| awayIN4num =
| awayIN5 =
| awayIN5num =
| awayIN6 =
| awayIN6num =
| awayIN7 =
| awayIN7num =
| awayIN8 =
| awayIN8num =
| awayIN9 =
| awayIN9num =
| awayIN10 =
| awayIN10num =
| awayIN11 =
| awayIN11num =
| awayIN12 =
| awayIN12num =
| awayIN13 =
| awayIN13num =
|}

Per MOS:ACCESS#Font size and MOS:SMALLFONT, "avoid using smaller font sizes in elements that already use a smaller font size, such as infoboxes, navboxes and reference sections". Since this template's text is already reduced to 90% of the normal size, use of the {{Small}} template or <small>...</small> tags within this template produces a font size that is 77% of the page default, well below the 85% minimum specified in the linked guidelines.

Parameter descriptions

All names can be wikilinked and include references or notes.

Parameter Description
collapsed Optional. Set to y to collapse table in output. Defaults to n.
hometeam Required. Home or first named team
awayteam Required. Away or second named team
squadsize Optional. Specify size of largest squad to be shown, including interchange players. Defaults to 17 if not otherwise stated. For example if one team is allowed to use a concussion substitute as well as the regular four interchange players then set squadsize to 18. Maximum squad size is 26.
location Optional. Allows for the different position names used in the northern and southern hemispheres i.e. stand off / five eighth; scrum half / half back; loose forward / lock forward. Parameter values accepted are n (for northern hemisphere names), s (for southern hemisphere names), ns (both names but northern first) and sn (both names but southern first).
homeCoach Optional. Name of home coach
homeFB Required. Name of starting fullback.
homeFBnum Optional. All parameters ending num are optional. These parameters allow the template to support squad numbering e.g. as used in Super League. Omitting these values defaults to positional numbering e.g. 1= Fullback, 2=Centre etc as used in the NRL.
homeWG1 Required. Name of starting winger
homeWG1num Optional.
homeCE1 Required. Name of starting centre
homeCE1num Optional.
homeCE2 Required. Name of other starting centre
homeCE2num Optional.
homeWG2 Required. Name of other starting winger
homeWG2num Optional.
homeSO Required. Name of starting stand off / five eighth
homeSOnum Optional.
homeSH Required. Name of starting scrum half / half back
homeSHnum Optional.
homePR1 Required. Name of starting prop forward
homePR1num Optional.
homeHK Required. Name of starting hooker
homeHKnum Optional.
homePR2 Required. Name of other starting prop forward
homePR2num Optional.
homeSR1 Required. Name of starting second row forward
homeSR1num Optional
homeSR2 Required. Name of other starting second row forward
homeSR2num Optional.
homeLF Required. Name of starting loose / lock forward
homeLFnum Optional.
homeIN1-n Required. Name(s) of players named on the interchange bench
homeIN1-nnum Optional.
awayCoach As above.
awayFB
awayFBnum
awayWG1
awayWG1num
awayWG2
awayWG2num
awayCE1
awayCE1num
awayCE2
awayCE2num
awaySO
awaySOnum
awaySH
awaySHnum
awayPR1
awayPR1num
awayHK
awayHKnum
awayPR2
awayPR2num
awaySR1
awaySR1num
awaySR2
awaySR2num
awayLF
awayLFnum
awayIN1-n
awayIN1-nnum