Jump to content

英文维基 | 中文维基 | 日文维基 | 草榴社区

Template:Ru7w/doc

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Ianblair23 (talk | contribs) at 11:48, 28 May 2016 (addded optional noflag parameter and examples). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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:

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