Template:Ruu
Appearance
Description
[edit]{{ruu|age|nation|variant|size=optional|name=optional}}
Produces a flag icon attached to a wikilinked national under-18, under-20 or under-21 rugby union team article.
- Parameters
- nation — Use either the name of the nation or a three-letter country code, as specified by ISO, IOC or FIFA (most should work)
- age – 18, 20, or 21 as appropriate for the desired article link
- variant (optional) — Specifies an alternate (historical) flag to use. This parameter is documented by the appropriate template in Category:Country data templates.
- size (optional) — Can be used to change the flag icon size (use sparingly!)
- name (optional) — Can be used to change the wikilink display text
- noflag (optional) — A switch to turn off the flag display when set to any value. e.g. 1, or 'true', etc.
Examples
[edit]Standard examples with country names or 3-letter country codes:
{{ruu|21|Australia}}
→ Australia{{ruu|19|NZL}}
→ New Zealand{{ruu|20|USA}}
→ United States{{ruu|20|RSA}}
→ South Africa{{ruu|20|ENG}}
→ England{{ruu|20|IRE}}
→ Ireland
Examples showing effect of optional parameters:
{{ruu|20|RSA}}
→ South Africa{{ruu|18|ZAF|1928}}
→ South Africa{{ruu|18|ZAF|1928|size=30px}}
→ South Africa{{ruu|20|HKG|size=30px}}
→ Hong Kong{{ruu|18|Wales|name=WAL}}
→ → WAL{{ruu|20|Tonga|noflag=yes}}
→ Tonga{{ruu|20|NZL|noflag=true}}
→ New Zealand{{ruu|20|NZL|name=Baby Blacks|noflag=1}}
→ Baby Blacks
See also
[edit]- Template:ruu-rt — for rendering the flag on the right
- Template:ruu-big — for rendering a larger flag, with the team name underneath the flag
- Template:ru — for men's national teams
- Template:ruw — for women's national teams
- Template:ru7 — for seven's national teams