| This is a documentation subpage for Template:Rugby union squad end. It may contain usage information, categories and other content that is not part of the original template page. |
Description
edit{{Rugby union squad end|captain=|cc=|vc=|cap=|u=|res=|st=|wtg=|dev=|inj=|ex=|group=|ref=}}
Closes a squad table opened by {{Rugby union squad start}}. Outputs the standard legend and renders the reflist for any footnotes set via footnote= in squad start or ex= in player entries. The source citation is displayed after the reflist.
Legend lines only appear when their corresponding parameter is set. Set captain=y if the squad has a captain, cap=y if any player is internationally capped, and so on.
- Parameters
captain(optional) —yesory— activates the(c) denotes the team captain.legend line.cc(optional) —yesory— activates the(cc) denotes co-captain.legend line.vc(optional) —yesory— activates the(vc) denotes vice-captain.legend line.cap(optional) —yesory— activates theBold denotes internationally capped players.legend line.u(optional) —20,21, ory— activates the corresponding italics legend line. Useu=20for a U20 squad,u=21for a U21 squad, oru=yfor a mixed U20/U21 squad. Only include if at least one player hasu=set.res(optional) — Nation name for the residency legend line, e.g.res=Irelandoutputs:* denotes players qualified to play for Ireland on residency or dual nationality.Only include if at least one player hasres=y.st(optional) —yesory— activates theST denotes a short-term signing.legend line. Only include if at least one player hasst=y.wtg(optional) —yesory— activates theWTG denotes a wider training group member.legend line. Only include if at least one player haswtg=y.dev(optional) —yesory— activates theDEV denotes a development squad member.legend line. Only include if at least one player hasdev=y.inj(optional) —yesory— activates the injury icon legend line. Only include if at least one player hasinj=y.ex(optional) — Additional free-text legend line inserted before the reflist.group(optional) — Reference group style matching thegroup=used in player entries. Must always be set explicitly ifex=is used in any player entry, otherwise the notes will not render. In normal use set toupper-alpha, which renders markers as[A],[B]etc. and avoids conflicts with{{efn}}. See below for all available values.ref(optional) — Citation for the squad source, displayed asSource:after the reflist.
- Reference group styles
The group= value controls how inline note markers are displayed. The following recognised MediaWiki styles are available:
upper-alpha(default) — renders as[A],[B],[C]lower-alpha— renders as[a],[b],[c]lower-roman— renders as[i],[ii],[iii]upper-roman— renders as[I],[II],[III]
As a last resort, a custom string such as group=NZ also works but outputs [NZ 1], [NZ 2] rather than letters, so one of the named styles above is preferable where possible.
When a page contains more than one squad table, each table must use a different group= value to keep their note lists separate. The same value must be used consistently across all player entries and this template for a given table.
Note: lower-alpha should be avoided on pages that use {{efn}} without an explicit group, as {{efn}} defaults to lower-alpha internally and will conflict with the squad note list, causing non-squad notes to appear inside the squad table. If lower-alpha must be used, ensure all {{efn}} calls on the page explicitly set a group, e.g. {{efn|group=note|Your note here}}, and that a matching {{notelist|group=note}} is present at the bottom of the page.
Example
edit{{Rugby union squad end
| captain = y
| cc = y
| vc = y
| cap = y
| u = 20
| res = Ireland
| st = y
| wtg = y
| dev = y
| inj = y
| ex = Notes
| group = upper-alpha
| ref = <ref>{{cite web|url=https://www.leinsterrugby.ie/teams/mens-senior|title=Leinster Rugby: Senior Men|work=Leinster Rugby}}</ref>
}}
Produces a legend row reading:
- (c) denotes the team captain.
- (cc) denotes co-captain.
- (vc) denotes vice-captain.
- Bold denotes internationally capped players.
- Italics denotes U20 international.
- denotes players qualified to play for Ireland on residency or dual nationality.
- ST denotes a short-term signing.
- WTG denotes a wider training group member.
- DEV denotes a development squad member.
denotes an injured player.- Notes
- A. ...
- B. ...
- Source: [1]
TemplateData
editCloses a rugby union squad table and outputs the legend.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Captain | captain | Set to yes or y to activate the '(c) denotes the team captain.' legend line.
| String | optional |
| Co-captain | cc | Set to yes or y to activate the '(cc) denotes co-captain.' legend line.
| String | optional |
| Vice-captain | vc | Set to yes or y to activate the '(vc) denotes vice-captain.' legend line.
| String | optional |
| Capped | cap | Set to yes or y to activate the 'Bold denotes internationally capped players.' legend line.
| String | optional |
| Age grade | u | Set to 20 (U20 squad), 21 (U21 squad), or yes/y (mixed U20/U21 squad) to activate the italics legend line. Only include if at least one player has u= set.
| String | optional |
| Residency nation | res | Nation name for the residency legend line. E.g. res=Ireland outputs: * denotes players qualified to play for Ireland on residency or dual nationality. Only include if at least one player has res=y. | String | optional |
| Short-term signing | st | Set to yes or y to activate the 'ST denotes a short-term signing.' legend line. Only include if at least one player has st=y.
| String | optional |
| Wider training group | wtg | Set to yes or y to activate the 'WTG denotes a wider training group member.' legend line. Only include if at least one player has wtg=y.
| String | optional |
| Development squad | dev | Set to yes or y to activate the 'DEV denotes a development squad member.' legend line. Only include if at least one player has dev=y.
| String | optional |
| Injured | inj | Set to yes or y to activate the injury icon legend line. Only include if at least one player has inj=y.
| String | optional |
| Extra legend | ex | Additional free-text legend line inserted before the reflist. | String | optional |
| Reference group | group | Reference group style matching the group= used in player entries. Must always be set explicitly if ex= is used in any player entry, otherwise notes will not render. In normal use set to upper-alpha, which renders markers as [A], [B] etc. and avoids conflicts with {{efn}}. Available values: upper-alpha (default), lower-alpha, lower-roman, upper-roman.
| String | optional |
| Source | ref | Citation for the squad source, displayed as Source: after the reflist. | String | optional |
See also
edit- Template:Rugby union squad start — opens the squad table
- Template:RU squad player — men's player entry
- Template:RUW squad player — women's player entry