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

De Inkipédia
Aucun résumé des modifications
(Il existe déjà un compteur en français)
Balise : Blanchiment
 
(44 versions intermédiaires par 7 utilisateurs non affichées)
Ligne 1 : Ligne 1 :
<div class="widget">


<p class="btextwidget">Infos utiles</p>
<p class="cd">La prochaine rotation de [[map]]s va changer dans : <span class="stageCountdown">...</span></p>
<p class="cd">La prochaine mise à jour de ''[[Splatoon]]'', la [[version 2.8.0]], sera disponible dans : <span class="countdown">2016/6/8 02:00|est disponible !|est disponible !</span></p>
<p class="cd">Le prochain [[Splatfest]] d'Europe et Océanie (<span style="color:green;">'''Tour du monde'''</span> vs. <span style="color:blue;">'''Voyage dans l'espace'''</span>) débute dans un jour (11/06/2016 à 19h00).</p>
<p class="cd">Le prochain [[Splatfest]] du Japon (<span style="color:#fedc0c;">'''Mushroom Mountain'''</span> vs. <span style="color:green;">'''Bamboo Shoot Village'''</span>) débute dans une semaine (19/06/2016 à 14h00).</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>
==Info==
This template displays the box for the countdowns on the front page. To add a countdown, use the following 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>.
*'''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>
*'''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: <code>It's over!</code>
[[Category:Templates]]</noinclude>

Dernière version du 7 mai 2024 à 10:29