Difference between revisions of "Template:GetCountryNameFromAdjective"

From blackwiki
Jump to navigation Jump to search
imported>Le Deluge
(sort)
imported>BrownHairedGirl
(remove Yugoslavia kludge. All relevant categories have been fixed)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#ifeq:{{{1|}}}|Yugoslavian|Yugoslavia|{{#invoke: CountryAdjectiveDemonym | getCountryFromAdjective |{{{1|}}}}}}}<!--  
+
{{#invoke: CountryAdjectiveDemonym | getCountryFromAdjective |{{{1|}}}}}<!--  
--><noinclude>
+
--><noinclude><!--  
==See also==
+
-->{{Documentation}}
*{{tl|Demonym country}} – provides a lookup table for demonyms by country code top-level domain
 
*{{tl|Country2nationality}} - takes a country name and converts it to a demonym, ie France -> French
 
*{{tl|Country2continent}} - takes a country name and converts it to a continent, ie France -> Europe
 
 
 
 
 
 
[[Category:String manipulation templates|country]]
 
[[Category:String manipulation templates|country]]
 +
[[Category:Country templates]]
 
  </noinclude>
 
  </noinclude>

Latest revision as of 19:50, 1 September 2020

Template documentation[view] [edit] [history] [purge]

Usage

Generate a country from a demonym parameter, eg:

{{GetCountryNameFromAdjective|Beninese}} → Benin
{{GetCountryNameFromAdjective|French}} → France

See also