Template:Countdowns: Difference between revisions
From Inkipedia, the Splatoon wiki
(+EU Splatfest) |
No edit summary |
||
Line 7: | Line 7: | ||
<p class="cd">The next NA [[Splatfest]], <span style="color:red;">'''Autobots'''</span> vs. <span style="color:#951ABA;">'''Decepticons'''</span>, starts in: <span class="countdown">2015/08/29 04:00|Right now!|It's over!</span></p> | <p class="cd">The next NA [[Splatfest]], <span style="color:red;">'''Autobots'''</span> vs. <span style="color:#951ABA;">'''Decepticons'''</span>, starts in: <span class="countdown">2015/08/29 04:00|Right now!|It's over!</span></p> | ||
<p class="cd">The next EU [[Splatfest]], <span style="color:#FE2E64;">'''Singing'''</span> vs. <span style="color:green;">'''Dancing'''</span>, starts in: <span class="countdown">2015/08/29 17:00|Right now!|It's over!</span></p> | <p class="cd">The next EU [[Splatfest]], <span style="color:#FE2E64;">'''Singing'''</span> vs. <span style="color:green;">'''Dancing'''</span>, starts in: <span class="countdown">2015/08/29 17:00|Right now!|It's over!</span></p> | ||
<p class="cd">The next JP [[Splatfest]], <span style="color:#94bf11;">'''Grasshopper'''</span> vs. <span style="color:#951ABA;">'''Ant'''</span>, starts in: <span class="countdown">2015/08/22 03:00|Right now!|It's over!</span></p> | |||
<!-- Here is the other NA Testfire | <!-- Here is the other NA Testfire | ||
<p class="cd">The third NA Testfire starts in: <span class="countdown">2015/08/23 22:00|Right now!</span></p> | <p class="cd">The third NA Testfire starts in: <span class="countdown">2015/08/23 22:00|Right now!</span></p> |
Revision as of 14:58, 22 August 2015
Info
This template displays the box for the countdowns on the front page. To add a countdown, use the following code:
<p class="cd">The next countdown starts in <span class="countdown">date time|ongoing message|over message<span>
- date gets replaced with the date of the countdown, in the format "yyyy/mm/dd". Example:
2015/07/18
. - time gets replaced with the hour in UTC, in the format "hh:mm". Example:
17:00
. - ongoing message gets replaced with the text to display if the event is ongoing. It is considered ongoing during the first 24 hours. Example:
Right now!
- over message gets replaced with the text to display if the event is over. It is considered over after the first 24 hours have passed. Example:
It's over!