Template:User time zone

From Miraheze Meta, Miraheze's central coordination wiki
{{{1}}}This user's time zone is {{{1}}}.

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

Usage[edit source]

The first variable of the template is required and can be UTC with or without an offset, GMT, or your time zone's abbreviation. If you do not want your link to your time zone's abbreviation to go to a disambiguation page, use the following syntax to link to the correct article: time zone{{!}}time zone abbreviation. Please use an image if you link directly to an article. 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.

Samples[edit source]

Template output Stand alone code Babel box code
UTCThis user's time zone is UTC.
{{User time zone|UTC}}
|time zone{{!}}UTC|
GMTThis user's time zone is GMT.
{{User time zone|GMT}}
|time zone{{!}}GMT|
ESTThis user's time zone is EST.
{{User time zone|EST}}
|time zone{{!}}EST|
UTC-5This user's time zone is UTC-5.
{{User time zone|UTC-5}}
|time zone{{!}}UTC-5|
UTC+0:20This 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|