Template:User time zone: Difference between revisions
mNo edit summary |
m (Replacing Image:Noia_64_apps_clock.png with Image:Noia_64_apps_xclock.png (by Siebrand because: Was in category "Duplicate", although NOT an exact duplicate)) |
||
Line 1: | Line 1: | ||
<div style="float: left; border: solid #ccc 1px; margin: 1px"> |
<div style="float: left; border: solid #ccc 1px; margin: 1px"> |
||
{| cellspacing="0" style="width: 238px; background: #fff" |
{| cellspacing="0" style="width: 238px; background: #fff" |
||
| style="width:45px;height:45px;background:#ccc;text-align:center;font-size:14pt;color:font color;"| {{#switch:{{{2}}}|watch=[[Image: |
| style="width:45px;height:45px;background:#ccc;text-align:center;font-size:14pt;color:font color;"| {{#switch:{{{2}}}|watch=[[Image:Noia_64_apps_xclock.png{{!}}46px]]|clock=[[Image:Wall clock.jpg{{!}}46px]]|alarm=[[Image:Windup alarm clock.jpg{{!}}46px]]|{{{1}}}}} |
||
| style="font-size: 8pt; padding: 4pt; line-height: 1.25em; color: font color;" | This user's time zone is '''{{{1}}}'''. |
| style="font-size: 8pt; padding: 4pt; line-height: 1.25em; color: font color;" | This user's time zone is '''{{{1}}}'''. |
||
|}</div><noinclude>{{clear}} |
|}</div><noinclude>{{clear}} |
Revision as of 00:14, 6 May 2008
{{{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
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 | ||
---|---|---|---|---|
|
{{User time zone|UTC}} |
|time zone{{!}}UTC| | ||
|
{{User time zone|GMT}} |
|time zone{{!}}GMT| | ||
|
{{User time zone|EST}} |
|time zone{{!}}EST| | ||
|
{{User time zone|UTC-5}} |
|time zone{{!}}UTC-5| | ||
|
{{User time zone|UTC+0:20}} |
|time zone{{!}}UCT+0:20| | ||
{{User time zone|UTC|watch}} |
|time zone{{!}}UTC{{!}}watch| | |||
{{User time zone|GMT|watch}} |
|time zone{{!}}GMT{{!}}watch| | |||
{{User time zone|EST|watch}} |
|time zone{{!}}EST{{!}}watch| | |||
{{User time zone|UTC-5|watch}} |
|time zone{{!}}UTC-5{{!}}watch| | |||
{{User time zone|UTC+0:20|watch}} |
|time zone{{!}}UTC+0:20{{!}}watch| | |||
{{User time zone|UTC|clock}} |
|time zone{{!}}UTC{{!}}clock| | |||
{{User time zone|GMT|clock}} |
|time zone{{!}}GMT{{!}}clock| | |||
{{User time zone|EST|clock}} |
|time zone{{!}}EST{{!}}clock| | |||
{{User time zone|UTC-5|clock}} |
|time zone{{!}}UTC-5{{!}}clock| | |||
{{User time zone|UTC+0:20|clock}} |
|time zone{{!}}UTC+0:20{{!}}clock| | |||
{{User time zone|UTC|alarm}} |
|time zone{{!}}UTC{{!}}|alarm| | |||
{{User time zone|GMT|alarm}} |
|time zone{{!}}GMT{{!}}alarm| | |||
{{User time zone|EST|alarm}} |
|time zone{{!}}EST{{!}}alarm| | |||
{{User time zone|UTC-5|alarm}} |
|time zone{{!}}UTC-5{{!}}alarm| | |||
{{User time zone|UTC+0:20|alarm}} |
|time zone{{!}}UTC+0:20{{!}}alarm| |