Difference between revisions of "Template:Countdown/doc"
Jump to navigation
Jump to search
m (→Examples) |
m (→Examples) |
||
(One intermediate revision by the same user not shown) | |||
Line 18: | Line 18: | ||
;<pre>{{countdown|R1}}</pre> | ;<pre>{{countdown|R1}}</pre> | ||
:{{countdown|R1}} | :{{countdown|R1}} | ||
;<pre>{{countdown|R1| | ;<pre>{{countdown|R1|ohdear|2012|12|23}}</pre> | ||
:{{countdown|R1| | :{{countdown|R1|ohdear|2012|12|23}} |
Latest revision as of 14:26, 31 August 2011
Use
To create a countdown to a specific date. Countdown in days.
Usage
{{countdown|<text>|<unique>|<year>|<month>|<date>}}
Parameters:
- text
- Is the text to appear in front of the countdown.
- unique
- This is a way of making the whole countdown identifiable by javascript, and the like. If this and the later paramters is not supplied, the countdowner will display "TBA" instead.
- year
- month
- date
Examples
{{countdown|R1|BWABB|2008|6|23}}
- R1: Midnight Eastern Time
{{countdown|R1}}
- R1: TBA
{{countdown|R1|ohdear|2012|12|23}}
- R1: Midnight Eastern Time