Jump to content

Template:User time zone/doc

From Wikipedia, the free encyclopedia

This template is meant to replace all other time zone related templates. Please see the usage to create your template.

Usage

[edit]

The first variable of the template is required and can be UTC with or without an offset, GMT, or your time zone's abbreviation. The second variable is the image you wish to use. There are four images to from which to choose, or you can leave it blank, and your time zone's abbreviation will be displayed where the image would be. It is recommended that you use an image with a time zone with an offset. The third variable is for the link for the timezone abbreviation to point to - by default, this is the abbreviation itself, which is usually a disambiguation. The old syntax using time zone{{!}}time zone abbreviation in the first argument is still currently supported, but requires that an image be used.

Samples

[edit]
Template output Stand alone code Babel box code
UTCThis user's time zone is UTC.
{{User time zone|UTC||Coordinated Universal Time}}
|time zone{{!}}UTC|Coordinated Universal Time|
GMTThis user's time zone is GMT.
{{User time zone|GMT||Greenwich Mean Time}}
|time zone{{!}}GMT||Greenwich Mean Time
ESTThis user's time zone is EST.
{{User time zone|EST||Eastern Time Zone}}
|time zone{{!}}EST||Eastern Time Zone|
UTC−05This user's time zone is UTC−05.
{{User time zone|UTC−05}}
|time zone{{!}}UTC−05|
UTC+05:30This user's time zone is UTC+05:30.
{{User time zone|UTC+5:30}}
|time zone{{!}}UTC+05:30|
UTC+00:20This user's time zone is UTC+00:20.
{{User time zone|UTC+00:20}}
|time zone{{!}}UTC+00:20|
This user's time zone is UTC.
{{User time zone|UTC|watch|Coordinated Universal Time}}
|time zone{{!}}UTC{{!}}watch|Coordinated Universal Time|
This user's time zone is GMT.
{{User time zone|GMT|watch|Greenwich Mean Time}}
|time zone{{!}}GMT{{!}}watch|Greenwich Mean Time|
This user's time zone is EST.
{{User time zone|EST|watch|Eastern Time Zone}}
|time zone{{!}}EST{{!}}watch|Eastern Time Zone|
PTThis user's time zone is UTC−08.
{{User time zone|UTC−08|PT|Pacific Time Zone}}
|time zone{{!}}UTC−08{{!}}|PT{{!}}Pacific Time Zone|
This user's time zone is UTC−05.
{{User time zone|UTC−05|watch}}
|time zone{{!}}UTC−05{{!}}watch|
This user's time zone is UTC+00:20.
{{User time zone|UTC+00:20|watch}}
|time zone{{!}}UTC+00:20{{!}}watch|
This user's time zone is UTC.
{{User time zone|UTC|clock|Coordinated Universal Time}}
|time zone{{!}}UTC{{!}}clock|Coordinated Universal Time|
This user's time zone is GMT.
{{User time zone|GMT|clock|Greenwich Mean Time}}
|time zone{{!}}GMT{{!}}clock|Greenwich Mean Time|
This user's time zone is EST.
{{User time zone|EST|clock|Eastern Time Zone}}
|time zone{{!}}EST{{!}}clock|Eastern Time Zone|
This user's time zone is UTC−05.
{{User time zone|UTC−05|clock}}
|time zone{{!}}UTC−05{{!}}clock|
This user's time zone is UTC+00:20.
{{User time zone|UTC+00:20|clock}}
|time zone{{!}}UTC+00:20{{!}}clock|
This user's time zone is UTC.
{{User time zone|UTC|alarm|Coordinated Universal Time}}
|time zone{{!}}UTC{{!}}|alarm|Coordinated Universal Time|
This user's time zone is GMT.
{{User time zone|GMT|alarm|Greenwich Mean Time}}
|time zone{{!}}GMT{{!}}alarm|Greenwich Mean Time|
This user's time zone is EST.
{{User time zone|EST|alarm|Eastern Time Zone}}
|time zone{{!}}EST{{!}}alarm|Eastern Time Zone|
This user's time zone is UTC−05.
{{User time zone|UTC−05|alarm}}
|time zone{{!}}UTC−05{{!}}alarm|
This user's time zone is UTC+00:20.
{{User time zone|UTC+00:20|alarm}}
|time zone{{!}}UTC+00:20{{!}}alarm|
This user's time zone is UTC.
{{User time zone|UTC|world|Coordinated Universal Time}}
|time zone{{!}}UTC{{!}}|world|Coordinated Universal Time|
This user's time zone is GMT.
{{User time zone|GMT|world|Greenwich Mean Time}}
|time zone{{!}}GMT{{!}}world|Greenwich Mean Time|
This user's time zone is EST.
{{User time zone|EST|world|Eastern Time Zone}}
|time zone{{!}}EST{{!}}world|Eastern Time Zone|
This user's time zone is UTC−05.
{{User time zone|UTC−05|world}}
|time zone{{!}}UTC−05{{!}}world|
This user's time zone is UTC+00:20.
{{User time zone|UTC+00:20|world}}
|time zone{{!}}UTC+00:20{{!}}world|

Available UTC offsets:

[edit]

See also

[edit]