User:Nova/monobook.js

function addPortletLink(portlet, href, text, id, tooltip, accesskey, nextnode) { var node = document.getElementById(portlet); if ( !node ) return null; node = node.getElementsByTagName( "ul" )[0]; if ( !node ) return null;

var link = document.createElement( "a" ); link.appendChild( document.createTextNode( text ) ); link.href = href;

var item = document.createElement( "li" ); item.appendChild( link ); if ( id ) item.id = id;

if ( accesskey ) { link.setAttribute( "accesskey", accesskey ); tooltip += " ["+accesskey+"]"; }	if ( tooltip ) { link.setAttribute( "title", tooltip ); }	if ( accesskey && tooltip ) { updateTooltipAccessKeys( new Array( link ) ); }

if ( nextnode && nextnode.parentNode == node ) node.insertBefore( item, nextnode ); else node.appendChild( item );

return item; }

function addTab(url, name, id) { return addPortletLink('p-cactions', url, name, id); }

function twl { {   addTab("http://gw.gamewikis.org/wiki/User:Auron_of_Neon", "GW"); }   {    addTab("http://wiki.guildwars.com/wiki/User:Auron", "GWW"); }   {    addTab("http://www.pvxwiki.com/wiki/User:Auron", "PvX"); }   {    addTab("http://www.wowwiki.com/User:Auron", "WoW"); }   {    addTab("http://bulbapedia.bulbagarden.net/wiki/User:Auron", "Poké"); }   {    addTab("http://en.wikipedia.org/wiki/User:TullFan2000", "WP"); } }

addOnloadHook(twl);