Template:User time zone: Difference between revisions

no edit summary
m (46x44px - for height unification)
No edit summary
 
(7 intermediate revisions by 6 users not shown)
Line 1:
{{Userbox
<div style="float: left; border: solid #ccc 1px; margin: 1px">
| info-c = {{{info-c|#fff}}}
{| cellspacing="0" style="width: 238px; background: #fff"
| border-c = {{{border-c|#ccc}}}
| 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{{!}}46x45px]]|clock=[[Image:Wall clock.jpg{{!}}46x44px]]|alarm=[[Image:Windup alarm clock.jpg{{!}}46x45px]]|{{{1}}}}}
| id-c = {{{id-c|#ccc}}}
| style="font-size: 8pt; padding: 4pt; line-height: 1.25em; color: font color;" | This user's time zone is '''{{{1}}}'''.
| id-p = 1px
|}</div><noinclude>{{clear}}
| id-s = {{{id-s|14}}}
| styleid ="width:45px;height:45px;background:#ccc;text-align:center;font-size:14pt;color:font color;"| {{#switch:{{{2}}}|watch=[[ImageFile:Noia_64_apps_xclock.png{{!}}|46x45px]]|clock=[[ImageFile:Wall clock.jpg{{!}}|46x44px]]|alarm=[[ImageFile:Windup alarm clock.jpg|46x45px]]|<span style{{!=}}46x45px]]|"font-weight:normal;line-height:">{{{1}}}</span>}}
| info = This user's time zone is '''{{{1}}}'''.
|}</div>}<noinclude>{{clear}}
----
This template is meant to replace all other time zone related templates. Please see the usage to create your template.
Line 93 ⟶ 97:
|<pre>{{User time zone|UTC+0:20|alarm}}</pre>
|<pre>|time zone{{!}}UTC+0:20{{!}}alarm|</pre>
|}
|}</noinclude>
 
[[Category:Userboxes]]</noinclude>