Anonyme

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

De Inkipédia
Il existe déjà un compteur en français
(Suppression des informations obsolètes)
(Il existe déjà un compteur en français)
Balise : Blanchiment
 
Ligne 1 : Ligne 1 :
<!--<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-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;"><br>'''<span class="countdown">2023/06/01 00:00|Il est là !</span>'''</div>
</div>
<div class="bubbleboxbg-lighter" style="border: 2px solid #ffffff; border-radius: 8px; text-align: center; font-size: 12px;">La [[Saison des bourgeons 2023]] arrive sur [[Splatoon 3]] le premier juin 2023 !</div>
</div>--!>
<!-- 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>
756

modifications