« Modèle:Countdowns » : différence entre les versions
Aller à la navigation
Aller à la recherche
(Modifié pour le compte à rebours jusqu'à la prochaine saison. Je n'ai pas réussi à obtenir une photo promotionnelle en français.) |
m (Splatoon 3 couleur) |
||
Ligne 1 : | Ligne 1 : | ||
<div class="widget"> | <div class="widget" style="border-color: #ebee3d;"> | ||
<div class="bubbleboxbg-lighter" style="border: 2px solid #ffffff; border-radius: 8px; font-size: 20px; text-align: center; font-weight: bold;">Une nouvelle [[saison]] commence !</div> | <div class="bubbleboxbg-lighter" style="border: 2px solid #ffffff; border-radius: 8px; font-size: 20px; text-align: center; font-weight: bold;">Une nouvelle [[saison]] commence !</div> |
Version du 22 mai 2023 à 20:49
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!