MediaWiki:Nimbus.js: Difference between revisions

From Halopedia, the Halo wiki

No edit summary
m (Week is over. This was fun!)
Tag: Manual revert
 
(9 intermediate revisions by 2 users not shown)
Line 5: Line 5:
var logos = [
var logos = [


/* Halo Infinite */
'7/71/HP-LogoJohnHINF2.png',
'd/d2/Halopedia_Logo_HI-John117_%28Pre-release%29.png', 'c/c3/Halopedia_Logo_HI-Brohammer_%28Pre-release%29.png',
'8/8e/HP-LogoJohnHINFTease.png',
 
'6/6a/HP-LogoJohnH5.png',
/* Halo 5: Guardians */
'a/a0/HP-LogoJohnHCE.png',
'0/02/Logo_John.png', '6/6a/Logo_Fred.png', 'd/d8/Logo_Kelly.png', '4/47/Logo_Linda.png', 'b/bd/Logo_Locke.png', 'c/ce/Logo_Buck.png', 'f/f4/Logo_Tanaka.png', 'b/bb/Logo_Vale.png', 'c/c0/Halopedia_Logo_Palmer.png', '9/99/Halopedia_Logo_Roland.png',
'b/b3/HP-LogoJohnH3.png',
 
'c/c9/HP-LogoJohnH2A.png',
/* Halo 3 */
'2/23/HP-LogoFredGEN2.png',
'5/52/Halopedia_Logo_Chief_MarkVI.png', 'b/bd/Halopedia-Logo-Spark.png', '4/4d/Halopedia-Logo-Thel.png', 'b/bb/Halopedia_Logo_Miranda.png', 'a/a1/Halopedia_Logo_H3-Stacker.png',
'f/f5/HP-LogoKellyGEN2.png',
 
'0/06/HP-LogoLindaGEN2.png',
/* Halo 3: ODST */
'b/b0/HP-LogoLocke.png',
'9/93/Halopedia_Logo_Quick.png', '6/6b/Halopedia_Logo_Dare.png', '7/76/Halopedia_Logo_Dutch.png', '2/27/Halopedia_Logo_Mickey.png', '8/8b/Halopedia_Logo_Romeo.png', '7/7a/Halopedia_Logo_Rookie.png', 'd/d1/Halopedia_Logo_H3ODST-Johnson.png', 'e/e6/Halopedia_Logo_SpartanGretchen.png', '6/67/Halopedia_Logo_SpartanRomeo.png', '5/54/Halopedia_Logo_SpartanMickey.png', 'd/df/Halopedia_Logo_SpartanDutch.png',
'a/a3/HP-LogoBuckGEN2.png',
 
'd/dd/HP-LogoTanaka.png',
/* Halo: Reach */
'2/26/HP-LogoVale.png',
'd/db/Halopedia_Logo_IH_Six.png', '0/07/Halopedia_Logo_IH_Carter.png', '2/2c/Halopedia_Logo_IH_Kat.png', 'b/b5/Halopedia_Logo_IH_Jun.png', 'e/e9/Halopedia_Logo_IH_Jorge.png', '2/26/Halopedia_Logo_IH_Emile.png', 'c/ca/Halopedia_Logo_IH_Rosenda.png',
'3/33/HP-LogoPalmer.png',
 
'2/2c/HP-LogoRoland.png',
/* Halo Wars series */
'e/ee/HP-LogoJohnsonHW2.png',
'a/a2/Halopedia-Logo-Jerome.png', '5/5f/Halopedia-Logo-Johnson.png', 'c/ce/Halopedia-Logo-Anders.png', '5/5f/Halopedia-Logo-Atriox.png', '4/40/Halopedia-Logo-Cutter.png', '3/39/Halopedia-Logo-Forge.png', '3/33/Halopedia_Logo_Serina.png', '0/0d/Halopedia_Logo_Ripa.png', '4/46/Halopedia_Logo_Isabel.png', 'a/ad/Halopedia_Logo_HW2-Yapyap.png',
'7/74/HP-LogoJohnsonH3ODST.png',
 
'3/30/HP-LogoJohnsonHCH.png',
/* Pre-Xbox Halo */
'a/ae/HP-LogoJerome.png',
'1/1e/Halopedia_Logo_PreXbox-Chief.png',
'4/4d/HP-LogoAnders.png',
 
'c/cd/HP-LogoAtriox.png',
/* Books */
'4/41/HP-LogoCutter.png',
'3/3c/Halopedia-Logo-Veta.png', '5/5b/Halopedia-Logo-Tem.png', '2/26/Halopedia-Logo-Olivia.png', '7/77/Halopedia_Logo_GrayTeam.png', 'e/eb/Halopedia_Logo_Jul.png', '5/5a/Halopedia_Logo_Keyes.png', '9/9a/Halopedia_Logo_GoO-SPI.png', 'f/f1/Halopedia_Logo_GoO-MarkV.png', '6/6b/Halopedia_Logo_GoO-MarkVI.png', 'e/eb/Halopedia_Logo_Rion.png', 'c/cf/Halopedia_Logo_CH-Johnson.png', '2/20/Halopedia_Logo_Lucy.png', '2/2b/Halopedia_Logo_Castor.png',
'a/a8/HP-LogoForge.png',
 
'2/2c/HP-LogoSerina.png',
/* Mixed media */
'7/75/HP-LogoRipa.png',
'e/e3/Halopedia_Logo_Chief_MarkV.png', 'a/a8/Halopedia-Logo-Lasky.png', '8/87/Halopedia-Logo-Halsey.png', '3/32/Halopedia-Logo-Rtas.png', 'a/a3/Halopedia_Logo_Hood.png', 'e/eb/Halopedia_Logo_Mendez.png', '0/00/Halopedia_Logo_Cortana.png',
'4/4a/HP-LogoIsabel.png',
'0/0a/Halopedia_Logo_Faber.png', '0/0c/Halopedia_Logo_Didact.png', '4/45/Halopedia_Logo_Librarian.png', '9/91/Halopedia_Logo_MendicantBias.png', '2/2f/Halopedia_Logo_H2A-John117.png', 'c/cc/Halopedia_Logo_UssaXellus.png', '5/5a/HP-logoArby.png', '2/26/HP-logoChant.png', '3/37/HP-logoChakas.png',
'0/00/HP-LogoYapyap.png',
'2/26/HP-LogoGoOMarkVI.png',
'3/3d/HP-LogoThelH3.png',
'9/9a/HP-LogoSparkH3.png',
'9/91/HP-LogoMirandaEnc22.png',
'0/0e/HP-LogoQuick.png',
'4/48/HP-LogoDare.png',
'1/1c/HP-LogoDutchH3ODST.png',
'7/77/HP-LogoMickey.png',
'3/3a/HP-LogoRomeoH3ODST.png',
'7/7f/HP-LogoRookie.png',
'e/e5/HP-LogoSix.png',
'e/ef/HP-LogoCarter.png',
'5/5d/HP-LogoKat.png',
'9/9b/HP-LogoJun.png',
'a/ad/HP-LogoJorge.png',
'c/c8/HP-LogoEmile.png',
'c/c2/HP-LogoRosenda.png',
'9/91/HP-LogoThom.png',
'0/01/HP-LogoVeta.png',
'2/2b/HP-LogoTem.png',
'b/b5/HP-LogoOlivia.png',
'd/da/HP-LogoGrayTeam.png',
'1/1f/HP-LogoLucy.png',
'3/36/HP-LogoHalsey.png',
'9/90/HP-LogoLasky.png',
'b/b6/HP-LogoRtas.png',
'8/89/HP-LogoHood.png',
'd/d4/HP-LogoJul.png',
'e/ee/HP-LogoCortana.png',
'7/74/HP-LogoJacobKeyes.png',
'9/93/HP-LogoMendez.png',
'c/c6/HP-LogoFaber.png',
'9/99/HP-LogoUrDidact.png',
'c/c0/HP-LogoLibrarian.png',
'a/ae/HP-LogoMendicant.png',
'e/ed/HP-LogoExcitedFernando.png',
'a/ad/HP-LogoStacker.png',
'c/cc/Halopedia_Logo_UssaXellus.png',
'e/e6/Halopedia_Logo_SpartanGretchen.png',
'6/67/Halopedia_Logo_SpartanRomeo.png',
'5/54/Halopedia_Logo_SpartanMickey.png',
'd/df/Halopedia_Logo_SpartanDutch.png',
'5/5a/HP-logoArby.png',
'2/26/HP-logoChant.png',
'3/37/HP-logoChakas.png',
'2/27/HP-logoNizat.png',
'd/d0/HP-logoVeta.png',
'c/c2/HP-logoHazel.png',
'2/2e/HP-logoLinda.png',
'9/9d/HP-logoKurt.png',
'f/f3/HP-LogoRionPoL.png',
'3/3a/HP-LogoFredGEN3.png',
'd/db/HP-LogoKellyGEN3.png',
'a/a2/HP-LogoSesa.png',


];
];
$('#site-logo a').css('background-image', 'url(https://halo.wiki.gallery/images/7/7e/HP-logo.png), url(https://halo.wiki.gallery/images/' + logos[Math.floor(Math.random() * logos.length)] + ')');
$('#site-logo a').css('background-image', 'url(https://halo.wiki.gallery/images/3/3c/HP-Logo2023.png), url(https://halo.wiki.gallery/images/' + logos[Math.floor(Math.random() * logos.length)] + ')');
});
});

Latest revision as of 12:23, November 11, 2024

/* Any JavaScript here will be loaded for users using the Nimbus skin */

/* Random logo */
$(function() {
var logos = [

'7/71/HP-LogoJohnHINF2.png',
'8/8e/HP-LogoJohnHINFTease.png',
'6/6a/HP-LogoJohnH5.png',
'a/a0/HP-LogoJohnHCE.png',
'b/b3/HP-LogoJohnH3.png',
'c/c9/HP-LogoJohnH2A.png',
'2/23/HP-LogoFredGEN2.png',
'f/f5/HP-LogoKellyGEN2.png',
'0/06/HP-LogoLindaGEN2.png',
'b/b0/HP-LogoLocke.png',
'a/a3/HP-LogoBuckGEN2.png',
'd/dd/HP-LogoTanaka.png',
'2/26/HP-LogoVale.png',
'3/33/HP-LogoPalmer.png',
'2/2c/HP-LogoRoland.png',
'e/ee/HP-LogoJohnsonHW2.png',
'7/74/HP-LogoJohnsonH3ODST.png',
'3/30/HP-LogoJohnsonHCH.png',
'a/ae/HP-LogoJerome.png',
'4/4d/HP-LogoAnders.png',
'c/cd/HP-LogoAtriox.png',
'4/41/HP-LogoCutter.png',
'a/a8/HP-LogoForge.png',
'2/2c/HP-LogoSerina.png',
'7/75/HP-LogoRipa.png',
'4/4a/HP-LogoIsabel.png',
'0/00/HP-LogoYapyap.png',
'2/26/HP-LogoGoOMarkVI.png',
'3/3d/HP-LogoThelH3.png',
'9/9a/HP-LogoSparkH3.png',
'9/91/HP-LogoMirandaEnc22.png',
'0/0e/HP-LogoQuick.png',
'4/48/HP-LogoDare.png',
'1/1c/HP-LogoDutchH3ODST.png',
'7/77/HP-LogoMickey.png',
'3/3a/HP-LogoRomeoH3ODST.png',
'7/7f/HP-LogoRookie.png',
'e/e5/HP-LogoSix.png',
'e/ef/HP-LogoCarter.png',
'5/5d/HP-LogoKat.png',
'9/9b/HP-LogoJun.png',
'a/ad/HP-LogoJorge.png',
'c/c8/HP-LogoEmile.png',
'c/c2/HP-LogoRosenda.png',
'9/91/HP-LogoThom.png',
'0/01/HP-LogoVeta.png',
'2/2b/HP-LogoTem.png',
'b/b5/HP-LogoOlivia.png',
'd/da/HP-LogoGrayTeam.png',
'1/1f/HP-LogoLucy.png',
'3/36/HP-LogoHalsey.png',
'9/90/HP-LogoLasky.png',
'b/b6/HP-LogoRtas.png',
'8/89/HP-LogoHood.png',
'd/d4/HP-LogoJul.png',
'e/ee/HP-LogoCortana.png',
'7/74/HP-LogoJacobKeyes.png',
'9/93/HP-LogoMendez.png',
'c/c6/HP-LogoFaber.png',
'9/99/HP-LogoUrDidact.png',
'c/c0/HP-LogoLibrarian.png',
'a/ae/HP-LogoMendicant.png',
'e/ed/HP-LogoExcitedFernando.png',
'a/ad/HP-LogoStacker.png',
'c/cc/Halopedia_Logo_UssaXellus.png',
'e/e6/Halopedia_Logo_SpartanGretchen.png',
'6/67/Halopedia_Logo_SpartanRomeo.png',
'5/54/Halopedia_Logo_SpartanMickey.png',
'd/df/Halopedia_Logo_SpartanDutch.png',
'5/5a/HP-logoArby.png',
'2/26/HP-logoChant.png',
'3/37/HP-logoChakas.png',
'2/27/HP-logoNizat.png',
'd/d0/HP-logoVeta.png',
'c/c2/HP-logoHazel.png',
'2/2e/HP-logoLinda.png',
'9/9d/HP-logoKurt.png',
'f/f3/HP-LogoRionPoL.png',
'3/3a/HP-LogoFredGEN3.png',
'd/db/HP-LogoKellyGEN3.png',
'a/a2/HP-LogoSesa.png',

];
$('#site-logo a').css('background-image', 'url(https://halo.wiki.gallery/images/3/3c/HP-Logo2023.png), url(https://halo.wiki.gallery/images/' + logos[Math.floor(Math.random() * logos.length)] + ')');
});