Module:Flagg: Difference between revisions

Content deleted Content added
per edit request on talk page - add an extra "i" option to use the IOC country codes for resolving the entity string to country data, using Module:Country alias/data
add support for optional countrydata_name property in Module:Country alias/data
Line 56:
local IocCountryData = require(tostring(titleIocCountryData))
local iocCountryAlias = IocCountryData.countryAliases[country] or country
countryDataCountry = IocCountryData.countries[iocCountryAlias]["countrydata_name"] or IocCountryData.countries[iocCountryAlias]["name"]
end
local avar = args["avar"] or args["altvar"]