Forum:Is there a way to bring back the site tagline?

That used to be under MediaWiki:Tagline? A .o. N 16:33, March 31, 2011 (UTC)


 * You could add one with JS if you really wanted it, but it wouldn't pull from the MediaWiki page.


 * Yes, I really want it. What's the js for that? A .o. N  17:10, March 31, 2011 (UTC)


 * Depends upon where you want it. This will put it under the categories; just change it to the name of your wiki, and your wiki's url:

 function Tagline { $('#WikiaMainContent').append(' Retrieved from YOURWIKINAME '); }

addOnloadHook(Tagline)
 * That should do it.

And where does this go - in css? A .o. N 19:14, March 31, 2011 (UTC)
 * And where, exactly, does the tagline go? A .o. N  18:04, March 31, 2011 (UTC)
 * The code goes in JS, the tagline should appear under the categories bar.


 * Sorry for the confusion. I mean, where does the tagline go in the above js script? A .o. N  20:04, March 31, 2011 (UTC)


 * Try adding the above code to Special:MyPage/wikia.js and do some experiments. The JS will only affect you and not other users on your wiki. You'll see what it does.
 * When you like how it works, add it to MediaWiki:Wikia.js for it to appear site-wide.
 * Also, we can give you more specific and helpful info if you give a link to your wiki. -- Fandyllic (talk &middot; contr) 31 Mar 2011 5:01 PM Pacific
 * Oh, I just realized what you meant.  is the tagline. The   tag defines a link.

OK, I'm, sadly, still confused. Say the page on my wiki that contained the tagline was Template:Tagline - how would I format that in the  tag? A .o. N 17:53, April 1, 2011 (UTC)
 * You can't, because templates are dealt with by the PHP on the server. You can only use HTML. However, I might be able to convert your template to HTML for you if you link to it.