Changes

no edit summary
Line 10: Line 10:  
* <code>style</code> : custom style, optional.
 
* <code>style</code> : custom style, optional.
 
* <code>extra_style</code> : extra style to add to the default style, optional.
 
* <code>extra_style</code> : extra style to add to the default style, optional.
* <code>class</code> : specify when multiple timers are used on the page, <code>countdownComplete1</code> by default, e.g., <code>countdownComplete2</code> for a second timer, etc.
+
<!--* <code>class</code> : specify when multiple timers are used on the page, <code>countdownComplete1</code> by default, e.g., <code>countdownComplete2</code> for a second timer, etc.-->
 
* <code>text</code> : optional completion text, <code>Countdown complete!</code> by default.
 
* <code>text</code> : optional completion text, <code>Countdown complete!</code> by default.
 
See [[MediaWiki:Gadget-Countdown.js]] for JS implementation details.
 
See [[MediaWiki:Gadget-Countdown.js]] for JS implementation details.
Line 19: Line 19:  
{{Timer|time = January 1 2021 00:00:00 +0900|extra_style = text-align:left}}
 
{{Timer|time = January 1 2021 00:00:00 +0900|extra_style = text-align:left}}
 
<pre>
 
<pre>
{{Timer
+
{{Timer|time = January 1 2025 00:00:00 +0900|style = font-style:italic|text = Not yet.}}
|time = January 1 2025 00:00:00 +0900
  −
|style = font-style:italic
  −
|class = countdownComplete2
  −
|text = Not yet.
  −
}}
   
</pre>
 
</pre>
{{Timer
+
{{Timer|time = January 1 2025 00:00:00 +0900|style = font-style:italic|text = Not yet.}}
|time = January 1 2025 00:00:00 +0900
  −
|style = font-style:italic
  −
|class = countdownComplete2
  −
|text = Not yet.
  −
}}
   
<pre>
 
<pre>
{{Timer
+
{{Timer|time = January 19 2038 12:14:07 +0900|style = font-weight:bold|text = The time is now!}}
|time = January 19 2038 12:14:07 +0900
  −
|style = font-weight:bold
  −
|class = countdownComplete2
  −
|text = The time is now!
  −
}}
   
</pre>
 
</pre>
{{Timer
+
{{Timer|time = January 19 2038 12:14:07 +0900|style = font-weight:bold|text = The time is now!}}
|time = January 19 2038 12:14:07 +0900
  −
|style = font-weight:bold
  −
|class = countdownComplete2
  −
|text = The time is now!
  −
}}
   
</noinclude>
 
</noinclude>
cssedit, gkautomate
6,926

edits