Read the State Legislative Tracker. New edition available now!

Difference between revisions of "Template:Countdown/doc"

From Ballotpedia
Jump to: navigation, search
m (Advanced Countdown Clock)
m (Advanced Countdown Clock)
Line 71: Line 71:
 
}}
 
}}
  
This page was taken from [http://www.wikipedia.org Wikipedia's] page, [http://en.wikipedia.org/wiki/Template:Countdown/doc Template:Countdown/doc] and is being used on Ballotpedia under the GDFL license.
+
This page was taken from [http://www.wikipedia.org Wikipedia's] page, [http://en.wikipedia.org/wiki/Template:Countdown/doc Template:Countdown/doc] and is being used on Ballotpedia under the GFDL license.
  
 
<includeonly>[[Category:Template|{{PAGENAME}}]]</includeonly>
 
<includeonly>[[Category:Template|{{PAGENAME}}]]</includeonly>

Revision as of 14:16, 8 November 2010


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

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.

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

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


There are 2916202 days 21 hours left until unknown starts.


Advanced Countdown Clock

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

{{countdown
 |year       = 9999
 |month      = 1
 |day        = 1
 |hour       = 0
 |minuite    = 0
 |second     = 0
 |event      = unknown starts
 |duration   = 100
 |eventstart = unknown has started
 |eventend   = unknown has ended
}}

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


unknown has ended


This page was taken from Wikipedia's page, Template:Countdown/doc and is being used on Ballotpedia under the GFDL license.