User blog:Sammylau/Adding a Fancy Countdown

First of all, I've written this countdown for my wiki at the very beginning because the "official" one suggested by Wikia isn't cool to fit in the Chinese language. (We don't have commas in the date/time!)

Feature
As the name suggests, it's a countdown timer. It's simple and it works. It got a dynamic flipping effect!

Setup
$(function{	importArticles({ type: "script", articles: ["u:zh.pad.wikia.com:MediaWiki:CountDown.js"] }, {		type: "style", articles: ["u:zh.pad.wikia.com:MediaWiki:CountDown.css"] }); });
 * You have to be an admin of the wiki
 * Insert the code into the MediaWiki:common.js page of your own wiki: (or extend it with proper syntax if you already using some plugins)

Usage
Insert the following code in Source mode editor: 2013-04-12T14:00:00+08:00 The time value should be a time in the near future. Format like the one above. The last part is the timezone offset.

You may insert multiple countdown timer into a page.

Limitation
This countdown function can only count less than 100 hours.