Template:Countdown

From MediaWiki
Revision as of 22:28, 8 September 2009 by Derik (talk | contribs) (New page: <includeonly><span title="{{{title|{{{1}}}}}}">{{#expr: ({{ #time: U |{{{1}}}}} - {{ #time: U }})/86400 round 0}} {{{dayString|days}}} {{#if:{{{hours|}}}|{{#expr: ({{#expr: ({{ #time: U |{...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
(Transcluded documentation: view)

==Basic functionality==

{{countdown|December 21, 2012}}

-4907 days remaining until the end of the Mayan calender.

Advanced functionality

Optional settings

{{countdown |December 21, 2012
|hours=true  (show hours)
|dayString=d (DEFAULT: "days")
|hourString=h (DEFAULT: "hours")
|title=This text is visible on mouseover!  (DEFAULT: date provided.)
}}

Technical notes

  • This could probably be coded neater... but who cares? -Derik 19:06, 8 September 2009 (EDT)


  • not a doc subpage!
  • Countdown