Forum:Want to integrate stumbleupon badge

So my wiki is universaltriumvirate.wikia.com and I want to put a stumbleupon badge on the main page.

http://www.stumbleupon.com/dt/badges/create

It needs embedded via html I believe but I have no idea how to do it. Can anyone help? It'd be very appreciated! Stavrok (talk) 03:36, July 17, 2012 (UTC)


 * You'd have to add the embed code to a medaiwiki page (like MediaWiki:StumbleUpon) then use StumbleUpon where you'd like it to show up. Rappy 21:32, July 17, 2012 (UTC)


 * Can you explain exactly how I'd embed it into a mediawiki page? I tried doing that but I probably did something wrong and I can't figure it out. Stavrok (talk) 03:22, July 18, 2012 (UTC)


 * You take the code given on that page and place it into a MW page, like w:c:universaltriumvirate:MediaWiki:StumbleUpon. Then you use verbatim as explained above where you want it to show up. Rappy 03:46, July 18, 2012 (UTC)


 * Ok, I did that but I don't think it's working http://universaltriumvirate.wikia.com/wiki/MediaWiki:StumbleUpon. Stavrok (talk) 04:35, July 18, 2012 (UTC)

Taking a second look at this, you shouldn't even need the verbatim. The code generator tells you to add the script AND display it with . You should add the following script to w:c:universaltriumvirate:MediaWiki:Common.js: Then use the su:badge code above where you want to display it. You can also delete that MediaWiki page you set up. I thought the code you wanted to add displayed the box. Rappy 06:10, July 18, 2012 (UTC)


 * Thank you so much for your help so far, sorry I'm so inept at this... Okay does the http://universaltriumvirate.wikia.com/wiki/MediaWiki:Common.js page look right? When I try putting the "" on a page it doesn't do anything. Stavrok (talk) 06:17, July 18, 2012 (UTC)


 * OK. I just went and tested this... Wikia won't recognize any custom HTML tags like the  from above. Here's exactly what you need to do...


 * The code in Common.js should be fine. Add the  code to the w:c:universaltriumvirate:MediaWiki:StumbleUpon page instead. Then, use StumbleUpon where you want it to show up. You can see the result here.