Template:Ru7/doc
Appearance
This is a documentation subpage for Template:Ru7. It may contain usage information, categories and other content that is not part of the original template page. |
Description
[edit]{{ru7|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
[edit]Standard examples with country names or 3-letter country codes:
{{ru7|Scotland}}
→ Scotland{{ru7|New Zealand}}
→ New Zealand{{ru7|ESP}}
→ Spain{{ru7|USA}}
→ United States{{ru7|RSA}}
→ South Africa{{ru7|GEO}}
→ Georgia{{ru7|IRE}}
→ Ireland
Examples showing effect of optional parameters:
{{ru7|South Africa|1928}}
→ South Africa{{ru7|ZAF|1928|name=Blitzbokke}}
→ Blitzbokke{{ru7|England|name=ENG}}
→ ENG{{ru7|France|name=FRA}}
→ FRA{{ru7|Tonga|noflag=yes}}
→ Tonga{{ru7|Scotland|noflag=true}}
→ Scotland{{ru7|RSA|name=Blitzbokke|noflag=1}}
→ Blitzbokke
See also
[edit]- Template:ru7icon – produces a flag icon (only) wikilinked national rugby sevens national team article.
- Template:ru7-rt — for rendering the flag on the right
- Template:ru — for full national teams
- Category:National rugby sevens teams