User:Pokéfan95/User timezone: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
(major change.)
(Okay, I think we don't need that huge parser function... So I hope this will be accepted...)
Line 3: Line 3:
|-  
|-  
! style="background: #e1e1e1; {{roundy|60px}}" | [[wp:{{{2}}}|<span style="color:#000;">{{{1}}}</span>]]
! style="background: #e1e1e1; {{roundy|60px}}" | [[wp:{{{2}}}|<span style="color:#000;">{{{1}}}</span>]]
| This user uses '''<span style="color:#000;">[[wp:{{{2}}}|<span style="color:#000;">{{{2}}}</span>]]''', which is '''[[wp:UTC|<span style="color:#000">UTC</span>]][[wp:UTC{{#switch: {{{4|known}}}|known|defined={{#switch: {{{2}}}|Australian Eastern Standard Time=+10|Japan Standard Time=+9|Central Standard Time=-6|Philippine Standard Time|Philippine Time|Juan Time|Hong Kong Time|Malaysian time|Malaysian Time|Singapore Standard Time=+8|Greenwich Mean Time=+0|Eastern Standard Time|Toronto's Time|U.S. Eastern Standard Time=-5|Mountain Standard Time=-7|Pacific Standard Time=-8|Western Indonesian Time=+7|Indian Standard Time=+5:30|Israel Standard Time=+2|Venezuelan Standard Time=-4:30}}|unknown|undefined={{{3}}}}}|<span style="color:#000">{{#switch: {{{4|known}}}|known|defined={{#switch: {{{2}}}|Australian Eastern Standard Time=+10|Japan Standard Time=+9|Central Standard Time=-6|Philippine Standard Time|Philippine Time|Juan Time|Hong Kong Time|Malaysian time|Malaysian Time|Singapore Standard Time=+8|Greenwich Mean Time=+0|Eastern Standard Time|Toronto's Time|U.S. Eastern Standard Time=-5|Mountain Standard Time=-7|Pacific Standard Time=-8|Western Indonesian Time=+7|Indian Standard Time=+5:30|Israel Standard Time=+2|Venezuelan Standard Time=-4:30}}|unknown|undefined={{{3}}}}}</span>]]'''.<!--If you know how to shorten this code, please recommend in this talk page, and I will test it.-->
| This user uses '''<span style="color:#000;">[[wp:{{{2}}}|<span style="color:#000;">{{{2}}}</span>]]''', which is '''[[wp:UTC|<span style="color:#000;">UTC</span>]][[wp:UTC{{{3}}}:{{{4|}}}|<span style="color:#000;">{{{3}}}:{{{4|00}}}]]'''</span>.
|} <noinclude><br />Parameter 1 is the abbreviation of your time.<br />Parameter 2 is the name of the time you are using.<br>The name of the time you entered in Parameter 2 will automatically show an equivalent [[wp:UTC|UTC]] number on the right.<br />Parameter 3 is for users that put a name of the time on Parameter 2 without an equivalent UTC number. To solve this, please put the UTC number of your time (such as +11, -4, and +5). <b>Don't forget to put &quot;unknown&quot; or &quot;undefined&quot; on Parameter 4.</b>
|} <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). <b>Don't forget to put the + or - sign.</b><br />Parameter 4 is for users that uses time zones with n:<b>30</b> (ex. 08:<b>30</b>).
==Examples==
==Examples==
===Example 1===
===Example 1===
<code>&#123;&#123;User timezone&#124;PHT&#124;Philippine Standard Time&#125;&#125;</code> is:<br />{{User:Pokéfan95/User timezone|PHT|Philippine Standard Time}}
<code><nowiki>{{User timezone|PHT|Philippine Standard Time|8}}</nowiki></code> is:<br />{{User:Pokéfan95/User timezone|PHT|Philippine Standard Time|+08}}
===Example 2===
===Example 2===
<code>&#123;&#123;User timezone&#124;VET&#124;Venezuelan Standard Time&#125;&#125;</code> is:<br />{{User:Pokéfan95/User timezone|VET|Venezuelan Standard Time}}
<code><nowiki>{{User timezone|VET|Venezuelan Standard Time|4|30}}</nowiki></code> is:<br />{{User:Pokéfan95/User timezone|VET|Venezuelan Standard Time|-04|30}}</noinclude>
===Example 3===
<code>&#123;&#123;User timezone&#124;PAT&#124;Patty Time&#124;+12&#124;undefined&#125;&#125;</code> is:<br />{{User:Pokéfan95/User timezone|PAT|Patty Time|+12|undefined}}</noinclude>
<!--[[Category:Time zone tags|*{{PAGENAME}}]]-->
<!--[[Category:Time zone tags|*{{PAGENAME}}]]-->

Revision as of 09:31, 25 August 2015

082Magneton.png The contents of this article have been suggested to be merged into the page
Template:User timezone.

Please discuss it on the talk page for this article.
[[wp:{{{2}}}|{{{1}}}]] This user uses [[wp:{{{2}}}|{{{2}}}]], which is UTC[[wp:UTC{{{3}}}:|{{{3}}}:00]].


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). Don't forget to put the + or - sign.
Parameter 4 is for users that uses time zones with n:30 (ex. 08:30).

Examples

Example 1

{{User timezone|PHT|Philippine Standard Time|8}} is:

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

Example 2

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

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