Difference between revisions of "Template:GetCountryNameFromAdjective"

From blackwiki
Jump to navigation Jump to search
imported>BrownHairedGirl
(remove whitespace)
imported>BrownHairedGirl
(remove Yugoslavia kludge. All relevant categories have been fixed)
 
Line 1: Line 1:
{{#ifeq:{{{1|}}}|Yugoslavian|Yugoslavia|{{#invoke: CountryAdjectiveDemonym | getCountryFromAdjective |{{{1|}}}}}}}<!--  
+
{{#invoke: CountryAdjectiveDemonym | getCountryFromAdjective |{{{1|}}}}}<!--  
 
--><noinclude><!--  
 
--><noinclude><!--  
 
-->{{Documentation}}
 
-->{{Documentation}}

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