From Dark and Darker Wiki

(Updating examples)
m (Typo)
Line 36: Line 36:


==Example 1==
==Example 1==
<pre>{{#widget:Countdown|unqiueID=Test1|date=2024-12-31 23:59:59}}</pre>
<pre>{{#widget:Countdown|uniqueID=Test1|date=2024-12-31 23:59:59}}</pre>
{{#widget:Countdown|unqiueID=Test1|date=2024-12-31 23:59:59}}
{{#widget:Countdown|uniqueID=Test1|date=2024-12-31 23:59:59}}
==Example 2==
==Example 2==
<pre>{{#widget:Countdown|unqiueID=Test2|date=2024-12-31 23:59:59}}</pre>
<pre>{{#widget:Countdown|uniqueID=Test2|date=2024-12-31 23:59:59}}</pre>
{{#widget:Countdown|unqiueID=Test2|date=2024-12-31 11:59:59}}
{{#widget:Countdown|uniqueID=Test2|date=2024-12-31 11:59:59}}
</noinclude>
</noinclude>

Revision as of 00:08, 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 1

{{#widget:Countdown|uniqueID=Test1|date=2024-12-31 23:59:59}}

Example 2

{{#widget:Countdown|uniqueID=Test2|date=2024-12-31 23:59:59}}