Template:User time zone

From OLPC
Revision as of 18:57, 5 July 2007 by Xavi (talk | contribs) (+cat+usermacro)
Jump to navigation Jump to search
{{{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. The second variable is the image you wish to use. There are four images to from which to choose (watch, clock, alarm or world), 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. The third variable is the timezone abbreviation - by default, this is the abbreviation itself, which is usually a disambiguation. The old syntax using time zone{{!}}time zone abbreviation in the first argument is still currently supported, but requires that an image be used.

Offsets

See the list of time zones for appropriate values.

Samples

Template output Stand alone code {{userboxmacro}} code
UTC This user's time zone is UTC.
{{User time zone|UTC}} |time zone{{!}}UTC|
GMT This user's time zone is GMT.
{{User time zone|GMT}} |time zone{{!}}GMT|
UTC-5 This user's time zone is UTC-5.
{{User time zone|UTC-5}} |time zone{{!}}UTC-5|
UTC+0:20 This user's time zone is UTC+0:20.
{{User time zone|UTC+0:20}} |time zone{{!}}UCT+0:20|
Noia 64 apps clock.png This user's time zone is UTC-5.
{{User time zone|UTC-5|watch}} |time zone{{!}}UTC-5{{!}}watch|
Wall clock.jpg This user's time zone is UTC-5.
{{User time zone|UTC-5|clock}} |time zone{{!}}UTC-5{{!}}clock|
Windup alarm clock.jpg This user's time zone is UTC-5.
{{User time zone|UTC-5|alarm}} |time zone{{!}}UTC-5{{!}}alarm|
Nuvola apps kworldclock.png This user's time zone is UTC-5.
{{User time zone|UTC-5|world}} |time zone{{!}}UTC-5{{!}}world|

This template was extracted, copied, adapted or otherwise inspired by an existing one in the Wikipedia, which is licensed under the GNU Free Documentation License.