From Dark and Darker Wiki
(Fixing var passed to clear interval) |
No edit summary |
||
Line 33: | Line 33: | ||
*String of text indicating a date and time. | *String of text indicating a date and time. | ||
**Example:<code>2024-12-31 23:59:59</code> | **Example:<code>2024-12-31 23:59:59</code> | ||
==Example 1== | ==Example 1== | ||
<pre>{{#widget:Countdown|uniqueId=A|date=2024-08-26 23:59:59}}</pre> | <pre>{{#widget:Countdown|uniqueId=A|date=2024-08-26 23:59:59}}</pre> | ||
{{#widget:Countdown|uniqueId=A|date=2024-08-26 23:59:59}} | {{#widget:Countdown|uniqueId=A|date=2024-08-26 23:59:59}} | ||
==Example 2== | ==Example 2== | ||
<pre>{{#widget:Countdown|uniqueId=B|date=2024-08-25 23:59:59}}</pre> | <pre>{{#widget:Countdown|uniqueId=B|date=2024-08-25 23:59:59}}</pre> | ||
{{#widget:Countdown|uniqueId=B|date=2024-08-25 23:59:59}} | {{#widget:Countdown|uniqueId=B|date=2024-08-25 23:59:59}} | ||
==Example 3== | ==Example 3== | ||
<pre>{{#widget:Countdown|uniqueId=C|date=2024-08-24 23:59:59}}</pre> | <pre>{{#widget:Countdown|uniqueId=C|date=2024-08-24 23:59:59}}</pre> | ||
{{#widget:Countdown|uniqueId=C|date=2024-08-24 23:59:59}} | {{#widget:Countdown|uniqueId=C|date=2024-08-24 23:59:59}} | ||
</noinclude> | </noinclude> |
Revision as of 01:33, 26 August 2024
Parameters
uniqueId
- Determines element id name
- Name needs to be unique if multiple widgets are to be displayed on the same page.
- Default:
timer
date
- String of text indicating a date and time.
- Example:
2024-12-31 23:59:59
- Example:
Example 1
{{#widget:Countdown|uniqueId=A|date=2024-08-26 23:59:59}}
Example 2
{{#widget:Countdown|uniqueId=B|date=2024-08-25 23:59:59}}
Example 3
{{#widget:Countdown|uniqueId=C|date=2024-08-24 23:59:59}}