Template:User time zone/DST/doc

From Infogalactic: the planetary knowledge core
Jump to: navigation, search

This template requires at least three variables, please see usage.

Usage

The first variable of the template represents the name of your standard time zone, it can be UTC with or without an offset, or the zone's abbreviation. The second variable of the template represents the name of your time zone during daylight savings, it can be UTC with or without an offset, or the zone's abbreviation. The third variable is the range of months of year that you observe daylight savings. The fourth and fifth variables are the links for the time zone abbreviation to point to - by default, this is the abbreviation itself, which is usually a disambiguation, not the intended article.

Samples

Template output Stand alone code
UTC This user's standard time zone is UTC, but uses UTC+01 from April to October.
{{User time zone/DST|UTC|UTC+01|April to October}}
UTC−07 This user's standard time zone is UTC−07, but uses UTC−06 from March to October.
{{User time zone/DST|UTC−07|UTC−06|March to October}}
MST This user's standard time zone is MST, but uses MDT from March to October.
{{User time zone/DST|MST|MDT|March to October|Mountain Standard Time|Mountain Daylight Time}}
UTC−03:30 This user's standard time zone is UTC−03:30, but uses UTC−02:30 from March to October.
{{User time zone/DST|UTC−03:30|UTC−02:30|March to October}}
UTC−03 This user's standard time zone is UTC−03, but uses UTC−02 from November to February.
{{User time zone/DST|UTC−03|UTC−02|November to February}}

Available UTC offsets:

See also