Template:Country: Difference between revisions

From Wikimedia Foundation Governance Wiki
Content deleted Content added
additional countries
Tag: 2017 source edit
additional countries
Tag: 2017 source edit
Line 25: Line 25:
| Algeria |dz |dza = {{LabelT|Q262}}
| Algeria |dz |dza = {{LabelT|Q262}}
| Albania |alb |al = {{LabelT|Q222}}
| Albania |alb |al = {{LabelT|Q222}}
| Andorra |ad |and = {{LabelT|Q228}}
| Angola |ago |ao = {{LabelT|Q916}}
| Angola |ago |ao = {{LabelT|Q916}}
| Anguilla |aia |ai = {{LabelT|Q25228}}
| Anguilla |aia |ai = {{LabelT|Q25228}}
Line 45: Line 46:
| Bermuda |bmu |bm = {{LabelT|Q23635}}
| Bermuda |bmu |bm = {{LabelT|Q23635}}
| Bolivia |bol |bo = {{LabelT|Q750}}
| Bolivia |bol |bo = {{LabelT|Q750}}
| Bosnia and Herzegovina |bih |ba = {{LabelT|Q225}}
| Bosnia and Herzegovina |Bosnia-Herzegovina |bih |ba = {{LabelT|Q225}}
| Botswana |bwa |bw = {{LabelT|Q963}}
| Botswana |bwa |bw = {{LabelT|Q963}}
| Brazil |bra |br = {{LabelT|Q155}}
| Brazil |bra |br = {{LabelT|Q155}}

Revision as of 01:35, 23 January 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}}}