Module:CharacterInfoboxCitizenship

local valid = { ["Olympian"] = "Olympians", ["Kryptonian"] = "Kryptonians", ["Animal"] = "Animals", ["American"] = "Americans", ["Amerikan"] = "Amerikans", ["Amazon"] = "Amazons", ["Atlantean"] = "Atlanteans", ["Tynandan"] = "Tynandans", ["United Planets"] = "United Planets Citizens", ["Apokoliptian"] = "Apokoliptians", ["Asgardian"] = "Asgardians", ["Kenyan"] = "Kenyans", ["Cosmic Being"] = "Cosmic Beings", ["Abysmian"] = "Abysmians", ["Afghani"] = "Afghanians", ["African"] = "Africans", ["Argentinian"] = "Argentinians", ["Australian"] = "Australians", ["Austrian"] = "Austrians", ["Azanian"] = "Azanians", ["Bialyan"] = "Bialyans", ["Belarusian"] = "Belarusians", ["Belgian"] = "Belgians", ["Brazilian"] = "Brazilians", ["British"] = "Brits", ["Cambodian"] = "Cambodians", ["Canadian"] = "Canadians", ["Chinese"] = "Chinese", ["Congolese"] = "Congolese", ["Costa Verdean"] = "Costa Verdeans", ["Cuban"] = "Cubans", ["Czechoslovakian"] = "Czechoslovakians", ["Delvadian"] = "Delvadians", ["Dutch"] = "Dutches", ["Egyptian"] = "Egyptians", ["English"] = "English", ["Eternal"] = "Eternals", ["Ethiopian"] = "Ethiopians", ["European"] = "Europeans", ["Feitheran"] = "Feitherans", ["Finnish"] = "Fins", ["French"] = "French", ["German"] = "Germans", ["Ghudazan"] = "Ghudazans", ["Greek"] = "Greeks", ["Haitian"] = "Haitians", ["Hawaiian"] = "Hawaiians", ["Hungarian"] = "Hungarians", ["Icelandic"] = "Icelanders", ["Indian"] = "Indians", ["Indonesian"] = "Indonesians", ["Inniversian"] = "Inniversians", ["Iranian"] = "Iranians", ["Iraqi"] = "Iraqians", ["Irish"] = "Irish", ["Israeli"] = "Israelis", ["Italian"] = "Italians", ["Jamaican"] = "Jamaicans", ["Japanese"] = "Japanese", ["K'un-L'unan"] = "K'un-L'unans", ["Korean"] = "Koreans", ["Latverian"] = "Latverians", ["Lithuanian"] = "Lithuanians", ["Malaysian"] = "Malaysians", ["Markovian"] = "Markovians", ["Mbangawian"] = "Mbangawians", ["Mexican"] = "Mexicans", ["Monk"] = "Monks", ["Morlocks"] = "Morlocks", ["Moroccan"] = "Moroccans", ["Narobian"] = "Narobians", ["New Canaanite"] = "New Canaanites", ["New Zealander"] = "New Zealanders", ["North Korean"] = "North Koreans", ["Norwegian"] = "Norwegians", ["Nova Roman"] = "Nova Romans", ["Olympian"] = "Olympians", ["Palestinian"] = "Palestinians", ["Peruvian"] = "Peruvians", ["Polish"] = "Polish", ["Puerto Rican"] = "Puerto Ricans", ["Rimborian"] = "Rimborians", ["Roman"] = "Romans", ["Romanian"] = "Romanians", ["Russian"] = "Russians", ["Samoan"] = "Samoans", ["San Diabloan"] = "San Diabloans", ["Santa Priscan"] = "Santa Priscans", ["Saudi Arabian"] = "Saudi Arabians", ["Scandinavian"] = "Scandinavians", ["Scottish"] = "Scottish", ["Sligs"] = "Sligs", ["Slorenian"] = "Slorenians", ["Somalian"] = "Somalians", ["South African"] = "South Africans", ["South Korean"] = "South Koreans", ["Soviet"] = "Soviets", ["Spanish"] = "Spanish", ["Swedish"] = "Swedish", ["Swiss"] = "Swiss", ["Symkarian"] = "Symkarians", ["Syrian"] = "Syrians", ["Thai"] = "Thais", ["Tierra Verdean"] = "Tierra Verdeans", ["Trans-Sabalian"] = "Trans-Sabalians", ["Transian"] = "Transians", ["Transylvanian"] = "Transylvanians", ["Turkish"] = "Turkish", ["Ukranian"] = "Ukranians", ["United Kingdom Citizen"] = "United Kingdom Citizens", ["United Planets Citizen"] = "United Planets Citizens", ["Venegerian"] = "Venegerians", ["Venezuelan"] = "Venezuelans", ["Vietnamese"] = "Vietnamese", ["Wakandan"] = "Wakandans", ["Welsh"] = "Welsh", ["Winathian"] = "Winathians", ["Xanthuan"] = "Xanthuans", ["Yugoslavian"] = "Yugoslavians", ["Zambian"] = "Zambians", ["Zanzibari"] ="Zanzibaris"

}

local substitutes = { ["a"] = { ["america"] = "American", ["amerika"] = "Amerikan", ["amazon"] = "Amazon", ["amazonian"] = "Amazon", ["animal"] = "Animal", ["apokolips"] = "Apokoliptian", ["asia"] = "Asian", ["asian american"] = "American", ["asian-american"] = "American", ["asgard"] = "Asgardian", ["abysmia"] = "Abysmian", ["afghan"] = "Afghani", ["africa"] = "African", ["argentina"] = "Argentinian", ["austrailia"] = "Australian", ["austria"] = "Austrian", ["azania"] = "Azanian", ["amsterdam"] = "Dutch", ["atlantis"] = "Atlantean", }, ["b"] = { ["britain"] = "British", ["balkan"] = "Balkan", ["bialyan"] = "bialyan", ["belrusia"] = "Belarusian", ["belgium"] = "Belgian", ["brazil"] = "Brazilian", }, ["c"] = { ["cosmic being "] = "Cosmic Being", ["cosmic beings"] = "Cosmic Being", ["cambodia"] = "Cambodian", ["canada"] = "Canadian", ["carib"] = "Carib", ["china"] = "Chinese", ["congo"] = "Congolese", ["democratic republic of the congo"] = "Congolese", ["republic of the congo"] = "Congolese", ["costa verde"] = "Costa Verdean", ["cuba"] = "Cuban", ["czechoslovakia"] = "Czechoslovakian", }, ["d"] = { ["delvadia"] = "Delvadian", }, ["e"] = { ["egypt"] = "Egyptian", ["england"] = "English", ["eternals"] = "Eternal", ["eternal"] = "Eternal", ["europe"] = "European", ["ethopia"] = "Ethiopian", }, ["f"] = { ["feithera"] = "Feitheran", ["feitheran"] = "Feitheran", ["finland"] = "Finnish", ["france"] = "French", }, ["g"] = { ["great britain"] = "British", ["germany"] = "German", ["ghudaza"] = "Ghudazan", ["greece"] = "Greek", }, ["h"] = { ["haiti"] = "Haitian", ["hawaii"] = "Hawaiian", ["hungary"] = "Hungarian", }, ["i"] = { ["iceland"] = "Icelandic", ["india"] = "Indian", ["indonesia"] = "Indonesian", ["iran"] = "Iranian", ["iraq"] = "Iraqi", ["ireland"] = "Irish", ["israel"] = "Israeli", ["italy"] = "Italian", }, ["j"] = { ["jamacia"] = "Jamaican", ["japan"] = "Japanese", }, ["k"] = { ["korea"] = "Korean", ["krypton"] = "Kryptonian", ["kenyan"] = "Kenyan", ["kenyans"] = "Kenyan", ["kenya"] = "Kenyan", }, ["l"] = { ["lithuania"] = "Lithuanian", }, ["m"] = { ["malaysian"] = "Malaysian", ["markovia"] = "Markovian", ["markovian"] = "Markovian", ["mbanangawi"] = "Mbangawian", ["mexico"] = "Mexican", ["monk"] = "Monk", ["morocco"] = "Moroccan", }, ["n"] = { ["norweigan"] = "Norwegian", ["norwegian"] = "Norwegian", ["narobia"] = "Narobian", ["new zealand"] = "New Zealander", ["north korea"] = "North Korean", }, ["o"] = { ["olympus"] = "Olympian", ["olympia"] = "Olympian", }, ["p"] = { ["peru"] = "Peruvian", ["poland"] = "Polish", ["puerto rica"] = "Puerto Rican", }, ["q"] = { }, ["r"] = { ["rimboria"] = "Rimborian", ["rome"] = "Roman", ["russia"] = "Russian", ["romania"] = "Romanian", }, ["s"] = { ["santa prisca"] = "Santa Priscan", ["samoa"] = "Samoan", ["saudi arabia"] = "Saudi Arabian", ["scandinavia"] = "Scandinavian", ["scotland"] = "Scottish", ["slorenia"] = "Slorenian", ["somalia"] = "Somalian", ["south africa"] = "South African", ["south korea"] = "South Korean", ["soviet union"] = "Soviet", ["spain"] = "Spanish", ["sweden"] = "Swedish", ["switzerland"] = "Swiss", ["symkaria"] = "Symkarian", ["syria"] = "Syrian", }, ["t"] = { ["themyscira"] = "Amazon", ["themyscurian"] = "Amazon", ["themyscurians"] = "Amazon", ["tynanda"] = "Tynandan", ["the soviet union"] = "Soviet", ["thailand"] = "Thai", ["tierra verdean"] = "Tierra Verdean", ["trans-sabal"] = "Trans-Sabalian", ["transia"] = "Transian", ["transylvania"] = "Transylvanian", ["turkey"] = "Turkish", }, ["u"] = { ["usa"] = "American", ["us"] = "American", ["united states"] = "American", ["u.s.a."] = "American", ["united states of america"] = "American", ["united planet"] = "United Planets Citizen", ["united kingdom"] = "United Kingdom Citizen", ["ukraine"] = "Ukranian", }, ["v"] = { ["venezuela"] = "Venezuelan", ["venegaria"] = "Venegarian", ["vietnam"] = "Vietnamese", }, ["w"] = { ["wales"] = "Welsh", }, ["x"] = { ["xanthua"] = "Xanthuan", }, ["y"] = { ["yugoslavia"] = "Yugoslavian", }, ["z"] = { ["zambia"] = "Zambian", ["zanzibar"] = "Zanzibari" }

}

local output = { ["valid"] = valid, ["substitutes"] = substitutes }

return output