Template:Countdowns: Difference between revisions
From Inkipedia, the Splatoon wiki
(real ink colors from the game.) |
No edit summary |
||
Line 3: | Line 3: | ||
<p class="btextwidget">Countdowns</p> | <p class="btextwidget">Countdowns</p> | ||
<p class="cd">The next set of [[stage]]s will be chosen in: <span class="stageCountdown">...</span></p> | <p class="cd">The next set of [[stage]]s will be chosen in: <span class="stageCountdown">...</span></p> | ||
<p class="cd">The first multi-region [[Splatfest]] in North America, Europe & Oceania, <span style="color:# | <p class="cd">The first multi-region [[Splatfest]] in North America, Europe & Oceania, <span style="color:#dca41d;">'''SpongeBob'''</span> vs. <span style="color:#e95f9a;">'''Patrick'''</span>, starts in <span class="countdown">2016/04/23 13:00|Right now!|It's over!</span></p> | ||
<p class="cd">The thirteenth Japanese [[Splatfest]], <span style="color:#38c8d0;">'''Tuna Mayonnaise Onigiri'''</span> vs. <span style="color:#e56f87;">'''Red Salmon Onigiri'''</span>, starts in <span class="countdown">2016/04/23 00:00|Right now!|It's over!</span></p> | <p class="cd">The thirteenth Japanese [[Splatfest]], <span style="color:#38c8d0;">'''Tuna Mayonnaise Onigiri'''</span> vs. <span style="color:#e56f87;">'''Red Salmon Onigiri'''</span>, starts in <span class="countdown">2016/04/23 00:00|Right now!|It's over!</span></p> | ||
Revision as of 21:24, 23 April 2016
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!