Difference between revisions of "Template:GetCountryNameFromAdjective"

From blackwiki
Jump to navigation Jump to search
imported>Le Deluge
(cat)
imported>Le Deluge
(Split out documentation)
Line 1: Line 1:
 
{{#ifeq:{{{1|}}}|Yugoslavian|Yugoslavia|{{#invoke: CountryAdjectiveDemonym | getCountryFromAdjective |{{{1|}}}}}}}<!--  
 
{{#ifeq:{{{1|}}}|Yugoslavian|Yugoslavia|{{#invoke: CountryAdjectiveDemonym | getCountryFromAdjective |{{{1|}}}}}}}<!--  
  --><noinclude>
+
  -->
==See also==
+
<noinclude>{{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]]
 
[[Category:Country templates]]
 
  </noinclude>
 
  </noinclude>

Revision as of 10:46, 24 August 2020

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

Usage

Generate a country from a demonym parameter, eg:

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


See also