MediaWiki:Common.js

/* Any JavaScript here will be loaded for all users on every page load. */

$(function {   //Step 1: Zest of EXP increments    var standardinc = 4;    var genreinc = 1;    var NPCinc = 5;

//Step 2: Juice of dates var today = new Date; var months = ((today.getFullYear - 2016) * 12) + 7 + (today.getMonth + 1); //Logic of var months: All the whole years starting from 2016, plus the 7 months of 2015 that were in-chron, plus all the months this year

//Step 3: Mix with ice in cocktail shaker var standardtotal = standardinc * months; var genretotal = genreinc * months; var NPCtotal = 100 + (NPCinc * months);

//Step 4: Serve in martini glasses $('#EXP-block-standard').html(""+standardtotal+" EXP"); $('#EXP-block-genre').html(""+genretotal+" EXP"); $('#EXP-block-NPC').html(""+NPCtotal+" EXP"); });

$(function {   $('very-literal-link-call').each(function { var link = $(this).attr('title'); $(this).before(''); $(this).after(''); }); });