Template:Wheelchair rugby league match squad/sandbox
![]() | This is the template sandbox page for Template:Wheelchair rugby league match squad (diff). |
Usage
[edit]This templates implements a wikitable for squad listings for wheelchair rugby league matches. It invokes a Lua module {{#invoke:Wheelchair rugby league match squad|main}}
For the corresponding template for the running game see {{Rugby league match squad}}.
Blank for with all parameters
[edit]{{Wheelchair rugby league match squad
| collapsed =
| align =
| hometeam =
| awayteam =
| squadsize =
| homeBorder =
| homeBGcolour =
| homeFGcolour =
| awayBorder =
| awayBGcolour =
| awayFGcolour =
| homeCoach =
| homeStart1 =
| homeStart1num =
| homeStart2 =
| homeStart2num =
| homeStart3 =
| homeStart3num =
| homeStart4 =
| homeStart4num =
| homeStart5 =
| homeStart5num =
| homeIN1 =
| homeIN1num =
| homeIN2 =
| homeIN2num =
| homeIN3 =
| homeIN3num =
| homeIN4 =
| homeIN4num =
| homeIN5 =
| homeIN5num =
| awayCoach =
| awayStart1 =
| awayStart1num =
| awayStart2 =
| awayStart2num =
| awayStart3 =
| awayStart3num =
| awayStart4 =
| awayStart4num =
| awayStart5 =
| awayStart5num =
| awayIN1 =
| awayIN1num =
| awayIN2 =
| awayIN2num =
| awayIN3 =
| awayIN3num =
| awayIN4 =
| awayIN4num =
| awayIN5 =
| awayIN5num =
| titleIN4 =
| titleIN5 =
| source =
}}
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.
Unlike {{Rugby league match squad}} this template doesn't currently (as of November 2023[update]) support abbreviated position names as wheelchair rugby league tends to only identify squad members as "starting" or "interchange" players.
Parameter descriptions
[edit]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. |
align |
Optional. Set to left, center or right to define alignment on page. Defaults to right. |
homeBGcolour |
Optional. Use to set background colour of the box containing the home team name. Can use triplet or HTML colour names. Defaults to white. |
homeBorder |
Optional. Used to set the border colour of the box containing the home team name. Can use triplet or HTML colour names. Defaults to black. |
homeFGcolour |
Optional. Used to set the text colour of the box containing the homee team name. Can use triplet or HTML colour names. Defaults to black. |
awayBGcolour |
Optional. Use to set background colour of the box containing the away team name. Can use triplet or HTML colour names. Defaults to white. |
awayBorder |
Optional. Used to set the border colour of the box containing the away team name. Can use triplet or HTML colour names. Defaults to black. |
awayFGcolour |
Optional. Used to set the text colour of the box containing the away team name. Can use triplet or HTML colour names. Defaults to black. |
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 10 if not otherwise stated. Maximum squad size is 10. |
homeCoach |
Optional. Name of home coach |
homeStart1 |
Required. Name of first starting player. |
homeStart1num |
Optional. All parameters ending num are optional. These parameters allow the template to support squad numbering.
If a player does not have a shirt number e.g. a trialist or short-term loan signing, enter the player number as 00 (double zero). |
homeStart2-5 |
Required. Names of the other four starting players. |
homeStart2-5num |
Optional. |
homeIN1-n |
Optional. Name(s) of players named on the interchange bench |
homeIN1-nnum |
Optional. |
awayCoach |
As above. |
awayStart1-5
| |
awayStart1-5num
| |
awayIN1-n
| |
awayIN1-nnum
| |
titleIN4-5 |
Optional. Defaults to "Interchange" but can be altered to "Concussion substitute" or any other term by adding the required text. Will support templates like {{tooltip}} |
source |
Optional. Source text. Can be plaintext or citation. |