imported>Gonnym
mNo edit summary
 
(No difference)

Latest revision as of 11:29, 3 October 2020

Template:High-use Module:Country adjective can be used to retrieve a country's name from its adjective or a country's adjective from its name. The list is based on List of adjectival and demonymic forms for countries and nations.

UsageEdit

local data = mw.loadData('Module:Country adjective')
data.getCountryFromAdj[adjective]

Function and parameter listEdit

Function Parameter Explanation
getAdjFromCountry <country name> Retrieves the country adjective from a country name.
getCountryFromAdj <country adjective> Retrieves the country name from a country adjective.