Forum:I'm a bit confused

Hello, I have a question, mainly because I am kind of confused. I am looking for a way to include the footer box at the bottom of an article (that box that holds a series of links of specific categories) but I'm not sure how to do it and I can't seem to find any helpful articles that explain it. Can anyone tell me what I need to do? Fobarimperius (talk) 14:48, September 17, 2012 (UTC)
 * When you say "include" the box, what do you mean? That box appears automatically when any categories are added to the article-- Category:Acer4666 15:02, September 17, 2012 (UTC)


 * Here's an example of what I mean. http://borderlands.wikia.com/wiki/Template:Enemies Fobarimperius (talk) 17:33, September 17, 2012 (UTC)
 * Oh. That's a very complicated template, relying on lots of other templates. To get it on your wiki, you'll have to copy across all the templates used, by creating the same pages but on your wiki (eg, if your wiki has URL http://example.wikia.com, then you need to copy all the code from http://borderlands.wikia.com/wiki/Template:Navbox and paste into the corresponding page, http://example.wikia.com/wiki/Template:Navbox)
 * w:c:borderlands:Template:Navbox with collapsible groups
 * w:c:borderlands:Template:Navbox
 * w:c:borderlands:Template:Navbox subgroup
 * w:c:borderlands:Template:Navbar
 * w:c:borderlands:Template:Transclude
 * And you'll also have to put this code onto http://example.wikia.com/wiki/Mediawiki:Common.js

/* Any JavaScript here will be loaded for all users on every page load. */ /** Collapsible tables ********************************************************* * * Description: Allows tables to be collapsed, showing only the header. See *              Wikipedia:NavFrame. * Maintainers: User:R. Koot */ var autoCollapse = 2; var collapseCaption = "hide"; var expandCaption = "show"; function collapseTable( tableIndex ) {   var Button = document.getElementById( "collapseButton" + tableIndex ); var Table = document.getElementById( "collapsibleTable" + tableIndex ); if ( !Table || !Button ) { return false; }   var Rows = Table.rows; if ( Button.firstChild.data == collapseCaption ) { for ( var i = 1; i < Rows.length; i++ ) { Rows[i].style.display = "none"; }       Button.firstChild.data = expandCaption; } else { for ( var i = 1; i < Rows.length; i++ ) { Rows[i].style.display = Rows[0].style.display; }       Button.firstChild.data = collapseCaption; } } function createCollapseButtons {   var tableIndex = 0; var NavigationBoxes = new Object; var Tables = document.getElementsByTagName( "table" ); for ( var i = 0; i < Tables.length; i++ ) { if ( hasClass( Tables[i], "collapsible" ) ) { /* only add button and increment count if there is a header row to work with */ var HeaderRow = Tables[i].getElementsByTagName( "tr" )[0]; if (!HeaderRow) continue; var Header = HeaderRow.getElementsByTagName( "th" )[0]; if (!Header) continue; NavigationBoxes[ tableIndex ] = Tables[i]; Tables[i].setAttribute( "id", "collapsibleTable" + tableIndex ); var Button    = document.createElement( "span" ); var ButtonLink = document.createElement( "a" ); var ButtonText = document.createTextNode( collapseCaption ); Button.style.styleFloat = "right"; Button.style.cssFloat = "right"; Button.style.fontWeight = "normal"; Button.style.textAlign = "right"; Button.style.width = "6em"; ButtonLink.style.color = Header.style.color; ButtonLink.setAttribute( "id", "collapseButton" + tableIndex ); ButtonLink.setAttribute( "href", "javascript:collapseTable(" + tableIndex + ");" ); ButtonLink.appendChild( ButtonText ); Button.appendChild( document.createTextNode( "[" ) ); Button.appendChild( ButtonLink ); Button.appendChild( document.createTextNode( "]" ) ); Header.insertBefore( Button, Header.childNodes[0] ); tableIndex++; }   }    for ( var i = 0;  i < tableIndex; i++ ) { if ( hasClass( NavigationBoxes[i], "collapsed" ) || ( tableIndex >= autoCollapse && hasClass( NavigationBoxes[i], "autocollapse" ) ) ) { collapseTable( i ); }   } } addOnloadHook( createCollapseButtons ); var hasClass = (function {   var reCache = {};   return function (element, className) {       return (reCache[className] ? reCache[className] : (reCache[className] = new RegExp("(?:\\s|^)" + className + "(?:\\s|$)"))).test(element.className);  }; });
 * Once you've done that, you can play around with the code they have on the template page to change it to the links and groups you want. If you give specific links to your wiki and what you want on, we may be able to help out-- Category:Acer4666 18:03, September 17, 2012 (UTC)