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:
<noinclude>
<includeonly><span class="countdown" data-time="{{{time|{{{1|00:00}}}}}}" data-day="{{{day|}}}" data-event="{{{event|}}}">
This template displays a dynamic countdown timer to a specified date and time.
<span class="countdown-text">Loading countdown to {{#if:{{{event|}}}|{{{event}}} at |}}{{#if:{{{day|}}}|{{{day}}} |}}{{{time|{{{1|00:00}}}}}} UTC...</span>
 
</span></includeonly><noinclude>
=== Usage ===
{{Documentation}}</noinclude>
<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 countdown to {{{event|{{{date|{{{1|}}}}}}}}}...</span>
</div></includeonly>

Latest revision as of 22:15, 21 October 2026