Difference between revisions of "Template:User time zone"
m (importing wikitemplate) |
(No difference)
|
Revision as of 01:12, 4 July 2007
{{{1}}} | This user's time zone is {{{1}}}. |
----
This template was extracted, copied, adapted or otherwise inspired by an existing one in the Wikipedia, which is licensed under the GNU Free Documentation License.
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 (watch, clock, alarm or world), 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 the timezone abbreviation - 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.
Offsets
See the list of time zones for appropriate values.
Samples
Template output | Stand alone code | Babel-X box code | ||
---|---|---|---|---|
|
{{User time zone|UTC}} | |time zone{{!}}UTC| | ||
|
{{User time zone|GMT}} | |time zone{{!}}GMT| | ||
|
{{User time zone|UTC-5}} | |time zone{{!}}UTC-5| | ||
|
{{User time zone|UTC+0:20}} | |time zone{{!}}UCT+0:20| | ||
{{User time zone|UTC-5|watch}} | |time zone{{!}}UTC-5{{!}}watch| | |||
{{User time zone|UTC-5|clock}} | |time zone{{!}}UTC-5{{!}}clock| | |||
{{User time zone|UTC-5|alarm}} | |time zone{{!}}UTC-5{{!}}alarm| | |||
{{User time zone|UTC-5|world}} | |time zone{{!}}UTC-5{{!}}world| |