Template:Ru7w
From The Right Wiki
Jump to navigationJump to search
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
Description
{{ru7w|nation|variant|size=optional|name=optional}}
Produces a flag icon attached to a wikilinked women's national rugby sevens 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}}
→ File:Flag of Scotland.svg Scotland{{ru7w|New Zealand}}
→ File:Flag of New Zealand.svg New Zealand{{ru7w|ESP}}
→ File:Flag of Spain.svg Spain{{ru7w|USA}}
→ File:Flag of the United States.svg United States{{ru7w|RSA}}
→ File:Flag of South Africa.svg South Africa{{ru7w|IRE}}
→ File:IRFU flag.svg Ireland
Examples showing effect of optional parameters:
{{ru7w|Hong Kong|1959}}
→ File:Flag of Hong Kong 1959.svg Hong Kong{{ru7w|England|name=ENG}}
→ File:Flag of England.svg ENG{{ru7w|France|name=FRA}}
→ File:Flag of France.svg FRA{{ru7w|Tonga|noflag=yes}}
→ Tonga{{ru7w|Scotland|noflag=true}}
→ Scotland{{ru7w|AUS|name=Pearls|noflag=1}}
→ Pearls
See also
- Template:ru7wicon — produces a flag icon (only) wikilinked national rugby sevens women's national team article
- 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 sevens teams