Module:CharacterInfoboxOrigins

-- Put EVERY case where you want to categorize based on a word or phrase here. If they're not specifically here, they won't be categorized, especially if part of the word(s) is in the exceptions area. -- Be sure to escape every alpha-numeric character with % -- Some keywords are not to be used, because they can cover multiple meaning or subcategories. For example, the word Skrull is replaced by Prime Skrull, Eternal Skrull and mainly Deviant Skrulls. Deviant (for Earth-born Deviants) is replaced by Homo descendus, etc. -- Syntax: ["find this word or phrase in the field"] = {"Category1", "Category2", "Category3" ... }

local valid = { ["%[%[centaurian"] = {"Centaurians"}, ["%[%[inhuman%]%]"] = {"Origin Needing Correction (Inhumans)"}, ["%[%[mutant%]%]"] = {"Origin Needing Correction (Mutants)"}, ["%[%[skrull%]%]"] = {"Origin Needing Correction (Skrulls)"}, ["%[%[skrulls%]%]"] = {"Origin Needing Correction (Skrulls)"}, ["%[%[skrulls%|%]%]"] = {"Origin Needing Correction (Skrulls)"}, ["%[%[taurian"] = {"Taurians"}, ["alien"] = {"Aliens"}, ["alien mutant"] = {"Alien Mutants"}, ["alpha centurian"] = {"Alpha Centaurians"}, ["alpha primitive"] = {"Alpha Primitives"}, ["amphogenesis"] = {"Amphogenesis", "Mutates"}, ["antigenesis"] = {"Antigenesis", "Mutates"}, ["ape"] = {"Apes"}, ["ape mutant"] = {"Simian Mutants"}, ["aqueos"] = {"Aqueos", "Vampires", "Undead"}, ["armechadon"] = {"Deviants of Armechadon"}, ["asgardian %(earth%-9997%)"] = {"Asgardians (Earth-9997)"}, ["bacteria"] = {"Bacteria"}, ["badoon"] = {"Badoon"}, ["beginagains%, chosen and rejects"] = {"Beginagains/Chosen/Rejects"}, ["bird%-people"] = {"Inhumans (Inhomo supremis)", "Bird-People"}, ["brood"] = {"Brood"}, ["chameloid"] = {"Chameloids"}, ["chitauri"] = {"Chitauri"}, ["clone"] = {"Clones"}, ["cosmic being"] = {"Cosmic Beings"}, ["cosmic entity"] = {"Cosmic Beings"}, ["cosmic ray"] = {"Cosmic Ray Exposure"}, ["cybernetic"] = {"Cyborgs"}, ["cyborg"] = {"Cyborgs"}, ["demon"] = {"Demons"}, ["deity"] = {"Deities"}, ["deviant %(artificial eternal%)"] = {"Deviants (Artificial Eternals)", "Mutates"}, ["deviant mutates %(deviants experiments"] = {"Deviant Mutates (Deviants Experiments)"}, ["deviant mutates %(monstrous"] = {"Deviant Mutates (Monstrous Deviants)", "Deviants (Homo descendus)"}, ["deviant skrull"] = {"Deviant Skrulls"}, ["deviant syndrome"] = {"Mutant Eternals (Deviant Syndrome)"}, ["deviants %(race"] = {"Origin Needing Correction"}, ["dire wraith"] = {"Dire Wraiths"},  ["doppelganger"] = {"Doppelgangers"},  ["eternal %(earth%-30826%)"] = {"Eternals (Aliens)"},  ["eternal ape"] = {"Eternal Apes"},  ["eternal of earth"] = {"Eternals of Earth", "Eternals (Homo immortalis)"},  ["eternal of unknown species"] = {"Eternals of Unknown Species"},  ["eternals %(race%)"] = {"Origin Needing Correction (Eternals)"},  ["exogenesis"] = {"Exogenesis", "Mutates"},  ["felisian"] = {"Felisians"},  ["frost giant"] = {"Frost Giants"},  ["gamma ray"] = {"Gamma Ray Exposure"},  ["gann josin"] = {"Gann Josin"},  ["gestalt"] = {"Gestalt Characters"},  ["god"] = {"Deities"},  ["hodinn"] = {"Hodinn"},  ["hodomurian"] = {"Hodomurians"},  ["homo descendus"] = {"Deviants (Homo descendus)"},  ["homo erectus"] = {"Homo erectus"},  ["homo immortalis"] = {"Eternals (Homo immortalis)"},  ["homo merman"] = {"Homo mermanus"}, ["homo mermanus mutants"] = {"Atlantean Mutants"}, ["homo superior"] = {"Mutants (Homo superior)"}, ["homo supreme"] = {"Homo supreme"}, ["human/alien hybrid"] = {"Hybrids", "Human/Alien Hybrids"}, ["human/reptile hybrid"] = {"Hybrids", "Human/Reptile Hybrids"}, ["hybrid"] = {"Hybrids"}, ["ice giant"] = {"Ice Giants"}, ["inhuman"] = {"Inhumans"}, ["inhumans"] = {"Inhumans (Inhomo supremis)"}, ["inhumans %(race%)"] = {"Inhumans (Inhomo supremis)"}, ["inhuman badoon"] = {"Inhuman Badoon"}, ["inhuman centaurian"] = {"Inhuman Centaurians"}, ["inhuman kymellian"] = {"Inhuman Kymellians"}, ["inhomo supremis"] = {"Inhumans (Inhomo supremis)"}, ["ionic"] = {"Ionic Characters"}, ["isogenesis"] = {"Isogenesis", "Mutates"}, ["jath'che"] = {"Jath'Che"}, ["k%'aitian"] = {"K'aitians"}, ["klangian"] = {"Klangians"}, ["kree"] = {"Kree"}, ["kree sentr"] = {"Kree Sentries"}, ["krakoa"] = {"Krakoas", "Islands"}, ["krylorian"] = {"Krylorians"}, ["kt'kn"] = {"Kt'kn"}, ["korbin"] = {"Korbinites"}, ["kymelli"] = {"Kymellians"}, ["lupak"] = {"Lupak"}, ["luphomoid"] = {"Luphomoids"}, ["lem"] = {"Lem"}, ["magic user"] = {"Magicians"}, ["magician"] = {"Magicians"}, ["majesdanian"] = {"Majesdanians"}, ["mephitisoid"] = {"Mephitisoids"}, ["metahuman"] = {"Metahumans"}, ["metamutant"] = {"Metamutants", "Mutants (Homo superior)", "Metahumans"}, ["moensien"] = {"Moensiens"}, ["mountain giant"] = {"Mountain Giants"}, ["mutant brood"] = {"Mutant Brood"}, ["mutant eternal"] = {"Mutant Eternals (Deviant Syndrome)"}, ["mutant technarch"] = {"Mutant Technarchs"}, ["mutant titanian"] = {"Mutant Eternals (Deviant Syndrome)"}, ["mutate"] = {"Mutates"}, ["neanderthal"] = {"Homo neanderthalensis"}, ["neo"] = {"Neo", "Mutants (Homo superior)"}, ["phalanx"] = {"Techno-Organic Virus", "Phalanx"}, ["plasmagenian"] = {"Plasmagenians"}, ["psionic entity"] = {"Psionic Entities"}, ["psycho%-wraith"] = {"Psycho-Wraiths"}, ["rhunian"] = {"Rhunians"}, ["robot"] = {"Robots"}, ["roclite"] = {"Roclites"}, ["sentinel"] = {"Sentinels"}, ["saurid"] = {"Saurids"}, ["shi'ar"] = {"Shi'ar"}, ["solon"] = {"Solons"}, ["strontian"] = {"Strontians"}, ["skrull mutant"] = {"Skrull Mutants (K-Class Deviants)", "Deviant Skrulls"}, ["skrulls"] = {"Origin Needing Correction (Skrulls)"}, ["sorcer"] = {"Magicians"}, ["space beast"] = {"Space Beasts"}, ["storm giant"] = {"Storm Giants"}, ["super soldier"] = {"Super-Soldiers"}, ["super%-soldier"] = {"Super-Soldiers"}, ["tebbel"] = {"Deviants of Tebbel"}, ["technarch"] = {"Technarchy", "Techno-Organic Virus"}, ["terrigen"] = {"Terrigenesis", "Mutates"}, ["time traveler"] = {"Time Travelers"}, ["titanian"] = {"Titanians", "Eternals (Homo immortalis)"}, ["tribbitite"] = {"Tribbitites"}, ["undead"] = {"Undead"}, ["uni%-mind"] = {"Uni-Minds & Over-Minds", "Gestalt Characters"}, ["valkyr"] = {"Valkyries"}, ["vampire"] = {"Vampires", "Undead"}, ["vi-lock "] = {"Vi-Locks", "Techno-Organic Virus", "Metal Body", "Legacy Virus Victims"}, ["warpie"] = {"Warpies", "Mutates"}, ["wendigo"] = {"Wendigos"}, ["werewolf"] = {"Werewolves"}, ["wilameanis"] = {"Wilameanis"}, ["winged inhuman"] = {"Inhumans (Inhomo supremis)", "Bird-People"}, ["witch"] = {"Magicians"}, ["wraith inhuman"] = {"Wraith Inhumans", "Dire Wraiths"}, ["zenn-lavian"] = {"Zenn-Lavians"}, ["zombi"] = {"Zombies"}, }

-- Put all of the exceptions where you don't want a category, but part of one of the valid words might exist in your field (e.g. don't categorise as Fur if fur is in something else not specified in the valid area) -- Syntax: ["word_to_look_up"] = {"Examples where the exception is part of another categorization (for documentation, not used in code)" ... }

local exceptions = { ["centaurian"] = {"Examples where this is part of another categorization: Alpha Centaurians"}, ["neo"] = {"Neo-Mutants"}, }

local origins = { ["valid"] = valid, ["exceptions"] = exceptions }

return origins