Template:Event timer

From Guild Wars Wiki
Jump to navigationJump to search
The event has started.

Description[edit]

{{Event timer|<target time>}}
{{Event timer|<target time>|<text>}}

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.

Note: As this template disables the caching of the pages where it is used, it should only be used for active events. This needs fixing since {{time}} no longer disables caching.

Parameters[edit]

unnamed parameter 1
Target time.
unnamed parameter 2
Optional. Displayed text what starts (default: The event)
color
Optional. Background color (default: #F0F0FF)
end
Optional. Set true if the timer is counting down to the end of an event (default: false)
rightalign
Optional. Set the object's px from the right side of the page (default: 13px)
margin-top
Optional. Set the margin-top div style parameter (default -2.8em)
border-bottom
Optional. Set the object's bottom border (default none)