Template:Rlw team/doc
A convenience template to add links to women's rugby league teams.
The template can also be used to display an abbreviated link to the team and display a matching icon without needing to also use {{League icon}}. Whereas the league icon template displays only the icon, with this template there is no ambiguity over which team is represented. See the documentation of that template for information on appropriate usage of such icons.
Usage
[edit]{{Rlw team |KEYWORD |abbr |icon |size }}
To display a link to a team requires only one parameter {{Rlw team|keyword}}
. Replace keyword
with one from the list of supported teams. Optional parameters are used to display a shorter link and/or an icon.
Parameters
[edit]Required
[edit]|1=
— Keyword for team, note this is case sensitive
Optional
[edit]|abbr=
— displays abbreviated version of team name. Intended for use where it is not desirable to display the full name, but using only an icon could be ambiguous.|icon=
— set toicon=l
oricon=r
to display an icon to the left or right of the team name|size=
— icon size (just a number without px), this will default to 16px if not specified
Examples
[edit]{{Rlw team|brisbane}}
→ Brisbane Broncos{{Rlw team|cronulla|abbr=y}}
→ CRO{{Rlw team|canberra|icon=l}}
→ Canberra Raiders{{Rlw team|nsw|icon=r|abbr=y}}
→ NSW{{Rlw team|hull kr|icon=l|size=20}}
→ Hull Kingston Rovers
Errors
[edit]If the keyword is missing or incorrect the template will display an error message:
{{Rlw team|icon=l}}
→ Error: Please provide a team name.{{Rlw team|warriors}}
→ Error: Please specify new zealand or wigan.
List of supported teams
[edit]Keyword | Output | ||
---|---|---|---|
team name | abbr | icon | |
NRLW Teams | |||
brisbane, brisbane broncos | Brisbane Broncos | BRI | |
canberra, canberra raiders | Canberra Raiders | CAN | |
canterbury, canterbury bulldogs | Canterbury-Bankstown Bulldogs | CBY | |
cronulla, cronulla sharks | Cronulla-Sutherland Sharks | CRO | |
gold coast, gold coast titans | Gold Coast Titans | GCT | |
newcastle knights | Newcastle Knights | NEW | |
new zealand, new zealand warriors | New Zealand Warriors | NZL | |
north queensland | North Queensland Cowboys | NQL | |
parramatta | Parramatta Eels | PAR | |
st george illawarra | St. George Illawarra Dragons | SGI | |
sydney, sydney roosters | Sydney Roosters | SYD | |
wests tigers | Wests Tigers | WTI | |
State of Origin Teams | |||
nsw, new south wales | New South Wales | NSW | |
queensland | Queensland | QLD | |
Super League / Championship Teams | |||
army | Army | ARM | |
barrow, barrow raiders | Barrow Raiders | BAR | |
bedford tigers | Bedford Tigers | BED | |
bradford, bradford bulls | Bradford Bulls | BRA | |
bradford thunderbirds | †Bradford Thunderbirds | BRA | |
cardiff demons | †Cardiff Demons | CAR | |
castleford, castleford tigers | Castleford Tigers | CAS | |
coventry, coventry bears | ‡Coventry Bears | COV | |
dewsbury moor | ‡Dewsbury Moor | DEW | |
featherstone, featherstone rovers | Featherstone Rovers | FEV | |
huddersfield, huddersfield giants | Huddersfield Giants | HUD | |
hull kr, hull kingston rovers | Hull Kingston Rovers | HKR | |
leeds, leeds rhinos | Leeds Rhinos | LEE | |
leigh leopards | Leigh Leopards | LEI | |
leigh miners rangers, leigh mr | Leigh Miners Rangers | LMR | |
london broncos | London Broncos | LON | |
oulton | †Oulton Raidettes | OUL | |
salford | Salford Red Devils | SAL | |
sheffield, sheffield eagles | Sheffield Eagles | SHE | |
st helens, st. helens | St. Helens | STH | |
stanningley | ‡Stanningley | STA | |
thatto heath | Thatto Heath Crusaders | THA | |
wakefield, wakefield trinity | Wakefield Trinity | WAK | |
warrington, warrington wolves | Warrington Wolves | WAR | |
wigan, wigan warriors | Wigan Warriors | WIG | |
york 2017 | York City Knights | YCK | |
york rlfc, york valkyrie | †York Valkyrie | YOR |
Notes
[edit]- Rows in grey indicate that the template is not needed for linking to these teams. These are included for the convenience of use with the optional parameters.
- A dagger (†) marks teams such as York Valkyrie that do not require a piped link to change the displayed link.
- A double dagger (‡) indicates there is no article, or section of an article, for a link. For example, the Coventry Bears article redirects to Midlands Hurricanes.
- Note that for teams where the link is to a section of the club article, when a separate article be created for the women's team the template can be adjusted to link there instead.
Updates
[edit]- To add a team to the template the name should be added to {{Rlw team/name}} and the icon should be added to {{Rlw team/icon}} using the same keyword for both, copying the existing format carefully.
See also
[edit]Similar templates for women's national teams:
- {{Rugby league national team}} - name only
- {{Rlw-l}}, {{Rlw-r}}, {{Rlw-big}} - name and flag icon
- {{Rlwicon}} - linked flag icon only