Template:Rugby union team
(Redirected from Template:Rut)
| This template is used on approximately 5,200 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
{{Rut|t|tan|tc|abb|fb|fa|il|ib|ia|is}}
Parameters
|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
{{Rut|Eastern Province Kings}}→ Eastern Province Kings{{Rut|Eastern Province Kings|abb=y}}→ EPK{{Rut|Eastern Province Kings|fb=y}}→ South Africa Eastern Province Kings{{Rut|Eastern Province Kings|abb=y|fb=y}}→ South Africa EPK{{Rut|Eastern Province Kings|fa=y}}→ Eastern Province Kings South Africa{{Rut|Eastern Province Kings|abb=y|fa=y}}→ EPK South Africa{{Rut|Rebels|fb=y}}→ Australia Rebels{{Rut|Rebels|fa=y}}→ Rebels Australia{{Rut|Taranaki|ib=y}}→ File:TaranakiRugby.png Taranaki{{Rut|Taranaki|ib=y}}→ File:TaranakiRugby.png Taranaki{{Rut|Taranaki|abb=y|ib=y}}→ File:TaranakiRugby.png TAR{{Rut|Taranaki|ia=y}}→ Taranaki File:TaranakiRugby.png{{Rut|Taranaki|ia=y}}→ Taranaki File:TaranakiRugby.png{{Rut|Taranaki|abb=y|ia=y}}→ TAR File:TaranakiRugby.png
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
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
- Category:Pages using Rugby union team template with unknown parameters (2) (used for unknown parameters and unsupported values of the team name)