Tardis:Sandbox: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
(mosbox fix)
m (Reverted edits by Aquanafrahudy (talk) to last revision by Bongolium500)
Tag: Rollback
 
(140 intermediate revisions by 23 users not shown)
Line 1: Line 1:
{{Sandbox heading}}
{{Sandbox heading}}
__NOEDITSECTION__<div class="countdown" style="display:none"><div id=sfh style="font-weight:bold;text-align:center;padding-bottom:0px;font-size:100%">''Doctor Who'' Five-O in <span class="countdowndate">November 23 2013 18:16:20 UTC</span>.</div></div><div id=sfh style="margin:10px;font-weight:bold;font-size:400%;line-height:100%;text-align:left;padding-bottom:20px;text-align:center">Remembrance of the TVC.</div>


==mosbox fix==
Test
<pre>
$(function() {
if(skin == "oasis") {
$('#WikiaRail').bind('DOMNodeInserted', function(event) { //fires after lazy-loading takes place. 
var $sidebar = $('.ChatModule.module');
var comboString ='<div style="background:none!important;margin-top:20px"><a class="twitter-timeline"  href="https://twitter.com/TardisWiki" data-widget-id="276806948735819776">Tweets by @TardisWiki</a></div>' +
'<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>';
 
if ($('#WikiaRecentActivity').size()) { //check that #WikiaRecentActivity has been loaded
if (!$('.twitter-timeline').size()) { //check to make sure it hasn't already been added.
$sidebar.append(comboString);
}
}
var $sidebar = $('.activity-heading');
var comboString2 = "<div id='mosbox' style='margin-top:0px; align:center'><div class=mosheadcolor style='letter-spacing:3px;text-transform:uppercase;margin-bottom:5px'>Log on and play</div><table style='width:100%'><td class=moscolor style='*'>We need <b><i>you</b></i> to help us edit articles about the <a href='http://tardis.wikia.com/wiki/Doctor Who universe'>DWU.</a> We'll even give you (totally worthless) prizes for your hard work! <strong><a href='http://tardis.wikia.com/wiki/Special:UserLogin'>Log on</a></strong> and start playing the <strong><a href='http://tardis.wikia.com/wiki/Special:Leaderboard'><strong>Game of Rassilon</strong></a></strong> today!<br /></td><td style='text-align:right'><a href='http://tardis.wikia.com/wiki/Special:Leaderboard' target='_top'><img src='http://images.wikia.com/tardis/images/2/2b/GallifreyanScriptSplash.png' alt='See?  Time Lord Seal of Approval!' border=0 /></a></td></tr></table><table style='width:100%'><hr><td class=moscolor>Wondering why things are changing around here? Keep up by <strong><a href='http://tardis.wikia.com/wiki/Board:Tales_from_the_Tardis'>reading the community news</a></strong> or by <strong><a href='http://tardis.wikia.com/wiki/Board:The_Panopticon'>visiting the Panopticon.</a></strong><hr></td></table></div>";
 
if ($sidebar.size()) { //check that #WikiaRecentActivity has been loaded
if (!$('#mosbox').size()) { //check to make sure it hasn't already been added.
$sidebar.prepend(comboString2)
}
}
}); //end of DOMNodeInserted block
 
} else if(skin == "monobook") {
var $sidebar = $('#n-wikicitieshome');
var comboString = "<div id='mosbox'><div style='background-color:transparent !important;line-height:100%'><hr><a href='http://tardis.wikia.com/wiki/Special:Leaderboard?useskin=wikia'>Check your score</a> in <a href='http://tardis.wikia.com/wiki/Game of Rassilon'><strong>The Game of Rassilon.</strong></a><hr> Also, you can <strong>join the chat</strong> by <a href='http://tardis.wikia.com/wiki/Special:Chat?useskin=wikia'>clicking here.</a><hr>Wondering why things are changing around here? Keep up by <a href='http://tardis.wikia.com/wiki/MediaWiki:Community-corner'>reading the community news</a> or by <a href='http://tardis.wikia.com/wiki/Forum:Panopticon'>visiting the Panopticon</a>.</a></div></div>";
$sidebar.prepend(comboString);
}
});
</pre>

Latest revision as of 09:27, 17 May 2024

This is a public sandbox[[edit source]]

A "sandbox" is a place where people can play around with wiki markup so as to improve their editing skills. It is, in other words, a place for editing experiments.

Feel free to try out your skills at formatting here, where no one will criticise your edits.

Content added here can be cleared without warning. If you'd like to have a more permanent sandbox, create one as a subpage of your userpage, by starting a new page at: User:YourName/Sandbox, replacing "YourName" with, well, your name.

Test