Widget:Event countdown

From Guild Wars Wiki
Jump to navigationJump to search

Description

This widget displays the remaining for the current event, or time until the next event. This widget should be used via the wrapper template {{Event countdown widget}} to track usage.

The widget/wrapper template can however only be used in combination with {{Event countdown}}, as the widget itself does not produce an output, it only modifies the output of the other template.

Usage

Parameters

name
Optional. Displayed text for what starts (default: The event)
displayutc
The time (UTC) to begin displaying the event timer.
startutc
The event start time (UTC).
endutc
The event end time (UTC).
interval
The number of minutes between the beginning of each event (default: 180)
duration
Optional. The duration of each repetitions in minutes (default: 30)

Example wikicode

{{Event countdown
| [[#Schedule|Wintersday finale]] in Lion's Arch
| displayutc = Jul 1 {{CURRENTYEAR}} 00:00
| startutc = Jul 1 {{CURRENTYEAR}} 08:01
| endutc = Jul 2 {{CURRENTYEAR}} 08:01
| interval = 180
| duration = 15
| margin-top = -3.65em
| border-bottom = 1px solid #AAA
}}
{{Event countdown
| Wintersday finale in Kamadan
| displayutc = Jul 1 {{CURRENTYEAR}} 00:00
| startutc = Jul 1 {{CURRENTYEAR}} 08:16
| endutc = Jul 2 {{CURRENTYEAR}} 08:16
| interval = 180
| duration = 15
| margin-top = -1.95em
| border-bottom = 1px solid #AAA
}}
{{Event countdown widget}}