Template:User time zone/doc

From TWC Archive
Jump to navigation Jump to search

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

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

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|
Pocket watch.svgThis user's time zone is UTC.
{{User time zone|UTC|watch|Coordinated Universal Time}}
|time zone{{!}}UTC{{!}}watch|Coordinated Universal Time|
Pocket watch.svgThis user's time zone is GMT.
{{User time zone|GMT|watch|Greenwich Mean Time}}
|time zone{{!}}GMT{{!}}watch|Greenwich Mean Time|
Pocket watch.svgThis 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|
Pocket watch.svgThis user's time zone is UTC−05.
{{User time zone|UTC−05|watch}}
|time zone{{!}}UTC−05{{!}}watch|
Pocket watch.svgThis user's time zone is UTC+00:20.
{{User time zone|UTC+00:20|watch}}
|time zone{{!}}UTC+00:20{{!}}watch|
Wall clock.pngThis user's time zone is UTC.
{{User time zone|UTC|clock|Coordinated Universal Time}}
|time zone{{!}}UTC{{!}}clock|Coordinated Universal Time|
Wall clock.pngThis user's time zone is GMT.
{{User time zone|GMT|clock|Greenwich Mean Time}}
|time zone{{!}}GMT{{!}}clock|Greenwich Mean Time|
Wall clock.pngThis user's time zone is EST.
{{User time zone|EST|clock|Eastern Time Zone}}
|time zone{{!}}EST{{!}}clock|Eastern Time Zone|
Wall clock.pngThis user's time zone is UTC−05.
{{User time zone|UTC−05|clock}}
|time zone{{!}}UTC−05{{!}}clock|
Wall clock.pngThis user's time zone is UTC+00:20.
{{User time zone|UTC+00:20|clock}}
|time zone{{!}}UTC+00:20{{!}}clock|
Exquisite-kalarm.pngThis user's time zone is UTC.
{{User time zone|UTC|alarm|Coordinated Universal Time}}
|time zone{{!}}UTC{{!}}|alarm|Coordinated Universal Time|
Exquisite-kalarm.pngThis user's time zone is GMT.
{{User time zone|GMT|alarm|Greenwich Mean Time}}
|time zone{{!}}GMT{{!}}alarm|Greenwich Mean Time|
Exquisite-kalarm.pngThis user's time zone is EST.
{{User time zone|EST|alarm|Eastern Time Zone}}
|time zone{{!}}EST{{!}}alarm|Eastern Time Zone|
Exquisite-kalarm.pngThis user's time zone is UTC−05.
{{User time zone|UTC−05|alarm}}
|time zone{{!}}UTC−05{{!}}alarm|
Exquisite-kalarm.pngThis user's time zone is UTC+00:20.
{{User time zone|UTC+00:20|alarm}}
|time zone{{!}}UTC+00:20{{!}}alarm|
Nuvola apps kworldclock.pngThis user's time zone is UTC.
{{User time zone|UTC|world|Coordinated Universal Time}}
|time zone{{!}}UTC{{!}}|world|Coordinated Universal Time|
Nuvola apps kworldclock.pngThis user's time zone is GMT.
{{User time zone|GMT|world|Greenwich Mean Time}}
|time zone{{!}}GMT{{!}}world|Greenwich Mean Time|
Nuvola apps kworldclock.pngThis user's time zone is EST.
{{User time zone|EST|world|Eastern Time Zone}}
|time zone{{!}}EST{{!}}world|Eastern Time Zone|
Nuvola apps kworldclock.pngThis user's time zone is UTC−05.
{{User time zone|UTC−05|world}}
|time zone{{!}}UTC−05{{!}}world|
Nuvola apps kworldclock.pngThis user's time zone is UTC+00:20.
{{User time zone|UTC+00:20|world}}
|time zone{{!}}UTC+00:20{{!}}world|

Available UTC offsets:

See also