Template:Rugby union team/doc
Appearance
(Redirected from Template:Rut/doc)
This is a documentation subpage for Template:Rugby union team. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 4,800 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This is a convenience template to add links to rugby union teams.
Usage
[edit]{{Rut |t |tan |tc |abb |fb |fa |il |ib |ia |is }}
Parameters
[edit]|1=
— team name|t=
— team name to display, if different from the unnamed|1=
|tan=
— team article name|tc=
— team country|abb=
— abbreviation|fb=
— flag before|fa=
— flag after|il=
— image link|ib=
— image before|ia=
— image before|is=
— image size (will default to 14px if not specified)
Examples
[edit]{{Rut|Eastern Province Kings}}
→ Eastern Province Kings{{Rut|Eastern Province Kings|abb=y}}
→ EPK{{Rut|Eastern Province Kings|fb=y}}
→ Eastern Province Kings{{Rut|Eastern Province Kings|abb=y|fb=y}}
→ EPK{{Rut|Eastern Province Kings|fa=y}}
→ Eastern Province Kings{{Rut|Eastern Province Kings|abb=y|fa=y}}
→ EPK{{Rut|Rebels|fb=y}}
→ Rebels{{Rut|Rebels|fa=y}}
→ Rebels{{Rut|Taranaki|ib=y}}
→ Taranaki{{Rut|Taranaki|ib=y|is=10}}
→ Taranaki{{Rut|Taranaki|abb=y|ib=y|is=10}}
→ TAR{{Rut|Taranaki|ia=y}}
→ Taranaki{{Rut|Taranaki|ia=y|is=20}}
→ Taranaki{{Rut|Taranaki|abb=y|ia=y|is=20}}
→ TAR
It can also be used where there's frequent team name changes, e.g. due to sponsorship:
{{Rut |t=Golden Lions |tan=Golden Lions}}
→ Golden Lions{{Rut |t=Xerox Lions |tan=Golden Lions}}
→ Xerox Lions{{Rut |t=Auto and General Lions |tan=Golden Lions}}
→ Auto and General Lions
Updates
[edit]To add a team to this template so that it creates an automatic link, modify {{Rugby union team/link}}, copying the existing format carefully.
To add a team and show an image next to the team's name, modify {{Rugby union team/image}}, copying the existing format carefully.
To add a team and show their country's flag next to the team name, modify {{Rugby union team/flags}}, copying the existing format carefully.
Tracking categories
[edit]- Category:Pages using Rugby union team template with unknown parameters (9) (used for unknown parameters and unsupported values of the team name)