{{{Event}}}
on {{{Y}}}-{{{M}}}-{{{D}}} at 00h00m Pacific
Lock-icon.png This page has been locked
Changes can be discussed on the talk page, or you can request unprotection.
Lock-icon.png


Template documentation (for the above template, sometimes hidden or invisible)[view] [edit] [history] [refresh]

Description

This template generates a countdown and timezone converter for an event, configured by the parameters provided.

Dependencies

  • w:c:dev:Countdown is a required extension.
  • {{Countdown Timezone/Timezone Codes}}
    • {{Countdown Timezone}} uses {{Countdown Timezone/Timezone Codes}} to convert from the city and date of the event to the appropriate timezone, even accounting for Daylight-Saving Time.  This dependency also autoselects the correct timezone code to use when generating the links to timeanddate.com.
    • {{Countdown Timezone/Timezone Codes}} must be manually updated with new cities and timezones, although it is a relatively easy process due to the use of switch parser functions.
  • timeanddate.com
    • The countdown template generates URLs to timeanddate.com using their format.  If their format changes, then this template may not function properly.

Syntax

Type {{Countdown Timezone|Event=|City=|Y=|M=|D=|H=|Min=}} somewhere, with parameters as shown below.

Parameters

| Event = Event name (Required)
| City = City in which event will occur and by which the timezone is selected (Required, defaults Los Angeles if blank)
| Y = Year (Required, 4 numbers)
| M = Month (Required, 2 numbers)
| D = Day (Required, 2 numbers)
| H = Hour (Optional, 2 numbers, defaults to 00, 24-hour format)
| Min = Minutes (Optional, 2 numbers, defaults to 00)
| S = Hour (Optional, 2 numbers, defaults to 00)

Example

{{Countdown Timezone
| Event = Critical Role – Episode 61
| City = Los Angeles
| Y = 2016
| M = 07
| D = 28
| H = 19
| Min = 
| S = 
}}

...results in...

Critical Role – Episode 61
on 2016-07-28 at 19h00m PDT

Empty Template

{{Countdown Timezone
| Event = 
| City = 
| Y = 
| M = 
| D = 
| H = 
| Min = 
| S
}}
The above text is transcluded from Template:Countdown Timezone/doc; you can change it or view its history. (How does this work?)
If you're done making changes, please refresh the text. (Why?)
You can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Please add categories and interwikis to Template:Countdown Timezone/doc. (View all subpages of this page.)
Community content is available under CC-BY-SA unless otherwise noted.