テンプレート:Ru/doc

提供:脳科学辞典
< テンプレート:Ru
2015年8月9日 (日) 12:32時点におけるWikiSysop (トーク | 投稿記録)による版 (1版)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
ナビゲーションに移動 検索に移動

モジュール:Message box/ombox.cssページに内容がありません。

Description

{{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

Standard examples with country names or 3-letter country codes:

  • {{ru|Scotland}}
    Русский: Scotland
  • {{ru|New Zealand}}
    Русский: New Zealand
  • {{ru|ESP}}
    Русский: ESP
  • {{ru|USA}}
    Русский: USA
  • {{ru|RSA}}
    Русский: RSA
  • {{ru|GEO}}
    Русский: GEO
  • {{ru|IRE}}
    Русский: IRE

Examples showing effect of optional parameters:

  • {{ru|South Africa|1928}}
    Русский: South Africa
  • {{ru|ZAF|1928|name=South Africa XV}}
    Русский: ZAF
  • {{ru|England|name=ENG}}
    Русский: England
  • {{ru|France|name=FRA}}
    Русский: France
  • {{ru|Tonga|noflag=yes}}
    Русский: Tonga
  • {{ru|Scotland|noflag=true}}
    Русский: Scotland
  • {{ru|ARG|name=Argentina XV|noflag=1}}
    Русский: ARG

See also