Template:User timezone: Difference between revisions

From Wikipedia of the Dark Brotherhood, an online Star Wars Club
mNo edit summary
m (Windos Bot: Replaced {{c}} with {{C}}, 1st stage in ensuring template uniformity.)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{userbox|#996633|#35230F|[[Image:clock2uk.png|40px]]|This user's '''time zone''' is '''{{{zone|{{t|1=UTC-12|1{{{UTC-12|}}}=}}{{t|1=UTC-11|1{{{UTC-11|}}}=}}{{t|1=UTC-10|1{{{UTC-10|}}}=}}{{t|1=UTC-9|1{{{UTC-9|}}}=}}{{t|1=UTC-8|1{{{UTC-8|}}}=}}{{t|1=UTC-7|1{{{UTC-7|}}}=}}{{t|1=UTC-6|1{{{UTC-6|}}}=}}{{t|1=UTC-5|1{{{UTC-5|}}}=}}{{t|1=UTC-4|1{{{UTC-4|}}}=}}{{t|1=UTC-3|1{{{UTC-3|}}}=}}{{t|1=UTC-2|1{{{UTC-2|}}}=}}{{t|1=UTC-1|1{{{UTC-1|}}}=}}{{t|1=UTC|1{{{UTC|}}}=}}{{t|1=UTC&#43;1|1{{{UTC1|}}}=}}{{t|1=UTC&#43;2|1{{{UTC2|}}}=}}{{t|1=UTC&#43;3|1{{{UTC3|}}}=}}{{t|1=UTC&#43;4|1{{{UTC4|}}}=}}{{t|1=UTC&#43;5|1{{{UTC5|}}}=}}{{t|1=UTC&#43;6|1{{{UTC6|}}}=}}{{t|1=UTC&#43;7|1{{{UTC7|}}}=}}{{t|1=UTC&#43;8|1{{{UTC8|}}}=}}{{t|1=UTC&#43;9|1{{{UTC9|}}}=}}{{t|1=UTC&#43;10|1{{{UTC10|}}}=}}{{t|1=UTC&#43;11|1{{{UTC11|}}}=}}{{t|1=UTC&#43;12|1{{{UTC12|}}}=}}{{t|1=UTC&#43;13|1{{{UTC13|}}}=}}{{t|1=UTC&#43;14|1{{{UTC14|}}}=}}}}}'''.<br />{{t|1={{c|{{{zonename}}}}}|1{{{zonename|}}}=}}}}<noinclude>__NOEDITSECTION____NOTOC__{{clear}}
{{Userbox|#996633|#35230F|[[Image:clock2uk.png|40px]]|This user's '''time zone''' is '''{{{zone|{{T|1=UTC-12|1{{{UTC-12|}}}=}}{{T|1=UTC-11|1{{{UTC-11|}}}=}}{{T|1=UTC-10|1{{{UTC-10|}}}=}}{{T|1=UTC-9|1{{{UTC-9|}}}=}}{{T|1=UTC-8|1{{{UTC-8|}}}=}}{{T|1=UTC-7|1{{{UTC-7|}}}=}}{{T|1=UTC-6|1{{{UTC-6|}}}=}}{{T|1=UTC-5|1{{{UTC-5|}}}=}}{{T|1=UTC-4|1{{{UTC-4|}}}=}}{{T|1=UTC-3|1{{{UTC-3|}}}=}}{{T|1=UTC-2|1{{{UTC-2|}}}=}}{{T|1=UTC-1|1{{{UTC-1|}}}=}}{{T|1=UTC|1{{{UTC|}}}=}}{{T|1=UTC&#43;1|1{{{UTC1|}}}=}}{{T|1=UTC&#43;2|1{{{UTC2|}}}=}}{{T|1=UTC&#43;3|1{{{UTC3|}}}=}}{{T|1=UTC&#43;4|1{{{UTC4|}}}=}}{{T|1=UTC&#43;5|1{{{UTC5|}}}=}}{{T|1=UTC&#43;6|1{{{UTC6|}}}=}}{{T|1=UTC&#43;7|1{{{UTC7|}}}=}}{{T|1=UTC&#43;8|1{{{UTC8|}}}=}}{{T|1=UTC&#43;9|1{{{UTC9|}}}=}}{{T|1=UTC&#43;10|1{{{UTC10|}}}=}}{{T|1=UTC&#43;11|1{{{UTC11|}}}=}}{{T|1=UTC&#43;12|1{{{UTC12|}}}=}}{{T|1=UTC&#43;13|1{{{UTC13|}}}=}}{{T|1=UTC&#43;14|1{{{UTC14|}}}=}}}}}'''.<br />{{T|1={{C|{{{zonename}}}}}|1{{{zonename|}}}=}}}}<noinclude>__NOEDITSECTION____NOTOC__{{Clear}}
===Field list===
===Field list===
*zone {{c|The user's numerical time zone relative to GMT or UTC standard time.}}
*zone {{C|The user's numerical time zone relative to GMT or UTC standard time.}}
*zonename {{c|Optional &ndash; The name of the user's time zone.}}
*zonename {{C|Optional &ndash; The name of the user's time zone.}}


===Variables===
===Variables===
Line 36: Line 36:
To use this template, paste the following code into your userpage, filling all relevant fields:
To use this template, paste the following code into your userpage, filling all relevant fields:
<pre><nowiki>
<pre><nowiki>
{{user timezone
{{User timezone
|zone=
|zone=
|zonename=
|zonename=
Line 46: Line 46:
*In order to make this template somewhat easier to use, a number of variables have been made available. These variables store default values for the most common time zones. In order to activate one, append a statement into the template call, like so:
*In order to make this template somewhat easier to use, a number of variables have been made available. These variables store default values for the most common time zones. In order to activate one, append a statement into the template call, like so:
<pre><nowiki>
<pre><nowiki>
{{user timezone
{{User timezone
|zone=
|zone=
|zonename=
|zonename=
Line 55: Line 55:


===Example===
===Example===
{{user timezone|zone=UTC+5:45|zonename=Nepal Time}}
{{User timezone|zone=UTC+5:45|zonename=Nepal Time}}
{{clear}}
{{Clear}}
====Code====
====Code====
<pre><nowiki>{{user timezone|zone=UTC+5:45|zonename=Nepal Time}}</nowiki></pre>[[Category:User page templates|timezone]]</noinclude>
<pre><nowiki>{{User timezone|zone=UTC+5:45|zonename=Nepal Time}}</nowiki></pre>[[Category:User page templates|timezone]]</noinclude>

Latest revision as of 12:01, 29 November 2009

This user's time zone' is '.

Field list

  • zone (The user's numerical time zone relative to GMT or UTC standard time.)
  • zonename (Optional – The name of the user's time zone.)

Variables

  • UTC-12
  • UTC-11
  • UTC-10
  • UTC-9
  • UTC-8
  • UTC-7
  • UTC-6
  • UTC-5
  • UTC-4
  • UTC-3
  • UTC-2
  • UTC-1
  • UTC
  • UTC1
  • UTC2
  • UTC3
  • UTC4
  • UTC5
  • UTC6
  • UTC7
  • UTC8
  • UTC9
  • UTC10
  • UTC11
  • UTC12
  • UTC13
  • UTC14

Usage

To use this template, paste the following code into your userpage, filling all relevant fields:

{{User timezone
|zone=
|zonename=
}}

Check Wikipedia's list of time zones to find the link to the Wikipedia article describing your timezone.

Notes

  • In order to make this template somewhat easier to use, a number of variables have been made available. These variables store default values for the most common time zones. In order to activate one, append a statement into the template call, like so:
{{User timezone
|zone=
|zonename=
|UTC-7=true
}}

Once activated, the variable will place your user page in the correct time zone category and will fill the zone field for you automatically. That default output can be overridden by simply assigning your replacement text to the zone field explicitly. As always, the zonename field is collapsible and will not appear unless you specifically assign a value to it.

Example

This user's time zone is UTC+5:45.
(Nepal Time)

Code

{{User timezone|zone=UTC+5:45|zonename=Nepal Time}}