Template:User time zone/forced DST

From Wikipedia, the free encyclopedia
Jump to: navigation, search
{{{1}}} This user's standard time zone is [[{{{1}}}]], but is forced to use [[{{{2}}}]] during summer.
Documentation icon Template documentation[view] [edit] [history] [purge]

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

Usage[edit]

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 and fourth 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[edit]

Template output Stand alone code
UTC This user's standard time zone is UTC, but is forced to use UTC+01 during summer.
{{User time zone/forced DST|UTC|UTC+01}}
UTC−07 This user's standard time zone is UTC−07, but is forced to use UTC−06 during summer.
{{User time zone/forced DST|UTC−07|UTC−06}}
MST This user's standard time zone is MST, but is forced to use MDT during summer.
{{User time zone/forced DST|MST|MDT|Mountain Standard Time|Mountain Daylight Time}}
UTC−03:30 This user's standard time zone is UTC−03:30, but is forced to use UTC−02:30 during summer.
{{User time zone/forced DST|UTC−03:30|UTC−02:30}}
UTC−03 This user's standard time zone is UTC−03, but is forced to use UTC−02 during summer.
{{User time zone/forced DST|UTC−03|UTC−02}}

Available UTC offsets[edit]

See also[edit]