User:Entropy/sandbox



The following words should be taken with a grain of salt.

Prototype for Template:Sarcasm

Ray of Judgment: For Feel the pain...Of those inferior DoTAoE...As you burn in hell seconds, holy wrath falls from the heavens at random locations in earshot. Any foes struck take (mana x 15) Holy damage.

=CSS=

/*

/*Removes the huge white space on the right, these numbers are tuned perfectly for FF at 1024x768 resolution*/

width:75%; min-width:826px; }
 * 1) content {

/*Removes the Wikia navbar*/

display:none; }
 * 1) p-wikicities-nav {

/*Removes the annoying message telling you to please put comments on the bottom when editing talk pages*/


 * 1) talkPageText { display:none; }

/*Removes Sponsors section*/


 * 1) p-seg { display:none; }

/* Sets the default monobook background. */

body { background: #f9f9f9 url(http://gw.gamewikis.org/skins/monobook/headbg.jpg) 0 0 no-repeat; }

/* Gets rid of wikia "spotlight" adds */

display:none; }
 * 1) column-google {

/* The fourth hides the wikia portlet, the stupid thing that links back to wikia. */

display:none; }
 * 1) p-wikicities-nav {

/* Removes Wikipedia Logo after interwiki links to wikipedia */ background: none; padding-right: 0px; }
 * 1) bodyContent a[href^="http://en.wikipedia.org/"] {

/* Misc fixes */
 * 1) talkPageText{ display:none; }


 * 1) undo-success{ display:none; }


 * 1) Newarticletext{ display:none; }

div#p-seg, div#bottom-ad { display:none; }



=JS= /*

// links for admins and bcrats

function addBar { document.getElementById('p-navigation').innerHTML += ' '+ ' '+  ' Command Center '+ ' '+ 'Deletion'+ 'Banning'+ 'Master Log'+ 'New Pages</li>'+ '<li id=\>New Images</a></li>'+ '<li id=\>Block User</a></li>'+ '<li id=\>Prefix Index</a></li>'+ '<li id=\>User Rights</a></li>'+ '</ul> '; }

addOnloadHook(addBar);

// add Purge

function addPurge {   var hist; var url; if (!(hist = document.getElementById('ca-history') )) return; if (!(url = hist.getElementsByTagName('a')[0] )) return; if (!(url = url.href )) return; addPortletLink('p-cactions', url.replace(/([?&]action=)history([&#]|$)/, '$1purge$2'),                  'purge', 'ca-purge', 'Purge server cache', '0'); }

addOnloadHook(addPurge);

// add Credits

function addCredits {   var hist; var url; if (!(hist = document.getElementById('ca-history') )) return; if (!(url = hist.getElementsByTagName('a')[0] )) return; if (!(url = url.href )) return; addPortletLink('p-cactions', url.replace(/([?&]action=)history([&#]|$)/, '$1credits$2'),                  'credits', 'ca-credits', 'Display article credits', '0'); } addOnloadHook(addCredits);

/**** Guild Wars Wiki Tools - GuildWiki Switch * (c) 2007 by Patrick Westerhoff [User:poke] */

function gw2wtGuildWikiSwitch {  if ( wgNamespaceNumber < 100 ) {    var itemNode = document.createElement( 'li' ); itemNode.appendChild( document.createElement( 'a' ) ); itemNode.lastChild.href = 'http://wiki.guildwars2.com/wiki/' + wgCanonicalNamespace + ':' + encodeURIComponent( wgTitle ); itemNode.lastChild.title = 'See this page on Guild Wars 2 Wiki'; itemNode.lastChild.appendChild( document.createTextNode( 'GW2W' ) ); document.getElementById( 'p-cactions' ).getElementsByTagName( 'ul' )[0].appendChild( itemNode ); } } hookEvent( 'load', gw2wtGuildWikiSwitch );

function gwwtGuildWikiSwitch {  if ( wgNamespaceNumber < 100 ) {    var itemNode = document.createElement( 'li' ); itemNode.appendChild( document.createElement( 'a' ) ); itemNode.lastChild.href = 'http://wiki.guildwars.com/wiki/' + wgCanonicalNamespace + ':' + encodeURIComponent( wgTitle ); itemNode.lastChild.title = 'See this page on Guild Wars Wiki'; itemNode.lastChild.appendChild( document.createTextNode( 'GWW' ) ); document.getElementById( 'p-cactions' ).getElementsByTagName( 'ul' )[0].appendChild( itemNode ); } } hookEvent( 'load', gwwtGuildWikiSwitch );



//an "unsigned button" for editbar, courtesy of the Doctor

mwCustomEditButtons[mwCustomEditButtons.length] = {    "imageFile": "http://images2.wikia.nocookie.net/gw/images/6/6d/Button_unsigned.png", "speedTip": "Unsigned", "tagOpen": " &mdash;The preceding unsigned comment was added by ",    "tagClose": " (contribs) . ", "sampleText": "username" }

// correct the favicon

function changeFavicon( url ) { var head  = document.getElementsByTagName( 'head' )[0]; var link = document.createElement( 'link' ); link.rel = 'shortcut icon'; link.type = "image/x-icon"; link.href = url; var links = head.getElementsByTagName( 'link' ); for ( var i = 0; i < links.length; i++ ) {   if ( links[i].rel == 'shortcut icon' ) {      head.removeChild( links[i] ); break; } }  head.appendChild( link ); }

LoadAfter = function { changeFavicon( 'http://images1.wikia.nocookie.net/gw/images/2/2c/GuildWiki_icon.ico' ); }

addOnloadHook(LoadAfter);

function pvxtGuildWikiSwitch {  if ( wgNamespaceNumber < 100 ) {    var itemNode = document.createElement( 'li' ); itemNode.appendChild( document.createElement( 'a' ) ); itemNode.lastChild.href = 'http://www.pvxwiki.com/' + wgCanonicalNamespace + ':' + encodeURIComponent( wgTitle ); itemNode.lastChild.title = 'See this page on PvX Wiki'; itemNode.lastChild.appendChild( document.createTextNode( 'PvX' ) ); document.getElementById( 'p-cactions' ).getElementsByTagName( 'ul' )[0].appendChild( itemNode ); } } hookEvent( 'load', pvxtGuildWikiSwitch );