Template:User time zone: Difference between revisions

From TestWiki
Content added Content deleted
mNo edit summary
No edit summary
Line 8: Line 8:
| info = {{LangSwitch
| info = {{LangSwitch
| en = This user's time zone is '''{{{1}}}'''.
| en = This user's time zone is '''{{{1}}}'''.
| fr = Le fuseau horaire de cet utilisateur est '''{{{1}}}'''.
| fi = Tämän käyttäjän aikavyöhyke on '''{{{1}}}'''.
| fi = Tämän käyttäjän aikavyöhyke on '''{{{1}}}'''.
| zh-hans = 此用户的时区是'''{{{1}}}'''。
| zh-hans = 此用户的时区是'''{{{1}}}'''。

Revision as of 20:20, 4 March 2018

{{{1}}}{{{info}}}

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

Template output Stand alone code Babel box code
UTC{{{info}}}
{{User time zone|UTC}}
|time zone{{!}}UTC|
GMT{{{info}}}
{{User time zone|GMT}}
|time zone{{!}}GMT|
EST{{{info}}}
{{User time zone|EST}}
|time zone{{!}}EST|
UTC-5{{{info}}}
{{User time zone|UTC-5}}
|time zone{{!}}UTC-5|
UTC+0:20{{{info}}}
{{User time zone|UTC+0:20}}
|time zone{{!}}UCT+0:20|
{{{info}}}
{{User time zone|UTC|watch}}
|time zone{{!}}UTC{{!}}watch|
{{{info}}}
{{User time zone|GMT|watch}}
|time zone{{!}}GMT{{!}}watch|
{{{info}}}
{{User time zone|EST|watch}}
|time zone{{!}}EST{{!}}watch|
{{{info}}}
{{User time zone|UTC-5|watch}}
|time zone{{!}}UTC-5{{!}}watch|
{{{info}}}
{{User time zone|UTC+0:20|watch}}
|time zone{{!}}UTC+0:20{{!}}watch|
{{{info}}}
{{User time zone|UTC|clock}}
|time zone{{!}}UTC{{!}}clock|
{{{info}}}
{{User time zone|GMT|clock}}
|time zone{{!}}GMT{{!}}clock|
{{{info}}}
{{User time zone|EST|clock}}
|time zone{{!}}EST{{!}}clock|
{{{info}}}
{{User time zone|UTC-5|clock}}
|time zone{{!}}UTC-5{{!}}clock|
{{{info}}}
{{User time zone|UTC+0:20|clock}}
|time zone{{!}}UTC+0:20{{!}}clock|
{{{info}}}
{{User time zone|UTC|alarm}}
|time zone{{!}}UTC{{!}}|alarm|
{{{info}}}
{{User time zone|GMT|alarm}}
|time zone{{!}}GMT{{!}}alarm|
{{{info}}}
{{User time zone|EST|alarm}}
|time zone{{!}}EST{{!}}alarm|
{{{info}}}
{{User time zone|UTC-5|alarm}}
|time zone{{!}}UTC-5{{!}}alarm|
{{{info}}}
{{User time zone|UTC+0:20|alarm}}
|time zone{{!}}UTC+0:20{{!}}alarm|