Difference between revisions of "Template:Demonym country"
Jump to navigation
Jump to search
imported>Le Deluge (cat) |
imported>Le Deluge (Documentation page) |
||
Line 1: | Line 1: | ||
− | + | <includeonly>{{{{{subst|}}}#switch: {{{1}}}|af=Afghan|al=Albanian|dz=Algerian|ad=Andorran|ao=Angolan|ag=Antiguans, Barbudans|ar=Argentine|am=Armenian|au=Australian|at=Austrian|az=Azerbaijani|bh=Bahraini|bd=Bangladeshi|bb=Barbadian or Bajuns|by=Belarusian|be=Belgian|bz=Belizean|bj=Beninese|bt=Bhutanese|bo=Bolivian|ba=Bosnian, Herzegovinian|bw=Motswana (singular), Batswana (plural)|br=Brazilian|bn=Bruneian|bg=Bulgarian|bf=Burkinabe|bi=Burundian|kh=Cambodian|cm=Cameroonian|ca=Canadian|cv=Cape Verdian or Cape Verdean|cf=Central African|td=Chadian|cl=Chilean|co=Colombian|km=Comoran|cr=Costa Rican|hr=Croat|cu=Cuban|cy=Cypriot|cz=Czech|dk=Dane|dj=Djibouti|dm=Dominican|do=Dominican|tl=East Timorese|tp=East Timorese|ec=Ecuadorean|eg=Egyptian|sv=Salvadoran|gq=Equatorial Guinean or Equatoguinean|er=Eritrean|ee=Estonian|et=Ethiopian|fm=Micronesian|fj=Fijian|fi=Finn|fr=French|ga=Gabonese|ge=Georgian|de=German|gh=Ghanaian|gr=Greek|gd=Grenadian|gt=Guatemalan|gw=Guinea-Bissauan|gn=Guinean|gy=Guyanese|ht=Haitian|hn=Honduran|hu=Hungarian|is=Icelander|in=Indian|id=Indonesian|ir=Iranian|iq=Iraqi|ie=Irish|il=Israeli|it=Italian|jm=Jamaican|jp=Japanese|jo=Jordanian|kz=Kazakhstani|ke=Kenyan|ki=I-Kiribati|kw=Kuwaiti|la=Lao or Laotian|lv=Latvian|lb=Lebanese|ls=Mosotho (plural Basotho)|lr=Liberian|ly=Libyan|li=Liechtensteiner|lt=Lithuanian|lu=Luxembourger|mg=Malagasy|mw=Malawian|my=Malaysian|mv=Maldivian|ml=Malian|mt=Maltese|mh=Marshallese|mr=Mauritanian|mu=Mauritian|mx=Mexican|md=Moldovan|mc=Monegasque or Monacan|mn=Mongolian|ma=Moroccan|mz=Mozambican|na=Namibian|nr=Nauruan|np=Nepalese|nz=New Zealander|ni=Nicaraguan|ng=Nigerian|ne=Nigerien|no=Norwegian|om=Omani|pk=Pakistani|pw=Palauan|pa=Panamanian|pg=Papua New Guinean|py=Paraguayan|pe=Peruvian|ph=Filipino|pl=Pole|pt=Portuguese|qa=Qatari|ro=Romanian|ru=Russian|rw=Rwandan|kn=Kittian and Nevisian|lc=Saint Lucian|ws=Samoan|sm=Sammarinese or San Marinese|sa=Saudi or Saudi Arabian|sn=Senegalese|cs=Serbian or Montenegrin|sc=Seychellois|sl=Sierra Leonean|sg=Singaporean|sk=Slovak|si=Slovene|sb=Solomon Islander|so=Somali|za=South African|es=Spaniard|lk=Sri Lankan|sd=Sudanese|sr=Surinamer|sz=Swazi|se=Swede|ch=Swiss|sy=Syrian|tj=Tajik or Tadzhik|tz=Tanzanian|th=Thai|tg=Togolese|to=Tongan|tt=Trinidadian or Tobagonian|tn=Tunisian|tr=Turk|tm=Turkmen(s)|tv=Tuvaluan|ug=Ugandan|ua=Ukrainian|ae=Emirian|gb=British|uk=British|us=American|uy=Uruguayan|uz=Uzbek or Uzbekistani|vu=Ni-Vanuatu|ve=Venezuelan|vn=Vietnamese|ye=Yemeni or Yemenite|zm=Zambian|zw=Zimbabwean}} | |
− | |||
− | |||
− | |||
− | |||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
+ | {{documentation}} | ||
[[Category:String manipulation templates|country]] | [[Category:String manipulation templates|country]] | ||
[[Category:Country templates]] | [[Category:Country templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 11:23, 24 August 2020
Usage
Generate a demonym from a Country code top-level domain parameter, eg:
{{Demonym country|ng}}
-> Nigerian
{{Demonym country|uk}}
-> French
See also
- {{Iso2nationality}} - takes an ISO country code (ISO 3166-1 alpha-2) and converts it to a demonym, ie ir -> Iranian
- {{ISO 3166 code}} - takes a country name/ISO alpha-2-or-3 code/ISO numeric code and converts it to an ISO alpha-2 code, ie Iran/IR/IRN/364 -> IR
- {{ISO 3166 code-3}} - takes a country name/ISO alpha-2-or-3 code/ISO numeric code and converts it to an ISO alpha-3 code, ie Iran/IR/IRN/364 -> IRN
- {{ISO 3166 name}} - takes a country name/ISO alpha-2-or-3 code/ISO numeric code and converts it to an official ISO name, ie Iran/IR/IRN/364 -> Iran (Islamic Republic of)
- {{Country name}} - takes a country name/ISO alpha-2-or-3 code/ISO numeric code and converts it to a common name, ie Iran/IR/IRN/364 -> Iran
- {{ISO 3166 numeric}} - takes a country name/ISO alpha-2-or-3 code/ISO numeric code and converts it to an ISO numeric code, ie Iran/IR/IRN/364 -> 364
- {{Iso2country}} - takes an ISO country code and converts it to a country name, ie IR -> Iran
- {{Iso2continent}} - takes an ISO country code and converts it to a continent, ie IR -> Asia
- {{GetCountryNameFromAdjective}} – takes a demonym and converts it to a country name, ie Iranian -> Iran
- {{Country2nationality}} - takes a country name and converts it to a demonym, ie Iran -> Iranian
- {{Country2continent}} - takes a country name and converts it to a continent, ie Iran-> Asia
The above documentation is transcluded from Template:Demonym country/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |