Hi! I'm wondering if it's at all possible to add to the wiki sidebar. I want to add things to my sidebar and I need help doing it. I mean the article sidebar, where it has the Recent Wiki Activity, Photos, and Live Chat. Can someone please help me?
Hi! I'm wondering if it's at all possible to add to the wiki sidebar. I want to add things to my sidebar and I need help doing it. I mean the article sidebar, where it has the Recent Wiki Activity, Photos, and Live Chat. Can someone please help me?
Great! All I want to do is insert this template into it! All I do is replace Mytemplate with the template name?
Here's the code to do what you want:
$(document).ready(function() { var newSection = '<section id="activities" class="module"><h1>' + 'Summer Daily Activities' + '</h1>' + '</section>'; $('#WikiaRail').append(newSection); $.getJSON('/api.php?action=parse&text={{Specials}}&format=json', function(data) { var code = data.parse.text['*']; $('section#activities').append(code); }); });
Thank you so much! You don't know how much you're helping! :D
Thank you everyone for all of your help! :)