From Dark and Darker Wiki

(Replacing static id element name)
m (New example)
Line 39: Line 39:
{{#widget:Countdown|uniqueId=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|uniqueId=Test2|date=2024-12-31 23:59:59}}</pre>
<pre>{{#widget:Countdown|uniqueId=Test2|date=2024-8-10 11:59:59}}</pre>
{{#widget:Countdown|uniqueId=Test2|date=2024-12-31 11:59:59}}
{{#widget:Countdown|uniqueId=Test2|date=2024-8-10 11:59:59}}
</noinclude>
</noinclude>

Revision as of 00:14, 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-8-10 11:59:59}}