Template:User time zone/doc

From 'City of Adelaide' History and Genealogy Site
Jump to navigation Jump to search

{{#invoke:Message box|mbox}} 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
UTC This user's time zone is Coordinated Universal Time.
{{User time zone|UTC||Coordinated Universal Time}}
|time zone{{!}}UTC|Coordinated Universal Time|
GMT This user's time zone is Greenwich Mean Time.
{{User time zone|GMT||Greenwich Mean Time}}
|time zone{{!}}GMT||Greenwich Mean Time
EST This user's time zone is Eastern Time Zone.
{{User time zone|EST||Eastern Time Zone}}
|time zone{{!}}EST||Eastern Time Zone|
UTC-05 This user's time zone is UTC-05.
{{User time zone|UTC-05}}
|time zone{{!}}UTC-5|
UTC+05:30 This user's time zone is UTC+05:30.
{{User time zone|UTC+5:30}}
|time zone{{!}}UTC+05:30|
UTC+00:20 This user's time zone is UTC+00:20.
{{User time zone|UTC+00:20}}
|time zone{{!}}UTC+00:20|
File:Noia 64 apps xclock.png This user's time zone is Coordinated Universal Time.
{{User time zone|UTC|watch|Coordinated Universal Time}}
|time zone{{!}}UTC{{!}}watch|Coordinated Universal Time|
File:Noia 64 apps xclock.png This user's time zone is GMT.
{{User time zone|GMT|watch|Greenwich Mean Time}}
|time zone{{!}}GMT{{!}}watch|Greenwich Mean Time|
File:Noia 64 apps xclock.png This user's time zone is Eastern Time Zone.
{{User time zone|EST|watch|Eastern Time Zone}}
|time zone{{!}}EST{{!}}watch|Eastern Time Zone|
File:Noia 64 apps xclock.png This user's time zone is UTC-05.
{{User time zone|UTC-05|watch}}
|time zone{{!}}UTC-0{{!}}watch|
File:Noia 64 apps xclock.png 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 Coordinated Universal Time.
{{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 Eastern Time Zone.
{{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|
File:Exquisite-kalarm.png This user's time zone is Coordinated Universal Time.
{{User time zone|UTC|alarm|Coordinated Universal Time}}
|time zone{{!}}UTC{{!}}|alarm|Coordinated Universal Time|
File:Exquisite-kalarm.png This user's time zone is GMT.
{{User time zone|GMT|alarm|Greenwich Mean Time}}
|time zone{{!}}GMT{{!}}alarm|Greenwich Mean Time|
File:Exquisite-kalarm.png This user's time zone is Eastern Time Zone.
{{User time zone|EST|alarm|Eastern Time Zone}}
|time zone{{!}}EST{{!}}alarm|Eastern Time Zone|
File:Exquisite-kalarm.png This user's time zone is UTC-05.
{{User time zone|UTC-05|alarm}}
|time zone{{!}}UTC-05{{!}}alarm|
File:Exquisite-kalarm.png This user's time zone is UTC+00:20.
{{User time zone|UTC+00:20|alarm}}
|time zone{{!}}UTC+00:20{{!}}alarm|
File:Nuvola apps kworldclock.png This user's time zone is Coordinated Universal Time.
{{User time zone|UTC|world|Coordinated Universal Time}}
|time zone{{!}}UTC{{!}}|world|Coordinated Universal Time|
File:Nuvola apps kworldclock.png This user's time zone is GMT.
{{User time zone|GMT|world|Greenwich Mean Time}}
|time zone{{!}}GMT{{!}}world|Greenwich Mean Time|
File:Nuvola apps kworldclock.png This user's time zone is Eastern Time Zone.
{{User time zone|EST|world|Eastern Time Zone}}
|time zone{{!}}EST{{!}}world|Eastern Time Zone|
File:Nuvola apps kworldclock.png This user's time zone is UTC-05.
{{User time zone|UTC-05|world}}
|time zone{{!}}UTC-05{{!}}world|
File:Nuvola apps kworldclock.png This user's time zone is UTC+00:20.
{{User time zone|UTC+00:20|world}}
|time zone{{!}}UTC+00:20{{!}}world|