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
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>
Displays a daily or weekly recurring countdown to a specific time/day in UTC.
Displays a daily recurring countdown to a specific time in UTC. Code is in [[MediaWiki:Common.js]].


=== Usage ===
=== Usage ===
<pre>
<pre>
<code>
{{Countdown
{{Countdown
| day = Monday
| time = 15:00
| time = 15:00
| event = Daily Server Reset
| event = Weekly Reset
}}
}}
</code>
</pre>
</pre>
{{Countdown
{{Countdown
| day = Monday
| time = 15:00
| time = 15:00
| event = Daily Server Reset
| event = Weekly Reset
}}
}}
</noinclude><includeonly><span class="countdown" data-time="{{{time|{{{1|00:00}}}}}}" data-event="{{{event|}}}">
<pre>
<span class="countdown-text">Loading countdown to {{#if:{{{event|}}}|{{{event}}} at |}}{{{time|{{{1|00:00}}}}}} UTC...</span>
<code>
{{Countdown
| time = 15:00
| event = Daily Reset
}}
</code>
</pre>
{{Countdown
| time = 15:00
| event = Daily Reset
}}
</noinclude><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>
</span></includeonly>

Revision as of 09:45, 27 September 2026

Displays a daily or weekly recurring countdown to a specific time/day in UTC.

Usage

<code>
{{Countdown
| day = Monday
| time = 15:00
| event = Weekly Reset
}}
</code>

Displays a daily or weekly recurring countdown to a specific time/day in UTC.

Usage

<code>
{{Countdown
| day = Monday
| time = 15:00
| event = Weekly Reset
}}
</code>

Template loop detected: Template:Countdown

<code>
{{Countdown
| time = 15:00
| event = Daily Reset
}}
</code>

Template loop detected: Template:Countdown </noinclude> Loading countdown to Weekly Reset atMonday15:00 UTC...

<code>
{{Countdown
| time = 15:00
| event = Daily Reset
}}
</code>

Displays a daily or weekly recurring countdown to a specific time/day in UTC.

Usage

<code>
{{Countdown
| day = Monday
| time = 15:00
| event = Weekly Reset
}}
</code>

Template loop detected: Template:Countdown

<code>
{{Countdown
| time = 15:00
| event = Daily Reset
}}
</code>

Template loop detected: Template:Countdown </noinclude> Loading countdown to Daily Reset at15:00 UTC...