Template:Country: Difference between revisions

From Wikimedia Foundation Governance Wiki
Content deleted Content added
additional countries
Tag: 2017 source edit
mNo edit summary
Tag: 2017 source edit
Line 70: Line 70:
| Democratic Republic of the Congo |DR Congo |Congo-Kinshasa |cod |cd = {{LabelT|Q974}}
| Democratic Republic of the Congo |DR Congo |Congo-Kinshasa |cod |cd = {{LabelT|Q974}}
| Republic of the Congo |Congo-Brazzaville |cog |cg = {{LabelT|Q971}}
| Republic of the Congo |Congo-Brazzaville |cog |cg = {{LabelT|Q971}}
| Cote d'Ivoire |Côte d'Ivoire |Côte d'Ivoire |civ |ci = {{LabelT|Q1008}}
| Cote d'Ivoire |Côte d'Ivoire |Côte d’Ivoire |civ |ci = {{LabelT|Q1008}}
| Croatia |hrv |hr = {{LabelT|Q224}}
| Croatia |hrv |hr = {{LabelT|Q224}}
| Cuba |cu |cub = {{LabelT|Q241}}
| Cuba |cu |cub = {{LabelT|Q241}}
Line 81: Line 81:
| East Timor |Timor-Leste |tl |tls = {{LabelT|Q574}}
| East Timor |Timor-Leste |tl |tls = {{LabelT|Q574}}
| Ecuador |ecu |ec = {{LabelT|Q736}}
| Ecuador |ecu |ec = {{LabelT|Q736}}
| Egypt |egy |eg = {{LabelT|Q792}}
| Egypt |egy |eg = {{LabelT|Q79}}
| El Salvador |sv |slv = {{LabelT|Q79}}
| El Salvador |sv |slv = {{LabelT|Q792}}
| Equatorial Guinea |gnq |gq = {{LabelT|Q983}}
| Equatorial Guinea |gnq |gq = {{LabelT|Q983}}
| Eritrea |eri |er = {{LabelT|Q986}}
| Eritrea |eri |er = {{LabelT|Q986}}

Revision as of 05:48, 30 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}}}