Template:Timer/doc: Difference between revisions

created
 
No edit summary
 
Line 1: Line 1:
==Usage==
==Usage==
Place {{tl|Timer}} on any page where you want to display a live countdown to a specific date and time.   
Place {{tl|Timer}} on any page where you want to display a live countdown to a specific date and time.   
The template will automatically update every second until the target is reached.
Can be passed multiple dates separated by commas. The timer will automatically switch to the next date when the previous one expires.


==Parameters==
==Parameters==
*time (required) — The date and time when the countdown ends. Use ISO format (YYYY-MM-DDTHH:MM:SS).
*time (required) — The date and time when the countdown ends. Use ISO format (YYYY-MM-DDTHH:MM:SS).


==Example==
==Example==
Line 14: Line 14:


{{Timer|time=2026-01-01T12:00:00}}
{{Timer|time=2026-01-01T12:00:00}}
<pre>{{Timer|time=2026-01-01T22:00:00Z,2100-01-02T22:00:00Z}}</pre>
{{Timer|time=2026-01-01T22:00:00Z,2100-02-01T12:00:00}}


<noinclude>[[Category:Template documentation]]</noinclude>
<noinclude>[[Category:Template documentation]]</noinclude>