Forum:A bit assistance for another wiki?

Hi, I'm an admin over at the Kingdom Hearts wiki, but trust me, I've made plenty of use out of this one. ^_^ We were wondering about the template for the marker in the upper right hand corner you use to mark the relevant games for each article. We'd like to implement something like that at KHW, but we're not sure how to go about it, even after poking around some other places. If there is anyone here willing to offer us a push in the right direction, that would be wonderful; our discussion is going on here. Thanks! BebopKate 02:15, September 24, 2009 (UTC)
 * ... Is this spam?


 * Anyway, the relevant lingo should be at Template:Games/doc. Nitty 02:17, September 24, 2009 (UTC)


 * Sometimes I think you're a bit paranoid ;) Someone asking for help is of course not spam.


 * BebopKate, the following is what you need to do to get our version of the icon template working (it's a bit different from the others you'll find around wikia; for instance, it works with Monobook as well as Monaco):
 * Copy Games to your wiki
 * Copy to your wiki
 * Copy the following to your wiki's MediaWiki:Common.css:

float: right; display: none; visibility: hidden; position: relative; margin: -20px 0 0; min-width: 325px; text-align: right; }
 * 1) title-games {

font-size: 0.9em; }
 * 1) title-games,
 * 2) title-games a {
 * Copy the following to your wiki's MediaWiki:Common.js:

/* Add game icons */ function addTitleGames {   var titleDiv = document.getElementById("title-games"); if (titleDiv != null && titleDiv != undefined) {      var content = document.getElementById('article'); if (!content) {        var content = document.getElementById('content'); }

if (content) {         var hs = content.getElementsByTagName('h1'); var firstHeading; for (var i = 0; i < hs.length; i++){ if ( (' '+hs[i].className+' ').indexOf(' firstHeading ') != -1){ firstHeading=hs[i]; break; }         }          var cloneNode = titleDiv.cloneNode(true); firstHeading.insertBefore(cloneNode, firstHeading.childNodes[0]); cloneNode.style.display = "block"; cloneNode.style.visibility = "visible"; if (skin != "monaco") {           cloneNode.style.marginTop = "-11px"; }      }    } }

addOnloadHook( addTitleGames );
 * And then it should work. All you'll have to do then is change the abbreviations and icons in to the ones you need for your wiki. Feel free to leave a message on my talk page if you run into problems. -- Porter21 (talk) 08:50, September 24, 2009 (UTC)


 * Nope, not spam. I'll point our the editors working on this one over here.  Much obliged, folks!  Keep up the excellent job, especially on the Fallout 3 section...I'll probably need the help to get through Broken Steel ^_^ BebopKate 04:12, September 26, 2009 (UTC)


 * Sure! ...  Nitty 04:17, September 26, 2009 (UTC)