User:DryHumour/Sandbox/Event timetable

From Guild Wars Wiki
Jump to navigationJump to search

Description[edit]

Periodic event timetable with on-demand update.

The timetable will display up to twelve rows, each representing one interval between startutc and endutc. The table background will be color coded starting from one interval before startutc until one interval after endutc. Between these times, the rows will be green if the time has not yet arrived, and grey otherwise.

Renders correctly in:

  • Firefox 3.5
  • Opera 10.10
  • Safari 4.0.4
  • Chrome 3.0
  • Internet Explorer 8 (after much grief and tweaking…)

Under IE7 (and IE8 in compatibility mode), the caption-position is not honored and the header rule is the wrong color. (How I loathe IE. The others all just worked right, first time. Sigh.)

{{ Event timetable
| event = 
| headcolor = 
| pacificzone = 
| startutc = 
| endutc = 
| interval = 
}}

Parameters[edit]

event
Optional. The name of the event. Possible values:
  • Canthan New Year
  • Dragon Festival
  • Halloween
  • Wintersday
pacificzone
The Pacific time zone to be used. Possible values:
  • PST Pacific standard time
  • PDT Pacific daylight saving time
startutc
The event start time, UTC.
endutc
The event end time, UTC.
interval
The number of minutes between repetitions.

Examples[edit]

Wintersday[edit]

{{ Event timetable
| event = Wintersday
| pacificzone = PST
| startutc = January 1 2010 08:01
| endutc = January 2 2010 08:01
| interval = 180
}}
Last update
Sunday, 03:35 UTC
PST
(UTC-8)
UTC / GMT
(24 hr format)
12:01 am 08:01
3:01 am 11:01
6:01 am 14:01
9:01 am 17:01
12:01 pm 20:01
3:01 pm 23:01
6:01 pm 02:01
January 2
9:01 pm 05:01
January 2
12:01 am
January 2
08:01
January 2

Halloween[edit]

{{ Event timetable
| event = Halloween
| pacificzone = PDT
| startutc = October 31 2009 07:01
| endutc = November 1 2009 07:01
| interval = 180
}}
Last update
Sunday, 03:35 UTC
PDT
(UTC-7)
UTC / GMT
(24 hr format)
12:01 am 07:01
3:01 am 10:01
6:01 am 13:01
9:01 am 16:01
12:01 pm 19:01
3:01 pm 22:01
6:01 pm 01:01
November 1
9:01 pm 04:01
November 1
12:01 am
November 1
07:01
November 1

Aqua header[edit]

{{ Event timetable
| event = Aqua
| pacificzone = PST
| startutc = December 10 2009 00:01
| endutc = January 2 2010 00:01
| interval = {{#expr: 2 * 24 * 60}}
}}
Last update
Sunday, 03:35 UTC
PST
(UTC-8)
UTC / GMT
(24 hr format)
4:01 pm 00:01
4:01 pm
December 11
00:01
December 12
4:01 pm
December 13
00:01
December 14
4:01 pm
December 15
00:01
December 16
4:01 pm
December 17
00:01
December 18
4:01 pm
December 19
00:01
December 20
4:01 pm
December 21
00:01
December 22
4:01 pm
December 23
00:01
December 24
4:01 pm
December 25
00:01
December 26
4:01 pm
December 27
00:01
December 28
4:01 pm
December 29
00:01
December 30
4:01 pm
December 31
00:01
January 1

White header[edit]

{{ Event timetable
| pacificzone = PST
| startutc = December 10 2009 00:01
| endutc = January 2 2010 00:01
| interval = {{#expr: 2 * 24 * 60}}
}}
Last update
Sunday, 03:35 UTC
PST
(UTC-8)
UTC / GMT
(24 hr format)
4:01 pm 00:01
4:01 pm
December 11
00:01
December 12
4:01 pm
December 13
00:01
December 14
4:01 pm
December 15
00:01
December 16
4:01 pm
December 17
00:01
December 18
4:01 pm
December 19
00:01
December 20
4:01 pm
December 21
00:01
December 22
4:01 pm
December 23
00:01
December 24
4:01 pm
December 25
00:01
December 26
4:01 pm
December 27
00:01
December 28
4:01 pm
December 29
00:01
December 30
4:01 pm
December 31
00:01
January 1