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

De Inkipédia
Aller à la navigation Aller à la recherche
Aucun résumé des modifications
(Ajouté à le Splatoon 3 Countdown.)
Ligne 1 : Ligne 1 :
<div class="widget">
<div class="widget">


<p class="btextwidget">Infos utiles</p>
<div class="bubbleboxbg-lighter" style="border: 2px solid #ffffff; border-radius: 8px; font-size: 20px; text-align: center; font-weight: bold;">La [[Contreé Clabousse]] attend!</div>
<p class="cd">La prochaine rotation des [[stages]] de [[Splatoon]] 1 va avoir lieu dans : <span class="stageCountdown">...</span></p>
 
<div class="bubbleboxbg-darker" style="display: flex; flex-wrap: wrap; flex: auto; justify-content: space-around; align-content: center;margin: 0.15em 0; border: 2px solid #ffffff; border-radius: 8px; padding: 4px;"><div style="margin: auto 0; text-align: center;">[[File:Splatoon 3 logo pre-release 1.png|x56px|link=Splatoon 3]]<br>'''<span class="countdown">2022/09/09 00:00|Maintenant disponible!</span>'''</div>
[[File:S3FillePrincipal.png|x100px|link=]]
</div>
<div class="bubbleboxbg-lighter" style="border: 2px solid #ffffff; border-radius: 8px; text-align: center; font-size: 12px;">Se joindre à la guerre sur le 9 septembre 2022!</div>
</div>


<!-- Left here as an example
<!-- Left here as an example

Version du 24 juillet 2022 à 23:46

Fichier:Splatoon 3 logo pre-release 1.png
2022/09/09 00:00|Maintenant disponible!

S3FillePrincipal.png

Se joindre à la guerre sur le 9 septembre 2022!


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!