Template:User time zone

From Wikipedia, the free encyclopedia

{{{1}}} This user's time zone is [[{{{1}}}]].
[edit] Template documentation

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

[edit] Usage

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 three 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.

[edit] Samples

Template output Stand alone code Babel box code
UTC This user's time zone is UTC.
{{User time zone|UTC}}
|time zone{{!}}UTC|
GMT This user's time zone is GMT.
{{User time zone|GMT}}
|time zone{{!}}GMT|
EST This user's time zone is EST.
{{User time zone|EST}}
|time zone{{!}}EST|
UTC-5 This user's time zone is UTC-5.
{{User time zone|UTC-5}}
|time zone{{!}}UTC-5|
UTC+5:30 This user's time zone is UTC+5:30.
{{User time zone|UTC+5:30}}
|time zone{{!}}UCT+5:30|
UTC+0:20 This user's time zone is UTC+0:20.
{{User time zone|UTC+0:20}}
|time zone{{!}}UCT+0:20|
This user's time zone is UTC.
{{User time zone|UTC|watch}}
|time zone{{!}}UTC{{!}}watch|
This user's time zone is GMT.
{{User time zone|GMT|watch}}
|time zone{{!}}GMT{{!}}watch|
This user's time zone is EST.
{{User time zone|EST|watch}}
|time zone{{!}}EST{{!}}watch|
This user's time zone is UTC-5.
{{User time zone|UTC-5|watch}}
|time zone{{!}}UTC-5{{!}}watch|
This user's time zone is UTC+0:20.
{{User time zone|UTC+0:20|watch}}
|time zone{{!}}UTC+0:20{{!}}watch|
This user's time zone is UTC.
{{User time zone|UTC|clock}}
|time zone{{!}}UTC{{!}}clock|
This user's time zone is GMT.
{{User time zone|GMT|clock}}
|time zone{{!}}GMT{{!}}clock|
This user's time zone is EST.
{{User time zone|EST|clock}}
|time zone{{!}}EST{{!}}clock|
This user's time zone is UTC-5.
{{User time zone|UTC-5|clock}}
|time zone{{!}}UTC-5{{!}}clock|
This user's time zone is UTC+0:20.
{{User time zone|UTC+0:20|clock}}
|time zone{{!}}UTC+0:20{{!}}clock|
This user's time zone is UTC.
{{User time zone|UTC|alarm}}
|time zone{{!}}UTC{{!}}|alarm|
This user's time zone is GMT.
{{User time zone|GMT|alarm}}
|time zone{{!}}GMT{{!}}alarm|
This user's time zone is EST.
{{User time zone|EST|alarm}}
|time zone{{!}}EST{{!}}alarm|
This user's time zone is UTC-5.
{{User time zone|UTC-5|alarm}}
|time zone{{!}}UTC-5{{!}}alarm|
This user's time zone is UTC+0:20.
{{User time zone|UTC+0:20|alarm}}
|time zone{{!}}UTC+0:20{{!}}alarm|

[edit] Available UTC offsets

+14, +13:45, +13, +12:45, +12, +11:30, +11, +10:30, +10, +9:30, +9, +8:45, +8:30, +8, +7:30, +7:20, +7, +6:30, +6, +5:45, +5:40, +5:30, +5, +4:51, +4:30, +4, +3:30, +3, +2, +1, +0:30, +0:20, -0:25, -1, -2, -2:30, -3, -3:30, -4, -5, -6, -7, -8, -9, -9:30, -10, -11, -12

Languages