Template:Countdown: Difference between revisions
From FrathWiki
Jump to navigationJump to search
(now using plainlinks) |
(change default display settings) |
||
Line 1: | Line 1: | ||
<includeonly><span class="plainlinks">[http://timeanddate.com/counters/fullscreen.html?mode=a{{#if:{{{year|}}}|&year={{{year}}}}}{{#ifeq:{{{month|1}}}|1||&month={{{month}}}}}{{#ifeq:{{{day|1}}}|1||&day={{{day}}}}}&p0=0RT {{{1| | <includeonly><span class="plainlinks">[http://timeanddate.com/counters/fullscreen.html?mode=a{{#if:{{{year|}}}|&year={{{year}}}}}{{#ifeq:{{{month|1}}}|1||&month={{{month}}}}}{{#ifeq:{{{day|1}}}|1||&day={{{day}}}}}&p0=0RT {{{1|{{{year|2000}}}-{{{month|01}}}-{{{day|01}}}}}}]</span></includeonly><noinclude> | ||
This template can be used to display countdowns. Currently it links to a countdown on [http://timeanddate.com/ timeanddate.com], but this may change in the future. The following parameters are allowed: | This template can be used to display countdowns. Currently it links to a countdown on [http://timeanddate.com/ timeanddate.com], but this may change in the future. The following parameters are allowed: | ||
* year | * year (defaults to 2000) | ||
* month | * month (a number, defaults to January) | ||
* day | * day (of month, defaults to the 1st) | ||
The first unnamed parameter specifies which text the link is displayed as. | The first unnamed parameter specifies which text the link is displayed as. This defaults to the date. | ||
Additional parameters may be added in the future. All dates and times are in UTC. | Additional parameters may be added in the future. All dates and times are in UTC. |
Revision as of 18:21, 9 November 2012
This template can be used to display countdowns. Currently it links to a countdown on timeanddate.com, but this may change in the future. The following parameters are allowed:
- year (defaults to 2000)
- month (a number, defaults to January)
- day (of month, defaults to the 1st)
The first unnamed parameter specifies which text the link is displayed as. This defaults to the date.
Additional parameters may be added in the future. All dates and times are in UTC.