Template:Country: Difference between revisions

From Wikimedia Foundation Governance Wiki
Content deleted Content added
m →‎Examples: cleanup using AWB, replaced: ’ → '
m →‎Examples: clean up using AWB: spacing / header formatting
Line 112: Line 112:
| India |ind |in = {{LabelT|Q668}}
| India |ind |in = {{LabelT|Q668}}
| Indonesia |idn |id = {{LabelT|Q252}}
| Indonesia |idn |id = {{LabelT|Q252}}
| Iran |irn |ir = {{LabelT|Q794}}
| Iran |irn |ir = {{LabelT|Q794}}
| Iraq |irq |iq = {{LabelT|Q796}}
| Iraq |irq |iq = {{LabelT|Q796}}
| Ireland |irl |ie = {{LabelT|Q27}}
| Ireland |irl |ie = {{LabelT|Q27}}

Revision as of 23:34, 21 March 2024

Template documentation

Usage

Displays the localized name of a country. This is useful in tables or infoboxes.

As first parameter you may give the full English country name or its alpha-2 or alpha- 3 digit ISO-3166-1 code.

Pages calling for a country or ISO code missing from this template will appear in Category:Pages with missing country in Template:Country.

Translations come from Wikidata utilizing the {{Label}} template.

Examples

Origin country: {{country|fr}} gives "Origin country: France"

{{country|United States of America}} gives "United States of America"

Note: this template would gain to be turned into a parser function using CLDR.

{{{1}}}