<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://gw1wiki.ezgame.cc/index.php?action=history&amp;feed=atom&amp;title=Template%3AEvent_timer</id>
	<title>Template:Event timer - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://gw1wiki.ezgame.cc/index.php?action=history&amp;feed=atom&amp;title=Template%3AEvent_timer"/>
	<link rel="alternate" type="text/html" href="https://gw1wiki.ezgame.cc/index.php?title=Template:Event_timer&amp;action=history"/>
	<updated>2026-10-18T13:08:01Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.17</generator>
	<entry>
		<id>https://gw1wiki.ezgame.cc/index.php?title=Template:Event_timer&amp;diff=1545&amp;oldid=prev</id>
		<title>gww&gt;Chieftain Alex: /* Parameters */</title>
		<link rel="alternate" type="text/html" href="https://gw1wiki.ezgame.cc/index.php?title=Template:Event_timer&amp;diff=1545&amp;oldid=prev"/>
		<updated>2018-07-01T10:18:07Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Parameters&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{#if: &amp;lt;!-- Hide whitespace --&amp;gt;&lt;br /&gt;
 {{#vardefine: eventTimerDiff | {{#expr: ( {{#time: U | {{{1|}}} }} - {{time|U}} ) / 60 round 0 }} }}&amp;lt;!-- using the DPL time here used to disable caching, which no longer works --&amp;gt;&lt;br /&gt;
 {{#vardefine: eventTimerH    | {{round | {{#expr: {{#var:eventTimerDiff}} / 60 }} | floor }}      }}&lt;br /&gt;
 {{#vardefine: eventTimerM    | {{#expr: {{#var:eventTimerDiff}} mod 60 }}                         }}&lt;br /&gt;
}}&amp;lt;div style=&amp;quot;position: absolute; background: {{{color|#F0F0FF}}}; padding: 0.2em 1em; border: 1px solid #AAA; border-bottom: {{{border-bottom|none}}}; margin-top: {{{margin-top|-2.8em}}}; font-size: 1.2em; font-style: italic; right: {{{rightalign|13px}}}; text-align: right;&amp;quot;&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{{2|The event}}} {{#ifexpr: {{#var:eventTimerDiff}} &amp;lt;= 0&lt;br /&gt;
| has {{#if: {{{end|}}} | ended | started }}&lt;br /&gt;
| {{#if: {{{end|}}} | ends | starts }} in {{#ifexpr: {{#var:eventTimerH}} &amp;gt; 0&lt;br /&gt;
    | {{#var:eventTimerH}} hour{{#ifexpr: {{#var:eventTimerH}} != 1 | s }} and&lt;br /&gt;
   }} {{#var:eventTimerM }} minute{{#ifexpr: {{#var:eventTimerM }} != 1 | s }}&lt;br /&gt;
}}.&amp;lt;/div&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{Event timer|&amp;lt;target time&amp;gt;}}&lt;br /&gt;
{{Event timer|&amp;lt;target time&amp;gt;|&amp;lt;text&amp;gt;}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This template displays a uncached but static countdown timer for use on event description pages. The template usage needs to be changed manually to show the next target.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt;''Note:'' As this template disables the caching of the pages where it is used, it should only be used for ''active'' events.&amp;lt;/span&amp;gt; ''This needs fixing since {{tl|time}} no longer disables caching.''&lt;br /&gt;
&lt;br /&gt;
=== Parameters ===&lt;br /&gt;
; ''unnamed parameter'' 1&lt;br /&gt;
: Target time.&lt;br /&gt;
; ''unnamed parameter'' 2&lt;br /&gt;
: Optional. Displayed text what starts (default: &amp;lt;tt&amp;gt;The event&amp;lt;/tt&amp;gt;)&lt;br /&gt;
; color&lt;br /&gt;
: Optional. Background color (default: &amp;lt;tt&amp;gt;#F0F0FF&amp;lt;/tt&amp;gt;)&lt;br /&gt;
; end&lt;br /&gt;
: Optional. Set true if the timer is counting down to the end of an event (default: &amp;lt;tt&amp;gt;false&amp;lt;/tt&amp;gt;)&lt;br /&gt;
; rightalign&lt;br /&gt;
: Optional. Set the object's px from the right side of the page (default: &amp;lt;tt&amp;gt;13px&amp;lt;/tt&amp;gt;)&lt;br /&gt;
; margin-top&lt;br /&gt;
: Optional. Set the margin-top div style parameter (default &amp;lt;tt&amp;gt;-2.8em&amp;lt;/tt&amp;gt;)&lt;br /&gt;
; border-bottom&lt;br /&gt;
: Optional. Set the object's bottom border (default &amp;lt;tt&amp;gt;none&amp;lt;/tt&amp;gt;)&lt;br /&gt;
[[Category:Formatting templates|Event timer]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>gww&gt;Chieftain Alex</name></author>
	</entry>
</feed>