Template:Country/doc

From Wikipedia, the free encyclopedia

This is the template documentation page for {{Country}}.
It is not intended to be viewed directly. If it uses variables, some links may appear broken. Do not replace these variables with hardcoded page names or URLs.

[edit] Usage

The {{country|Action|CountryName}} template is used to display various information about a country.

  • Suggested country code modifiers, using format 'Country_code'-'Modifier':
  • {{flag}}: {{flag|CountryName}}: Flag icon with text linked to country page. (implemented with country|flag)
  • country|flag: {{country|flag|CountryName}}: Flag icon with text linked to country page.
  • {{ISO}}: {{ISO|CountryName}}: Same as country|flagISO.
  • country|flagISO: {{country|flagISO|CountryName}}: Flag icon with text linked to country page; name is an ISO 3166-1 country code.
  • country|flagIOC: {{country|flagIOC|CountryName}}: Flag icon with text linked to country's Olympics page; name is an International Olympic Committee country code (see List of IOC country codes).
    • Country code usage:
      1. An IOC country code should be used only for general reference to that country's Olympic activities.
        • At present an IOC country code will create a link to that nation's recent Olympics page, as there is no Olympics page for each country.
      2. Names such as flagIOC-2000 should be used for Games which have detailed coverage. This ensures that links will point to specific Games despite future changes.
      3. Use modified country codes such as RUS-SFSR for historical references to Games where a country's reference has changed (ie, different flag).