Template:Countdowns: Difference between revisions
From Inkipedia, the Splatoon wiki
(Editing date) |
(Editing date) |
||
Line 12: | Line 12: | ||
:<code><p class="cd">The next countdown starts in <span class="countdown">'''date''' '''time'''|'''ongoing message'''|'''over message'''<span></code> | :<code><p class="cd">The next countdown starts in <span class="countdown">'''date''' '''time'''|'''ongoing message'''|'''over message'''<span></code> | ||
*'''date''' gets replaced with the date of the countdown, in the format "yyyy/mm/dd". Example: <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> |
Revision as of 23:39, 29 December 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:
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!