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%]%]"] = {"Inhumans (Inhomo supremis)"}, ["%[%[skrull%]%]"] = {"Origin Needing Correction (Skrulls)"}, ["%[%[skrulls%]%]"] = {"Origin Needing Correction (Skrulls)"}, ["%[%[skrulls%|%]%]"] = {"Origin Needing Correction (Skrulls)"}, ["%[%[taurian"] = {"Taurians"}, ["13s mutants"] = {"13s Mutants"}, ["aesir"] = {"Aesir", "Deities"}, ["alien"] = {"Aliens"}, ["alien mutant"] = {"Alien Mutants"}, ["alpha centurian"] = {"Alpha Centaurians"}, ["alpha primitive"] = {"Alpha Primitives"}, ["amphogenesis"] = {"Amphogenesis", "Mutates"}, ["angels %(tenth"] = {"Angels (Tenth Realm)"}, ["antigenesis"] = {"Antigenesis", "Mutates"},  ["ape"] = {"Apes"},  ["ape mutant"] = {"Simian Mutants"},  ["aqueos"] = {"Aqueos", "Vampires", "Undead"},  ["arcturan"] = {"Arcturans"},  ["arcturan mutant"] = {"Arcturan Mutants"},  ["armechadon"] = {"Deviants of Armechadon"},  ["asgardian %(earth%-9997%)"] = {"Asgardians (Earth-9997)"},  ["bacteria"] = {"Bacteria"},  ["badoon"] = {"Badoon"},  ["beasts %(earth%-trn243"] = {"Beasts (Mutants)"}, ["beginagains%, chosen and rejects"] = {"Beginagains/Chosen/Rejects"}, ["beyonder"] = {"Beyonders"}, ["bird%-people"] = {"Inhumans (Inhomo supremis)", "Bird-People"}, ["bright elf"] = {"Light Elves"}, ["brood"] = {"Brood"}, ["cat elf"] = {"Cat Elves"}, ["cat elves"] = {"Cat Elves"}, ["chameloid"] = {"Chameloids"}, ["chitauri"] = {"Chitauri"}, ["clone"] = {"Clones"}, ["cosmic being"] = {"Cosmic Beings"}, ["cosmic entity"] = {"Cosmic Beings"}, ["cosmic ray"] = {"Cosmic Ray Exposure"}, ["cybernetic"] = {"Cyborgs"}, ["cyborg"] = {"Cyborgs"}, ["dark elf"] = {"Dark Elves"}, ["dark elves"] = {"Dark Elves"}, ["deathlok%-class unit"] = {"Deathlok-Class Units"}, ["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"}, ["devil beast"] = {"Devil Beasts"},  ["dievas"] = {"Dievas", "Deities"},  ["dinosaur"] = {"Dinosaurs"},  ["dire wraith"] = {"Dire Wraiths"},  ["doppelganger"] = {"Doppelgangers"},  ["dwarf"] = {"Dwarves"},  ["epsiloni"] = {"Epsiloni"},  ["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"},  ["genoshan mutate"] = {"Genoshan Mutates"},  ["gestalt"] = {"Gestalt Characters"},  ["giant of jotunheim"] = {"Giants of Jotunheim"}, ["giants of jotunheim"] = {"Giants of Jotunheim"}, ["god"] = {"Deities"}, ["gorgon"] = {"Gorgons"}, ["hauk%'ka"] = {"Hauk'ka"}, ["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 elf"] = {"Ice Elves"}, ["ice elves"] = {"Ice Elves"}, ["ice giant"] = {"Ice Giants"}, ["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"}, ["jotun"] = {"Frost Giants"}, ["k%'aitian"] = {"K'aitians"}, ["klangian"] = {"Klangians"}, ["kree"] = {"Kree"}, ["kree sentr"] = {"Kree Sentries"}, ["krakoa"] = {"Krakoas", "Islands"}, ["krylorian"] = {"Krylorians"}, ["kt'kn"] = {"Kt'kn"}, ["korbin"] = {"Korbinites"}, ["krogarran"] = {"Krogarrans"}, ["krozzar"] = {"Krozzar"}, ["kymelli"] = {"Kymellians"}, ["lupak"] = {"Lupak"}, ["luphomoid"] = {"Luphomoids"}, ["lem"] = {"Lem"}, ["leprechaun"] = {"Leprechauns"}, ["life%-model decoy"] = {"Life-Model Decoys"}, ["light elf"] = {"Light Elves"}, ["light elves"] = {"Light Elves"}, ["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 devil beast"] = {"Mutant Devil Beasts"}, ["mutant eternal"] = {"Mutant Eternals (Deviant Syndrome)"}, ["mutant hauk%'ka"] = {"Hauk'ka Mutants"}, ["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"}, ["rigellian%]%]"] = {"Rigellians"}, ["rigellians"] = {"Origin Needing Correction (Rigellians)"}, ["rigellian mutant"] = {"Rigellian Mutants", "Rigellians"}, ["rigellian recorder"] = {"Rigellian Recorders", "Robots"}, ["rime giant"] = {"Rime Giants"}, ["robot"] = {"Robots"}, ["roclite"] = {"Roclites"}, ["ruul"] = {"Ruul", "Kree"}, ["sentinel"] = {"Sentinels"}, ["sark"] = {"Sarks"}, ["saurid"] = {"Saurids"}, ["shi'ar"] = {"Shi'ar"}, ["shi'ar genetic throwback"] = {"Shi'ar Genetic Throwbacks", "Winged Characters"}, ["siren"] = {"Sirens"}, ["siris"] = {"Siris"}, ["smoke elf"] = {"Smoke Elves"}, ["solon"] = {"Solons"}, ["stonian"] = {"Stonians"}, ["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"}, ["taa%-an"] = {"Taa-ans"}, ["tebbel"] = {"Deviants of Tebbel"}, ["technarch"] = {"Technarchy", "Techno-Organic Virus"}, ["terrigen"] = {"Terrigenesis", "Mutates"}, ["time traveler"] = {"Time Travelers"}, ["titanian"] = {"Titanians", "Eternals (Homo immortalis)"}, ["traanian"] = {"Traanians"}, ["tribbitite"] = {"Tribbitites"}, ["troyjan"] = {"Troyjans"}, ["undead"] = {"Undead"}, ["uni%-mind"] = {"Uni-Minds & Over-Minds", "Gestalt Characters"}, ["unicorn"] = {"Unicorns"}, ["valkyr"] = {"Valkyries"}, ["vampire"] = {"Vampires", "Undead"}, ["vanir"] = {"Vanir"}, ["vi%-lock "] = {"Vi-Locks", "Techno-Organic Virus", "Metal Body", "Legacy Virus Victims"}, ["warpie"] = {"Warpies", "Mutates"}, ["warpsmith"] = {"Warpsmiths"}, ["wendigo"] = {"Wendigos"}, ["werewolf"] = {"Werewolves"}, ["wilameanis"] = {"Wilameanis"}, ["winged inhuman"] = {"Inhumans (Inhomo supremis)", "Bird-People"}, ["witch"] = {"Magicians"}, ["wizard"] = {"Magicians"}, ["wraith inhuman"] = {"Wraith Inhumans", "Dire Wraiths"}, ["zehoberi"] = "Zen-Whoberis", ["zen whoberi"] = {"Zen-Whoberis"}, ["zen%-whoberi"] = {"Zen-Whoberis"}, ["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