Template:Countdown: Difference between revisions

From the Kingdom Hearts Wiki, the Kingdom Hearts encyclopedia
Jump to navigationJump to search
(Don't know if this fixes the template, hopefully does)
(Should work now, but it probably doesn't :/)
Line 1: Line 1:
<includeonly><span class="countdowndate">{{#time:F d Y H:i|{{{1}}}}} UTC</span><span class="nocountdown"> This message will be displayed if the timer does not show up (like if you do not have javascript enabled on your browser)</span></includeonly>
<includeonly><span class="countdowndate">{{#time:F d Y H:i|{{{1}}}}} UTC</span><span class="nocountdown"> This message will be displayed if the timer does not show up (like if you do not have javascript enabled on your browser)</span></includeonly><noinclude>
 
<span class="countdowndate">{{{1}}} UTC</span><span class="nocountdown">The North American release of ''[[Kingdom Hearts Birth by Sleep]]'' is on the 7th of September!</span><noinclude>


-----
-----
Line 9: Line 7:


Therefore,
Therefore,
<pre>{{Countdown|January 1 3000 20:000}}</pre>
<pre>{{Countdown|January 1 3000 20:00}}</pre>


Would create this:
Would create this:
{{Countdown|January 1 3000 20:000}}
{{Countdown|January 1 3000 20:00}}
[[Category:Utility templates]]</noinclude>
[[Category:Utility templates]]</noinclude>

Revision as of 18:41, 24 November 2010



This template creates a countdown timer, and works only in UTC time (the official wiki-time). The correct usage is as follows:

{{Countdown|[name of month [number pertaining to day] [year] [time of day in UTC]}}

Therefore,

{{Countdown|January 1 3000 20:00}}

Would create this: January 01 3000 20:00 UTC This message will be displayed if the timer does not show up (like if you do not have javascript enabled on your browser)