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) — yes or y — activates the (c) denotes the team captain. legend line.
  • cc (optional) — yes or y — activates the (cc) denotes co-captain. legend line.
  • vc (optional) — yes or y — activates the (vc) denotes vice-captain. legend line.
  • cap (optional) — yes or y — activates the Bold denotes internationally capped players. legend line.
  • u (optional) — 20, 21, or y — activates the corresponding italics legend line. Use u=20 for a U20 squad, u=21 for a U21 squad, or u=y for a mixed U20/U21 squad. Only include if at least one player has u= set.
  • res (optional) — 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.
  • st (optional) — yes or y — activates the ST denotes a short-term signing. legend line. Only include if at least one player has st=y.
  • wtg (optional) — yes or y — activates the WTG denotes a wider training group member. legend line. Only include if at least one player has wtg=y.
  • dev (optional) — yes or y — activates the DEV denotes a development squad member. legend line. Only include if at least one player has dev=y.
  • inj (optional) — yes or y — activates the injury icon legend line. Only include if at least one player has inj=y.
  • ex (optional) — Additional free-text legend line inserted before the reflist.
  • group (optional) — Reference group style matching the group= used in player entries. Must always be set explicitly if ex= is used in any player entry, otherwise the notes will not render. In normal use set to upper-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 as Source: 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.
Injured denotes an injured player.
Notes
A. ...
B. ...
Source: [1]

TemplateData

edit

Closes a rugby union squad table and outputs the legend.

Template parameters

ParameterDescriptionTypeStatus
Captaincaptain

Set to yes or y to activate the '(c) denotes the team captain.' legend line.

Suggested values
yes y
Stringoptional
Co-captaincc

Set to yes or y to activate the '(cc) denotes co-captain.' legend line.

Suggested values
yes y
Stringoptional
Vice-captainvc

Set to yes or y to activate the '(vc) denotes vice-captain.' legend line.

Suggested values
yes y
Stringoptional
Cappedcap

Set to yes or y to activate the 'Bold denotes internationally capped players.' legend line.

Suggested values
yes y
Stringoptional
Age gradeu

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.

Suggested values
20 21 y
Stringoptional
Residency nationres

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.

Stringoptional
Short-term signingst

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.

Suggested values
yes y
Stringoptional
Wider training groupwtg

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.

Suggested values
yes y
Stringoptional
Development squaddev

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.

Suggested values
yes y
Stringoptional
Injuredinj

Set to yes or y to activate the injury icon legend line. Only include if at least one player has inj=y.

Suggested values
yes y
Stringoptional
Extra legendex

Additional free-text legend line inserted before the reflist.

Stringoptional
Reference groupgroup

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.

Suggested values
upper-alpha lower-alpha lower-roman upper-roman
Default
upper-alpha
Stringoptional
Sourceref

Citation for the squad source, displayed as Source: after the reflist.

Stringoptional

See also

edit