MediaWiki:DMsHelper3e.js

// This is the javascript to support the DM's Helper Tool for 3rd and 3.5 editon. switch (mw.config.get('wgPageName')) { case 'DM\'s_Helper_Tool_(3e)': var el = document.getElementById("ByTypeAndSubtype"); if(el) { el.innerHTML = "" + ""+ " Type* "+ " Aberration &bull;"+ " Animals &bull;"+ " Construct &bull;"+ " Dragon &bull;"+ " Elemental &bull;"+ " Fey &bull;"+ " Giant &bull;"+ " "+ " Humanoid "+ " Magical beast &bull;"+ " Monstrous humanoid &bull;"+ " Ooze &bull;"+ " Outsider &bull;"+ " Plant &bull;"+ " "+ " Undead &bull;"+ " Vermin "+ "

"+ " *For \"Beast\", select \"Animal\" or \"Magical beast\". For \"Shapechanger\", see Subtype. "+ " Subtype "+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_the_air_subtype\">Air &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Angels\">Angel  &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Aquatic_creatures\">Aquatic  &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Celestial_archons\">Archon  &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Baatezu\">Baatezu  &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_the_chaotic_subtype\">Chaotic  &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_the_cold_subtype\">Cold  &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_the_dragonblood_subtype\">Dragonblood  &bull;"+ " "+ " <input name=\"cat2\" type=\"radio\" value=\"Dwarves\">Dwarf &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_the_earth_subtype\">Earth  &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Noble_eladrin\">Eladrin  &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Elves\">Elf  &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_the_evil_subtype\">Evil  &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_the_fire_subtype\">Fire  &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Goblinoids\">Goblinoid  &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_the_good_subtype\">Good  &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Gnomes\">Gnome  &bull;"+ " "+ " <input name=\"cat2\" type=\"radio\" value=\"Gnolls\">Gnoll &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Halflings\">Halfling  &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Humans\">Human  &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_the_incorporeal_subtype\">Incorporeal  &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_the_lawful_subtype\">Lawful  &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Living constructs\">Living construct  &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Native outsiders\">Native  &bull;"+ " "+ " <input name=\"cat2\" type=\"radio\" value=\"Orcs\">Orc &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Psionic_creatures\">Psionic  &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Reptilian_humanoids\">Reptilian  &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Shapechangers\">Shapechanger  &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Spirit_folk\">Spirit  &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Tanar'ri\">Tanar'ri  &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_the_water_subtype\">Water "+ "

"+ "<input type=\"hidden\" name=\"action\" value=\"purge\">"+ "<input type=\"submit\" size=\"20\" value=\"Find monsters\">"+ " ";       }        el = document.getElementById("ByTypeAndCR");        if(el) { el.innerHTML = "" + "<form action=\"http://forgottenrealms.wikia.com/wiki/Template%3ACategory_intersection\" method=\"get\" target=\"_blank\">"+ " Type* "+ " <input name=\"cat1\" type=\"radio\" value=\"Aberrations_(3e)\">Aberration  &bull;"+ " <input name=\"cat1\" type=\"radio\" value=\"Animals_(3e)\">Animals  &bull;"+ " <input name=\"cat1\" type=\"radio\" value=\"Constructs_(3e)\">Construct  &bull;"+ " <input name=\"cat1\" type=\"radio\" value=\"Dragons_(3e)\">Dragon  &bull;"+ " <input name=\"cat1\" type=\"radio\" value=\"Elementals_(3e)\">Elemental  &bull;"+ " <input name=\"cat1\" type=\"radio\" value=\"Fey_(3e)\">Fey  &bull;"+ " <input name=\"cat1\" type=\"radio\" value=\"Giants_(3e)\">Giant  &bull;"+ " "+ " <input name=\"cat1\" type=\"radio\" value=\"Humanoids_(3e)\">Humanoid "+ " <input name=\"cat1\" type=\"radio\" value=\"Magical beasts_(3e)\">Magical beast &bull;"+ " <input name=\"cat1\" type=\"radio\" value=\"Monstrous_humanoids_(3e)\">Monstrous humanoid &bull;"+ " <input name=\"cat1\" type=\"radio\" value=\"Oozes_(3e)\">Ooze &bull;"+ " <input name=\"cat1\" type=\"radio\" value=\"Outsiders_(3e)\">Outsider &bull;"+ " <input name=\"cat1\" type=\"radio\" value=\"Plant_creatures_(3e)\">Plant &bull;"+ " "+ " <input name=\"cat1\" type=\"radio\" value=\"Undead_(3e)\">Undead &bull;"+ " <input name=\"cat1\" type=\"radio\" value=\"Vermin_(3e)\">Vermin "+ "

"+ " *For \"Beast\", select \"Animal\" or \"Magical beast\". For \"Shapechanger\", see Subtype. "+ " Challenge Rating** "+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_a_challenge_rating_less_than_1_(3e)\">Less than 1 "+ " "+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_a_1_challenge_rating_(3e)\">1 &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_a_2_challenge_rating_(3e)\">2  &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_a_3_challenge_rating_(3e)\">3  &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_a_4_challenge_rating_(3e)\">4  &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_a_5_challenge_rating_(3e)\">5  &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_a_6_challenge_rating_(3e)\">6  &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_a_7_challenge_rating_(3e)\">7  &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_an_8_challenge_rating_(3e)\">8  &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_a_9_challenge_rating_(3e)\">9  &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_a_10_challenge_rating_(3e)\">10 "+ " "+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_an_11_challenge_rating_(3e)\">11 &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_a_12_challenge_rating_(3e)\">12 &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_a_13_challenge_rating_(3e)\">13 &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_a_14_challenge_rating_(3e)\">14 &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_a_15_challenge_rating_(3e)\">15 &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_a_16_challenge_rating_(3e)\">16 &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_a_17_challenge_rating_(3e)\">17 &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_an_18_challenge_rating_(3e)\">18 &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_a_19_challenge_rating_(3e)\">19 &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_a_20_challenge_rating_(3e)\">20 "+ " "+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_a_21_challenge_rating_(3e)\">21 &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_a_22_challenge_rating_(3e)\">22 &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_a_23_challenge_rating_(3e)\">23 &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_a_24_challenge_rating_(3e)\">24 &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_a_25_challenge_rating_(3e)\">25 &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_a_26_challenge_rating_(3e)\">26 &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_a_27_challenge_rating_(3e)\">27 &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_a_28_challenge_rating_(3e)\">28 &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_a_29_challenge_rating_(3e)\">29 &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_a_30_challenge_rating_(3e)\">30 "+ "

"+ " **Note that challenge ratings may not be specific to 3e and may also depend on other factors, such as size or gear. See the individual entries for details. "+ "

"+ "<input type=\"hidden\" name=\"action\" value=\"purge\">"+ "<input type=\"submit\" size=\"20\" value=\"Find monsters\">"+ " ";       }        el = document.getElementById("BySubtypeAndCR");        if(el) { el.innerHTML = "" + "<form action=\"http://forgottenrealms.wikia.com/wiki/Template%3ACategory_intersection\" method=\"get\" target=\"_blank\">"+ " Subtype "+ " <input name=\"cat1\" type=\"radio\" value=\"Creatures_with_the_air_subtype\">Air  &bull;"+ " <input name=\"cat1\" type=\"radio\" value=\"Angels\">Angel  &bull;"+ " <input name=\"cat1\" type=\"radio\" value=\"Aquatic_creatures\">Aquatic  &bull;"+ " <input name=\"cat1\" type=\"radio\" value=\"Celestial_archons\">Archon  &bull;"+ " <input name=\"cat1\" type=\"radio\" value=\"Baatezu\">Baatezu  &bull;"+ " <input name=\"cat1\" type=\"radio\" value=\"Creatures_with_the_chaotic_subtype\">Chaotic  &bull;"+ " <input name=\"cat1\" type=\"radio\" value=\"Creatures_with_the_cold_subtype\">Cold  &bull;"+ " <input name=\"cat1\" type=\"radio\" value=\"Creatures_with_the_dragonblood_subtype\">Dragonblood &bull;"+ " "+ " <input name=\"cat1\" type=\"radio\" value=\"Dwarves\">Dwarf &bull;"+ " <input name=\"cat1\" type=\"radio\" value=\"Creatures_with_the_earth_subtype\">Earth &bull;"+ " <input name=\"cat1\" type=\"radio\" value=\"Noble_eladrin\">Eladrin &bull;"+ " <input name=\"cat1\" type=\"radio\" value=\"Elves\">Elf &bull;"+ " <input name=\"cat1\" type=\"radio\" value=\"Creatures_with_the_evil_subtype\">Evil &bull;"+ " <input name=\"cat1\" type=\"radio\" value=\"Creatures_with_the_fire_subtype\">Fire &bull;"+ " <input name=\"cat1\" type=\"radio\" value=\"Goblinoids\">Goblinoid &bull;"+ " <input name=\"cat1\" type=\"radio\" value=\"Creatures_with_the_good_subtype\">Good &bull;"+ " <input name=\"cat1\" type=\"radio\" value=\"Gnomes\">Gnome &bull;"+ " "+ " <input name=\"cat1\" type=\"radio\" value=\"Gnolls\">Gnoll &bull;"+ " <input name=\"cat1\" type=\"radio\" value=\"Halflings\">Halfling &bull;"+ " <input name=\"cat1\" type=\"radio\" value=\"Humans\">Human &bull;"+ " <input name=\"cat1\" type=\"radio\" value=\"Creatures_with_the_incorporeal_subtype\">Incorporeal &bull;"+ " <input name=\"cat1\" type=\"radio\" value=\"Creatures_with_the_lawful_subtype\">Lawful &bull;"+ " <input name=\"cat1\" type=\"radio\" value=\"Living constructs\">Living construct &bull;"+ " <input name=\"cat1\" type=\"radio\" value=\"Native outsiders\">Native &bull;"+ " "+ " <input name=\"cat1\" type=\"radio\" value=\"Orcs\">Orc &bull;"+ " <input name=\"cat1\" type=\"radio\" value=\"Psionic_creatures\">Psionic &bull;"+ " <input name=\"cat1\" type=\"radio\" value=\"Reptilian_humanoids\">Reptilian &bull;"+ " <input name=\"cat1\" type=\"radio\" value=\"Shapechangers\">Shapechanger &bull;"+ " <input name=\"cat1\" type=\"radio\" value=\"Spirit_folk\">Spirit &bull;"+ " <input name=\"cat1\" type=\"radio\" value=\"Tanar'ri\">Tanar'ri &bull;"+ " <input name=\"cat1\" type=\"radio\" value=\"Creatures_with_the_water_subtype\">Water "+ " Challenge Rating* "+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_a_challenge_rating_less_than_1_(3e)\">Less than 1 "+ " "+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_a_1_challenge_rating_(3e)\">1 &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_a_2_challenge_rating_(3e)\">2 &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_a_3_challenge_rating_(3e)\">3 &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_a_4_challenge_rating_(3e)\">4 &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_a_5_challenge_rating_(3e)\">5 &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_a_6_challenge_rating_(3e)\">6 &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_a_7_challenge_rating_(3e)\">7 &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_an_8_challenge_rating_(3e)\">8 &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_a_9_challenge_rating_(3e)\">9 &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_a_10_challenge_rating_(3e)\">10 "+ " "+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_an_11_challenge_rating_(3e)\">11 &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_a_12_challenge_rating_(3e)\">12 &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_a_13_challenge_rating_(3e)\">13 &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_a_14_challenge_rating_(3e)\">14 &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_a_15_challenge_rating_(3e)\">15 &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_a_16_challenge_rating_(3e)\">16 &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_a_17_challenge_rating_(3e)\">17 &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_an_18_challenge_rating_(3e)\">18 &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_a_19_challenge_rating_(3e)\">19 &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_a_20_challenge_rating_(3e)\">20 "+ " "+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_a_21_challenge_rating_(3e)\">21 &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_a_22_challenge_rating_(3e)\">22 &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_a_23_challenge_rating_(3e)\">23 &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_a_24_challenge_rating_(3e)\">24 &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_a_25_challenge_rating_(3e)\">25 &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_a_26_challenge_rating_(3e)\">26 &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_a_27_challenge_rating_(3e)\">27 &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_a_28_challenge_rating_(3e)\">28 &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_a_29_challenge_rating_(3e)\">29 &bull;"+ " <input name=\"cat2\" type=\"radio\" value=\"Creatures_with_a_30_challenge_rating_(3e)\">30 "+ "

"+ " *Note that challenge ratings may not be specific to 3e and may also depend on other factors, such as size or gear. See the individual entries for details. "+ "

"+ "<input type=\"hidden\" name=\"action\" value=\"purge\">"+ "<input type=\"submit\" size=\"20\" value=\"Find monsters\">"+ " ";       }        break; }