Template:Countdown

From Uncyclopedia, the content-free encyclopedia

(Difference between revisions)
Jump to: navigation, search
(Copypasta template from WP:Template:Countdown)
 
 
Line 11: Line 11:
 
|eventend = 1-1-9999 has already ended
 
|eventend = 1-1-9999 has already ended
 
}}
 
}}
This has been stolen directly from Wikipedia. Documentation and fine tuning of this will follow, but in the interim you can visit [[WP:Template:Countdown]] to see the full documentation blah blah…
+
  +
== Notes ==
  +
  +
Please note the following important points before using this template.
  +
  +
*the time on this countdown clock is GMT (UTC+0)
  +
*if the event is held in '''more than 24 hours''', only the number of days and the number of hours left will be shown
  +
*if the event is held '''within 24 hours''', only the number of hours left will be shown
  +
*if the event is held '''within 1 hour''', only the number of minutes left will be shown
  +
*if the event is held '''within 1 minute''', only the number of seconds left will be shown
  +
*duration is in seconds, so <tt>duration=3600</tt> for a one-hour event.
  +
  +
== Usage ==
  +
  +
Editors can use this template as a countdown clock for a lot of different events. The following can show you how to use this template.
  +
  +
=== Simple Countdown Clock ===
  +
  +
This type of countdown clock is suitable for events with no duration.
  +
  +
<pre>
  +
{{countdown
  +
|year = 9999
  +
|month = 1
  +
|day = 1
  +
|event = unknown starts
  +
}}
  +
</pre>
  +
  +
If you type in the above, something like the following will appear.
  +
  +
{{countdown
  +
|year = 9999
  +
|month = 1
  +
|day = 1
  +
|event = unknown starts
  +
}}
  +
  +
=== Advanced Countdown Clock ===
  +
  +
This type of countdown clock is suitable for events with a duration.
  +
  +
<pre>
  +
{{countdown
  +
|year = 2012
  +
|month = 12
  +
|day = 8
  +
|hour = 19
  +
|minute = 40
  +
|second = 0
  +
|event =
  +
|duration = 21
  +
|eventstart = unknown has started
  +
|eventend = unknown has ended
  +
}}
  +
</pre>
  +
  +
If you type in the above, something like the following will appear.
  +
  +
{{countdown
  +
|year = 9999
  +
|month = 1
  +
|day = 1
  +
|hour = 0
  +
|minute = 0
  +
|second = 0
  +
|event = unknown starts
  +
|duration = 100
  +
|eventstart = unknown has started
  +
|eventend = unknown has ended
  +
}}
 
</noinclude>
 
</noinclude>

Latest revision as of 10:15, March 16, 2013

There are 2916168 days 2 hours left before 1-1-9999 starts. (refresh)

edit Notes

Please note the following important points before using this template.

  • the time on this countdown clock is GMT (UTC+0)
  • if the event is held in more than 24 hours, only the number of days and the number of hours left will be shown
  • if the event is held within 24 hours, only the number of hours left will be shown
  • if the event is held within 1 hour, only the number of minutes left will be shown
  • if the event is held within 1 minute, only the number of seconds left will be shown
  • duration is in seconds, so duration=3600 for a one-hour event.

edit Usage

Editors can use this template as a countdown clock for a lot of different events. The following can show you how to use this template.

edit Simple Countdown Clock

This type of countdown clock is suitable for events with no duration.

{{countdown
 |year  = 9999
 |month = 1
 |day   = 1
 |event = unknown starts
}}

If you type in the above, something like the following will appear.

There are 2916168 days 2 hours left before unknown starts. (refresh)

edit Advanced Countdown Clock

This type of countdown clock is suitable for events with a duration.

{{countdown
 |year       = 2012
 |month      = 12
 |day        = 8
 |hour       = 19
 |minute     = 40
 |second     = 0
 |event      = 
 |duration   = 21
 |eventstart = unknown has started
 |eventend   = unknown has ended
}}

If you type in the above, something like the following will appear.

There are 2916168 days 2 hours left before unknown starts. (refresh)

Personal tools
projects