Template:Countdown/doc: Difference between revisions

From MediaWiki
Jump to navigationJump to search
Derik (talk | contribs)
mNo edit summary
Derik (talk | contribs)
mNo edit summary
 
Line 1: Line 1:
==Basic functionality==
==Basic functionality==
<pre>{{countdown|December 21, 2012}}</pre>
<pre>{{countdown|December 21, 2012}}</pre>
{{countdown|December 21, 2012}} remaining until the end of the Mayan calender.
{{countdown|December 21, 2012}} remaining until the end of the Mayan calender.

Latest revision as of 04:04, 9 September 2009

Basic functionality

[edit]
{{countdown|December 21, 2012}}

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

Advanced functionality

[edit]

Optional settings

[edit]
{{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

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


  • doc subpage!
  • Countdown/doc