« Modèle:Countdowns » : différence entre les versions

De Inkipédia
Aller à la navigation Aller à la recherche
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 3 : Ligne 3 :
<p class="btextwidget">Infos utiles</p>
<p class="btextwidget">Infos utiles</p>
<p class="cd">La prochaine rotation des [[stages]] va avoir lieu dans : <span class="stageCountdown">...</span></p>
<p class="cd">La prochaine rotation des [[stages]] va avoir lieu dans : <span class="stageCountdown">...</span></p>
<p class="cd">La Nintendo Switch va sortir dans : <span class="countdown">2017/03/03 00:00|est disponible !</span></p></p>
<p class="cd">[[Splatoon 2]] sort dans : <span class="countdown">2017/07/21 00:00|est disponible, vite, en magasin !</span></p>
</span></p>
<p class="cd">La page [[Saint Valentin]] sera fermée aux messages dans <span class="countdown">2017/02/26 00:00|ah... c'est fini !</span></p></p>
</span></p>
<!-- Left here as an example
<!-- Left here as an example



Version du 9 juin 2017 à 17:55

Infos utiles

La prochaine rotation des stages va avoir lieu dans : ...

Splatoon 2 sort dans : 2017/07/21 00:00|est disponible, vite, en magasin !

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!