This wiki is still in active development, many areas of the site are unstable or broken.
In the meantime, consider adding content to pages you like!
Template:Countdown: Difference between revisions
From NBITTRPG Wiki
Created page with "<noinclude> This template displays a dynamic countdown timer to a specified date and time. === Usage === <pre> {{Countdown | date = December 31, 2026 23:59:59 UTC | event = New Year's Eve | complete = Happy New Year! }} </pre> </noinclude><includeonly> <div class="countdown" data-date="{{#time:c|{{{date|{{{1|}}}}}}}}" data-complete="{{{complete|Event has started!}}}"> <noscript>Countdown target: {{{date|{{{1|}}}}}}</noscript> <span class="countdown-text">Loading count..." |
mNo edit summary |
||
| (20 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><span class="countdown" data-time="{{{time|{{{1|00:00}}}}}}" data-day="{{{day|}}}" data-event="{{{event|}}}"> | |||
<span class="countdown-text">Loading countdown to {{#if:{{{event|}}}|{{{event}}} at |}}{{#if:{{{day|}}}|{{{day}}} |}}{{{time|{{{1|00:00}}}}}} UTC...</span> | |||
</span></includeonly><noinclude> | |||
{{Documentation}}</noinclude> | |||
< | |||
</ | |||
Latest revision as of 22:15, 21 October 2026
Displays a daily or weekly recurring countdown to a specific time/day in UTC.
Usage
[edit source]{{Countdown
| day = Saturday
| time = 15:00
| event = Weekly Reset
}}
Loading countdown to Weekly Reset atSaturday15:00 UTC...
{{Countdown
| time = 15:00
| event = Daily Reset
}}
Loading countdown to Daily Reset at15:00 UTC...
Example
[edit source]Loading countdown to Daily Reset at3:10 UTC...
