From Dark and Darker Wiki
(Testing id element name) |
(changing escape type) |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<span id="timer'<!--{$uniqueId|default:''|escape:' | <span id="timer'<!--{$uniqueId|default:''|escape:'html'}-->'"></span> | ||
<script> | <script> | ||
function setIntOnStart(func, interval) { | function setIntOnStart(func, interval) { |
Revision as of 00:05, 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|unqiueID=Test|date=2024-12-31 23:59:59}}
Example 2
{{#widget:Countdown|unqiueID=Test|date=2024-12-31 23:59:59}}