MediaWiki:CustomBackgrounds.js

/* * CustomBackgrounds * @description Applies custom background images for set articles. * Not compatible with FandomDesktop. * @author Thundermaker300 */

$(function {   if(mw.config.get('skin') !== 'oasis') return;    var pageName = mw.config.get("wgTitle");    if(pages[pageName]) {        mw.util.addCSS('body.background-dynamic.skin-oasis::after, body.background-dynamic.skin-oasis::before {background-image: none;}');        document.body.style.backgroundImage = "url(\"" + pages[pageName] + "\")";        document.body.style.backgroundSize = "cover";        document.body.style.backgroundPosition = "center";    } });

const pages = { // Individual pages "Egg Hunt 2020: Agents of E.G.G.": "https://vignette.wikia.nocookie.net/roblox/images/4/4f/Space.jpg/revision/latest", "Nimblz": "https://vignette.wikia.nocookie.net/roblox/images/8/8c/NimblzBG.png/revision/latest", "Roblox Developers Conference 2020": "https://vignette.wikia.nocookie.net/roblox/images/c/cb/RDC2020Background.png/revision/latest",

// Wonder Woman "Wonder Woman: The Themyscira Experience": "https://vignette.wikia.nocookie.net/roblox/images/3/30/WonderwomanBG.png/revision/latest", "WorkingGameDC": "https://vignette.wikia.nocookie.net/roblox/images/3/30/WonderwomanBG.png/revision/latest", "TheWorldofDC": "https://vignette.wikia.nocookie.net/roblox/images/3/30/WonderwomanBG.png/revision/latest", // Prizes "Wonder Woman Shorts - Wonder Woman": "https://vignette.wikia.nocookie.net/roblox/images/3/30/WonderwomanBG.png/revision/latest", "Wonder Woman's Cloak - Wonder Woman": "https://vignette.wikia.nocookie.net/roblox/images/3/30/WonderwomanBG.png/revision/latest", "Golden Axe - Wonder Woman": "https://vignette.wikia.nocookie.net/roblox/images/3/30/WonderwomanBG.png/revision/latest", "Wonder Woman's Shield - Wonder Woman": "https://vignette.wikia.nocookie.net/roblox/images/3/30/WonderwomanBG.png/revision/latest", "Wonder Woman's Tiara and Hair - Wonder Woman": "https://vignette.wikia.nocookie.net/roblox/images/3/30/WonderwomanBG.png/revision/latest", "Wonder Woman's Hair - Wonder Woman": "https://vignette.wikia.nocookie.net/roblox/images/3/30/WonderwomanBG.png/revision/latest", "Lasso of Truth - Wonder Woman": "https://vignette.wikia.nocookie.net/roblox/images/3/30/WonderwomanBG.png/revision/latest", "Wonder Woman's Silver Armor - Wonder Woman": "https://vignette.wikia.nocookie.net/roblox/images/3/30/WonderwomanBG.png/revision/latest", "Wonder Woman's Classic Armor - Wonder Woman": "https://vignette.wikia.nocookie.net/roblox/images/3/30/WonderwomanBG.png/revision/latest", "Royal Tiara - Wonder Woman": "https://vignette.wikia.nocookie.net/roblox/images/3/30/WonderwomanBG.png/revision/latest", "Bracelets of Victory": "https://vignette.wikia.nocookie.net/roblox/images/3/30/WonderwomanBG.png/revision/latest", "Diana's Ponytail - Wonder Woman": "https://vignette.wikia.nocookie.net/roblox/images/3/30/WonderwomanBG.png/revision/latest", "Sword of Hephaestus": "https://vignette.wikia.nocookie.net/roblox/images/3/30/WonderwomanBG.png/revision/latest", "Themysciran Armor - Wonder Woman": "https://vignette.wikia.nocookie.net/roblox/images/3/30/WonderwomanBG.png/revision/latest", "Wonder Woman's Armor - Wonder Woman": "https://vignette.wikia.nocookie.net/roblox/images/3/30/WonderwomanBG.png/revision/latest", "Wonder Woman's Armored Skirt": "https://vignette.wikia.nocookie.net/roblox/images/3/30/WonderwomanBG.png/revision/latest", "Wonder Woman's Sword & Shield - Wonder Woman": "https://vignette.wikia.nocookie.net/roblox/images/3/30/WonderwomanBG.png/revision/latest",

// The Island of Move "Build It, Play It: The Island of Move": "https://vignette.wikia.nocookie.net/roblox/images/9/95/BuildItPlayItBG.jpg/revision/latest", "Roblox Build It, Play It": "https://vignette.wikia.nocookie.net/roblox/images/9/95/BuildItPlayItBG.jpg/revision/latest", "Roblox Build It, Play It/Island of Move": "https://vignette.wikia.nocookie.net/roblox/images/9/95/BuildItPlayItBG.jpg/revision/latest", // Prizes "Build It Backpack": "https://vignette.wikia.nocookie.net/roblox/images/9/95/BuildItPlayItBG.jpg/revision/latest", "Hustle Hat": "https://vignette.wikia.nocookie.net/roblox/images/9/95/BuildItPlayItBG.jpg/revision/latest", "Speedy Shades": "https://vignette.wikia.nocookie.net/roblox/images/9/95/BuildItPlayItBG.jpg/revision/latest", "Cardio Cans": "https://vignette.wikia.nocookie.net/roblox/images/9/95/BuildItPlayItBG.jpg/revision/latest", "Kinetic Staff": "https://vignette.wikia.nocookie.net/roblox/images/9/95/BuildItPlayItBG.jpg/revision/latest",

// Metaverse Champions "Metaverse Champions": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", "Metaverse Events": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", "Metaverse Events/Metaverse Champions Hub": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", // Bundles "Sparks Kilowatt": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", "Sparks Kilowatt - Hair": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", "Sparks Kilowatt - Glasses": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", "AJ Striker": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", "AJ Striker - Hair": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", "Fey Yoshida": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", "Fey Yoshida - Hair": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", "Fey Yoshida - Hat": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", "Fey Yoshida - Headset": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", "Wren Brightblade": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", "Wren Brightblade - Hair": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", // Clothing "Sparks Kilowatt's Shirt": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", "Sparks Kilowatt's Pants": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", "AJ Striker's Shirt": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", "AJ Striker's Pants": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", "Fey Yoshida's Shirt": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", "Fey Yoshida's Pants": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", "Wren Brightblade's Shirt": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", "Wren Brightblade's Pants": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", // Unopened Prizes "Sparks' Secret Package 1": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", "Sparks' Secret Package 2": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", "Sparks' Secret Package 3": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", "Sparks' Secret Package 4": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", "AJ's Crate Drop 1": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", "AJ's Crate Drop 2": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", "AJ's Crate Drop 3": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", "AJ's Crate Drop 4": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", "Fey's Terror Case 1": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", "Fey's Terror Case 2": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", "Fey's Terror Case 3": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", "Fey's Terror Case 4": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", "Wren's Treasure Chest 1": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", "Wren's Treasure Chest 2": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", "Wren's Treasure Chest 3": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", "Wren's Treasure Chest 4": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", "Admin's Launcher Box": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", "Video Star's Launcher Box": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", "Developer's Launcher Box": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", "MVP's Launcher Box": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", // Opened Prizes "Tiny Egg of Nonexistence": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", "Sparks' Coronet": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", "AJ's Headset": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", "Fey's Diadem": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", "Wren's Crown": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", "Sparks' Wand of Wonder": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", "AJ's Blaster, the Bahemoth": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", "Fey's Siphon Sword": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", "Wren's Recurve Bow of Recreation": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", "Sparks' Dragon, O-VA9000": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", "AJ's Companion Bot": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", "Fey's Bat, Bertolf": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", "Wren's Berhdi, Lord of Alchemy": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", "Sparks and Pearls": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", "AJ's Drone Swarm": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", "Fey's Eternal Ember": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", "Wren's Winding Willow": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", "Shard of Valkyrie, the Admins": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", "Shard of Valkyrie, the Video Stars": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", "Shard of Valkyrie, the Developers": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", "Shard of Valkyrie, the MVPs": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", "Sparks' Winner Wings": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", "Valkyrie of the Metaverse": "https://static.wikia.nocookie.net/roblox/images/9/91/MVC-bg.jpg/revision/latest", // Starcourt "Stranger Things: Starcourt Mall": "https://static.wikia.nocookie.net/roblox/images/c/cb/StrangerThingBG.png/revision/latest", "Starcourt Badge (Stranger Things)": "https://static.wikia.nocookie.net/roblox/images/c/cb/StrangerThingBG.png/revision/latest", "WalkieTalkie (Stranger Things)": "https://static.wikia.nocookie.net/roblox/images/c/cb/StrangerThingBG.png/revision/latest", "Eleven's Headgear (Stranger Things)": "https://static.wikia.nocookie.net/roblox/images/c/cb/StrangerThingBG.png/revision/latest", "DustinHat": "https://static.wikia.nocookie.net/roblox/images/c/cb/StrangerThingBG.png/revision/latest", "Hawkins High Backpack (Stranger Things)": "https://static.wikia.nocookie.net/roblox/images/c/cb/StrangerThingBG.png/revision/latest", "Steve’s Scoops Ahoy Costume (Stranger Things)": "https://static.wikia.nocookie.net/roblox/images/c/cb/StrangerThingBG.png/revision/latest", "Robin’s Scoops Ahoy Costume (Stranger Things)": "https://static.wikia.nocookie.net/roblox/images/c/cb/StrangerThingBG.png/revision/latest", "Eleven’s “Starcourt Splatter” Costume (Stranger Things)": "https://static.wikia.nocookie.net/roblox/images/c/cb/StrangerThingBG.png/revision/latest", "Will the Wise Costume (Stranger Things)": "https://static.wikia.nocookie.net/roblox/images/c/cb/StrangerThingBG.png/revision/latest", "Demogorgon Costume (Stranger Things)": "https://static.wikia.nocookie.net/roblox/images/c/cb/StrangerThingBG.png/revision/latest", "Hazmat Suit (Stranger Things)": "https://static.wikia.nocookie.net/roblox/images/c/cb/StrangerThingBG.png/revision/latest", };