Template:User timezone: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
m (I didn't realise the sheer amount of parser comments in the proposed version. That's not good.)
(now includes wikipedia links, how to use, and examples. this change shouldn't break any userpage that is using this new version.)
Line 1: Line 1:
{| class="userboxitem" style="border: 1px solid #999; background: #f8f8f8; {{roundy|60px}}" cellspacing="0" cellpadding="0"
{| class="userboxitem" style="border: 1px solid #999; background: #f8f8f8; {{roundy|60px}}" cellspacing="0" cellpadding="0"
|-  
|-  
! style="background: #e1e1e1; {{roundy|60px}}" | {{{1}}}
! style="background: #e1e1e1; {{roundy|60px}}" | [[wp:{{{2}}}|<span style="color:#000;">{{{1}}}</span>]]
| This user uses '''{{{2}}}''', which is '''{{{3}}}'''.
| This user uses '''[[wp:{{{2}}}|<span style="color:#000;">{{{2}}}</span>]]''', which is '''[[wp:UTC|<span style="color:#000;">UTC</span>]][[wp:UTC{{{3}}}|<span style="color:#000;">{{{3}}}]]'''</span>.
|} <noinclude>[[Category:Time zone tags|*{{PAGENAME}}]]</noinclude>
|}  
<noinclude><br />Parameter 1 is the abbreviation of your time.<br />Parameter 2 is the name of the time you are using.<br />Parameter 3 is the UTC number (such as +08 and -01:30). <b>Don't forget to put the + or - sign.</b>
==Examples==
===Example 1===
<code><nowiki>{{User timezone|PHT|Philippine Standard Time|+08}}</nowiki></code> is:<br />{{User timezone|PHT|Philippine Standard Time|+08}}
===Example 2===
<code><nowiki>{{User timezone|VET|Venezuelan Standard Time|-04:30}}</nowiki></code> is:<br />{{User timezone|VET|Venezuelan Standard Time|-04:30}}
[[Category:Time zone tags|*{{PAGENAME}}]]
__NOTOC__</noinclude>

Revision as of 10:53, 26 August 2015

[[wp:{{{2}}}|{{{1}}}]] This user uses [[wp:{{{2}}}|{{{2}}}]], which is UTC[[wp:UTC{{{3}}}|{{{3}}}]].


Parameter 1 is the abbreviation of your time.
Parameter 2 is the name of the time you are using.
Parameter 3 is the UTC number (such as +08 and -01:30). Don't forget to put the + or - sign.

Examples

Example 1

{{User timezone|PHT|Philippine Standard Time|+08}} is:

PHT This user uses Philippine Standard Time, which is UTC+08.

Example 2

{{User timezone|VET|Venezuelan Standard Time|-04:30}} is:

VET This user uses Venezuelan Standard Time, which is UTC-04:30.