Template:Countdowns: Difference between revisions

From Inkipedia, the Splatoon wiki
m (-)
No edit summary
 
(44 intermediate revisions by 10 users not shown)
Line 1: Line 1:
<div class="widget">
<div class="widget">
<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">[[Splatoon (anime)|The ''Splatoon'' anime series]] will be released in '''<span class="countdown">2017/08/12 00:00|It's out!</span>'''</p>
<p class="cd">The next update for ''[[Splatoon]]'' [[Version 2.9.0]] will apply in: <span class="countdown">2016/7/6 04:50|Right now!|Right now!</span></p>
</p>
<p class="cd">The final [[Splatfest]], <span style="color:purple;">'''Callie'''</span> vs. <span style="color: limegreen;">'''Marie'''</span>, starts in: <span class="countdown">2016/07/22 09:00|Right now!|It's over! Staaaay fresh!</span></p>
</span></p>
 
 
<!-- Left here as an example
 
<p class="cd">The next Europe & Oceania [[Splatfest]], <span style="color:#FF8000;">'''Eating'''</span> vs. <span style="color: purple;">'''Sleeping'''</span>, starts in: <span class="countdown">2015/07/19 17:00|Right now!|It's over!</span></p>
 
-->
 
</div><noinclude>
</div><noinclude>


Line 20: Line 11:
:<code>&lt;p class="cd"&gt;The next countdown starts in &lt;span class="countdown"&gt;'''date''' '''time'''|'''ongoing message'''|'''over message'''&lt;span&gt;</code>
:<code>&lt;p class="cd"&gt;The next countdown starts in &lt;span class="countdown"&gt;'''date''' '''time'''|'''ongoing message'''|'''over message'''&lt;span&gt;</code>


*'''date''' gets replaced with the date of the countdown, in the format "yyyy/mm/dd". Example: <code>2015/07/18</code>.
*'''date''' gets replaced with the date of the countdown, in the format "yyyy/mm/dd". Example: <code>2016/07/18</code>.
*'''time''' gets replaced with the hour in UTC, in the format "hh:mm". Example: <code>17:00</code>.
*'''time''' gets replaced with the hour in UTC, in the format "hh:mm". Example: <code>17:00</code>.
*'''ongoing message''' gets replaced with the text to display if the event is ongoing. It is considered ongoing during the first 24 hours. Example: <code>Right now!</code>
*'''ongoing message''' gets replaced with the text to display if the event is ongoing. It is considered ongoing during the first 24 hours. Example: <code>Right now!</code>

Latest revision as of 13:53, 11 August 2017

Countdowns

The Splatoon anime series will be released in 2017/08/12 00:00|It's out!

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: 2016/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!