Template:Ru7w/doc
Appearance
This is a documentation subpage for Template:Ru7w. It may contain usage information, categories and other content that is not part of the original template page. |
Description
{{ru7w|nation|variant|size=optional|name=optional}}
Produces a flag icon attached to a wikilinked national rugby sevens national 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)
- 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
Standard examples with country names or 3-letter country codes:
- {{ru7w|Scotland}} → Scotland
- {{ru7w|New Zealand}} → New Zealand
- {{ru7w|ESP}} → Spain
- {{ru7w|USA}} → United States
- {{ru7w|RSA}} → South Africa
- {{ru7w|IRE}} → Ireland
Examples showing effect of optional parameters:
- {{ru7w|Hong Kong|1959}} → Hong Kong
- {{ru7w|England|name=ENG}} → ENG
- {{ru7w|France|name=FRA}} → FRA
- {{ru7w|Tonga|noflag=yes}} → Tonga
- {{ru7w|Scotland|noflag=true}} → Scotland
- {{ru7w|AUS|name=Pearls|noflag=1}} → Pearls
See also
- Template:ru7w-rt — for rendering the flag on the right
- Template:ruw — for full women's 15-a-side national teams
- Category:Women's national rugby union sevens teams