Template:Ru/sandbox
Appearance
This is the template sandbox page for Template:Ru (diff). See also the companion subpage for test cases. |
This template is used on approximately 3,600 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. |
Description
[edit]{{ru|nation|variant|size=optional|name=optional|noflag=optional}}
Produces a flag icon attached to a wikilinked national rugby union team article.
- Parameters
- nation: Use either the name of the nation or a three-letter country code, as specified by ISO, IOC, WR or FIFA (most should work)
- 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:
- {{ru|Scotland}} → Scotland
- {{ru|New Zealand}} → New Zealand
- {{ru|ESP}} → Spain
- {{ru|USA}} → United States
- {{ru|RSA}} → South Africa
- {{ru|GEO}} → Georgia
- {{ru|IRE}} → Ireland
Examples showing effect of optional parameters:
- {{ru|South Africa|1928}} → South Africa
- {{ru|ZAF|1928|name=South Africa XV}} → South Africa XV
- {{ru|England|name=ENG}} → ENG
- {{ru|France|name=FRA}} → FRA
- {{ru|Tonga|noflag=yes}} → Tonga
- {{ru|Scotland|noflag=true}} → Scotland
- {{ru|ARG|name=Argentina XV|noflag=1}} → Argentina XV
See also
[edit]- Template:ruicon – produces a flag icon (only) wikilinked national rugby union team article.
- Template:ru-rt — for rendering the flag on the right
- Template:ruu — for men's under-18, under-20, and under-21 national teams
- Template:ru7 — for men's national sevens teams
- Template:ruw — for women's national teams
- Template:ru7w — for women's national sevens teams
- Template:ruA — for men's "A" (second-level) national teams
- Category:National rugby union teams
- Template:langx with
|1=ru
— to introduce Russian language text as such, e.g., Russian: Новая Революционная Альтернатива