Difference between revisions of "Module:Sandbox/Galobtter"

From blackwiki
Jump to navigation Jump to search
blackwiki>Galobtter
(copied from Template:Football_demonyms, see there for attribution; getting through making it a lua datatable)
blackwiki>Galobtter
(hmm)
Line 1: Line 1:
--[[
+
local p = {}
data = {
+
function p.main(frame)
Afghanistan = 'Afghan',
+
return string.match(frame.args[1], "\n(.-'''.-)")
Albania = 'Albanian',
+
end
Algeria = 'Algerian',
+
return p
America = 'American',
 
American_Samoa = 'American Samoan',
 
Andorra = 'Andorran',
 
Angola = 'Angolan',
 
Anguilla = 'Anguillan',
 
Antigua_and_Barbuda = 'Antiguan',
 
Argentina = 'Argentine',
 
Armenia = 'Armenian',
 
Aruba = 'Aruban',
 
Australia = 'Australian',
 
Austria = 'Austrian',
 
Azerbaijan = 'Azerbaijani',
 
Bahamas = 'Bahamamian', the_Bahamas = 'Bahamian',
 
Bahrain = 'Bahraini',
 
Bangladeshi = 'Bangladeshi',
 
Barbados = 'Barbadian',
 
Belarus = 'Belarusian',
 
Belgium = 'Belgian',
 
Belize = 'Belizean',
 
Benin = 'Beninese',
 
Bermuda = 'Bermudan',
 
Bhutan = 'Bhutanese',
 
Bolivia = 'Bolivian',
 
Bosnia = 'Bosnian',
 
Botswana = 'Motswana',
 
Brazil = 'Brazilian',
 
Britain = 'British',
 
Brunei = 'Bruneian', Brunei_Darussalam = 'Bruneian',
 
Bulgaria = 'Bulgarian',
 
Burkina Faso = 'Burkinabé',
 
Burundi = 'Burundian',
 
Cambodia = 'Cambodian',
 
Cameroon = 'Cameroonian',
 
Canada = 'Canadian',
 
Cape_Verde = 'Cape Verdean',
 
Cayman_Islands = 'Cayman Islander', the_Cayman_Islands = 'Cayman Islander',
 
Central_African_Republic = 'Central African', the_Central_African_Republic = 'Central African',
 
Chad = 'Chadian',
 
Chile = 'Chilean',
 
China = 'Chinese', China_PR = 'Chinese', PR_China = 'Chinese',
 
Colombia = 'Colombian',
 
Comoros = 'Comoran',
 
Congo = 'Congolese', the_Congo = 'Congolese', the_Republic_of_the_Congo = 'Congolese',
 
Cook_Islands = 'Cook Islander',
 
Costa_Rica = 'Costa Rican',
 
Croatia = 'Croatian',
 
Cuba = 'Cuban',
 
Cyprus = 'Cypriot',
 
Czech_Republic = 'Czech', the_Czech_Republic = 'Czech',
 
Democratic_Republic_of_the_Congo = "Congolese", the_Democratic_Republic_of_the_Congo = "Congolese" , Congo_DR = "Congolese", DR_Congo = "Congolese", DRC = 'Congolese',
 
Denmark = 'Danish',
 
Djibouti = 'Djiboutian',
 
Dominica = 'Dominican',
 
Dominican Republic , the Dominican Republic = 'Dominican',
 
East Timor , Timor-Leste = 'East Timorese',
 
Ecuador = 'Ecuadorian',
 
Egypt = 'Egyptian',
 
El_Salvador = 'Salvadoran',
 
England = 'English',
 
Equatorial Guinea = 'Equatoguinean',
 
Eritrea = 'Eritrean',
 
Estonia = 'Estonian',
 
Ethiopia = 'Ethiopian',
 
Faroe_Islands = 'Faroese',
 
Fiji = 'Fijian',
 
Finland = 'Finnish',
 
France = 'French',
 
Gabon = 'Gabonese',
 
Gambia , the Gambia = 'Gambian',
 
Georgia = 'Georgian',
 
Germany = 'German',
 
Ghana = 'Ghanaian',
 
Gibraltar = 'Gibraltarian',
 
Great_Britain = 'British',
 
Greece = 'Greek',
 
Grenada = 'Grenadian',
 
Guam = 'Guamanian',
 
Guatemala = 'Guatemalan',
 
Guinea = 'Guinean',
 
Guinea-Bissau = 'Bissau-Guinean',
 
Guyana = 'Guyanese',
 
Haiti = 'Haitian',
 
Honduras = 'Honduran',
 
Hong_Kong = 'Hong Kong',
 
Hungary = 'Hungarian',
 
Iceland = 'Icelandic',
 
India = 'Indian',
 
Indonesia = 'Indonesian',
 
Iran = 'Iranian',
 
Iraq = 'Iraqi',
 
Ireland = 'Irish', Republic_of_Ireland = 'Irish', the_Republic_of_Ireland = 'Irish',
 
Israel = 'Israeli',
 
Italy = 'Italian',
 
Ivory_Coast = 'Ivorian',
 
Jamaica = 'Jamaican',
 
Japan = 'Japanese',
 
Jordan = 'Jordanian',
 
Kazakhstan = 'Kazakhstani',
 
Kenya = 'Kenyan',
 
Kiribati = 'I-Kiribati',
 
Kosovo, Republic_of_Kosovo, the_Republic_of_Kosovo = 'Kosovar',
 
Kuwait = 'Kuwaiti',
 
Kyrgyzstan = 'Kyrgyz', Kyrgyz_Republic = 'Kyrgyz',the_Kyrgyz_Republic = 'Kyrgyz',
 
Laos = 'Lao',
 
Latvia = 'Latvian',
 
Lebanon = 'Lebanese',
 
Lesotho = 'Mosotho',
 
Liberia = 'Liberian',
 
Libya = 'Libyan',
 
Liechtenstein = 'Liechtensteiner',
 
Lithuania = 'Lithuanian',
 
Luxembourg = 'Luxembourger',
 
Macau = 'Macanese',
 
Macedonia = 'Macedonian', Republic_of_Macedonia = 'Macedonian', the_Republic_of_Macedonia = 'Macedonian',
 
Madagascar = 'Malagasy',
 
Malawi = 'Malawian',
 
Malaysia = 'Malaysian',
 
Maldives , the Maldives = 'Maldivian',
 
Mali = 'Malian',
 
Malta = 'Maltese',
 
Marshall_Islands = 'Marshallese', the_Marshall_Islands = 'Marshallese',
 
Mauritania = 'Mauritanian',
 
Mauritius = 'Mauritian',
 
Mexico = 'Mexican',
 
Micronesia = 'Micronesian', Federated_States_of_Micronesia = 'Micronesian', the_Federated_States_of_Micronesia = 'Micronesian', FSM = 'Micronesian',
 
Moldova = 'Moldovan',
 
Monaco = 'Monegasque',
 
Mongolia = 'Mongolian',
 
Montenegro = 'Montenegrin',
 
Montserrat = 'Montserratian',
 
Morocco = 'Moroccan',
 
Mozambique = 'Mozambican',
 
Myanmar = 'Myanma',
 
Namibia = 'Namibian',
 
Nauru = 'Nauruan',
 
Nepal = 'Nepalese',
 
Netherlands , the Netherlands = 'Dutch',
 
New_Caledonia = 'New Caledonian',
 
New_Zealand = 'New Zealand',
 
Nicaragua = 'Nicaraguan',
 
Niger = 'Nigerien',
 
Nigeria = 'Nigerian',
 
North_Korea = 'North Korean', DPR_Korea = 'North Korean', Korea_DPR = 'North Korean',
 
Northern_Ireland = 'Northern Irish',
 
Norway = 'Norwegian',
 
Oman = 'Omani',
 
Pakistan = 'Pakistani',
 
Palau = 'Palauan',
 
Palestine , Mandatory Palestine = 'Palestinian',
 
Panama = 'Panamanian',
 
Papua New Guinea = 'Papua New Guinean',
 
Paraguay = 'Paraguayan',
 
Peru = 'Peruvian',
 
Philippines, the_Philippines = 'Filipino',
 
Poland = 'Polish',
 
Portugal = 'Portuguese',
 
Puerto_Rico =  'Puerto Rican', Spanish_Virgin_Islands = 'Puerto Rican', the_Spanish_Virgin_Islands = 'Puerto Rican',
 
Qatar = 'Qatari',
 
Romania = 'Romanian',
 
Russia, Russian_Federation, the_Russian_Federation = 'Russian',
 
Rwanda = 'Rwandan',
 
Saint Kitts_and_Nevis = 'Saint Kitts and Nevis',
 
Saint_Lucia = 'Saint Lucian',
 
Saint_Vincent_and_the_Grenadines = '',
 
Samoa, Western_Samoa = 'Samoan',
 
San_Marino = 'Sammarinese',
 
Saudi_Arabia = 'Saudi Arabian',
 
Scotland = 'Scottish',
 
Senegal = 'Senegalese',
 
Serbia = 'Serbian',
 
Seychelles = 'Seychellois',
 
Sierra_Leone = 'Sierra Leonean',
 
Singapore = 'Singaporean',
 
Slovakia = 'Slovak',
 
Slovenia = 'Slovenian',
 
Solomon Islands , the Solomon Islands = 'Solomon Islander',
 
Somalia = 'Somali',
 
South_Africa = 'South African',
 
South_Korea , Korea Republic , the Republic of Korea = 'South Korean',
 
South Sudan = 'South Sudanese',
 
Spain = 'Spanish',
 
Sri Lanka = 'Sri Lankan',
 
Sudan = 'Sudanese',
 
Suriname = 'Surinamese',
 
Swaziland = 'Swazi',
 
Sweden = 'Swedish',
 
Switzerland = 'Swiss',
 
Syria = 'Syrian',
 
Tahiti = 'Tahitian',
 
Taiwan , the Republic of China = 'Taiwanese',
 
Tajikistan = 'Tajik',
 
Tanzania = 'Tanzanian',
 
Thailand = 'Thai',
 
Togo = 'Togolese',
 
Tonga = 'Tongan',
 
Trinidad and Tobago , Trinidad = 'Trinidadian , Tobago = 'Tobagonian',
 
Tunisia = 'Tunisian',
 
Turkey = 'Turkish',
 
Turkmenistan = 'Turkmen',
 
Turks and Caicos Islands = 'Turks and Caicos Islander',
 
Tuvalu = 'Tuvaluan',
 
Uganda = 'Ugandan',
 
Ukraine = 'Ukrainian',
 
United Arab Emirates , the United Arab Emirates , UAE , U.A.E. , the UAE , the U.A.E. = 'Emirati',
 
United Kingdom , the United Kingdom , UK , U.K. , the UK , the U.K. = 'British',
 
United States = 'American , United States of America , USA , U.S.A. , the United States , the United States of America , the USA , the U.S.A. = 'American',
 
Uruguay = 'Uruguayan',
 
Uzbekistan = 'Uzbek',
 
Vanuatu = 'Ni-Vanuatu',
 
Venezuela = 'Venezuelan',
 
Vietnam = 'Vietnamese',
 
Virgin Islands , the Virgin Islands = 'Virgin Islander',
 
British Virgin Islands , the British Virgin Islands , UK Virgin Islands , U.K. Virgin Islands = 'Virgin Islander',
 
United States Virgin Islands , the United States Virgin Islands , US Virgin Islands , the US Virgin Islands , U.S. Virgin Islands , the U.S. Virgin Islands = 'Virgin Islander',
 
Wales = 'Welsh',
 
Yemen = 'Yemeni',
 
Zambia = 'Zambian',
 
Zimbabwe = 'Zimbabwean'
 
}
 
data["People's Republic of China"], data["the People's Republic of China"]= 'Chinese', 'Chinese'
 
data['Curaçao'] data['Curaçaoan'], data['Curacao' = 'Curaçaoan', 'Curaçaoan', 'Curaçaoan'
 
data["Côte d'Ivoire"] = 'Ivorian'
 
data["Lao People's Democratic Republic"], data["the Lao People's Democratic Republic"] = 'Lao', 'Lao'
 
data["Democratic People's Republic of Korea"], data["the Democratic People's Republic of Korea"], data["People's Democratic Republic of Korea"], data["the People's Democratic Republic of Korea"] = 'North Korean', 'North Korean', 'North Korean', 'North Korean'
 
data['São_Tomé_and_Príncipe'] = 'São Toméan'
 
]]--
 

Revision as of 06:44, 15 April 2018

local p = {}
function p.main(frame)
	return string.match(frame.args[1], "\n(.-'''.-)")
end
return p