Jump to content

Template:Infobox time zone/doc

From Wikipedia, the free encyclopedia
[edit]
{{Infobox time zone
|caption =                    <!-- caption for the image -->
|dst use =                    <!-- time zone uses DST, accepted values: all, none, some, parts, only; default is all -->
|initials =                   <!-- initials during standard time -->
|dst initials =               <!-- DST timezone initials, keep blank if daylight saving isn't used -->
|offset =                     <!-- offset from UTC during standard time -->
|dst offset =                 <!-- offset from UTC during DST, keep blank if daylight saving isn't used -->
}}

All parameters

[edit]
{{{title}}}
Time zone
[[File:{{{image}}}|{{{imagesize}}}|alt={{{alt}}}]]
{{{caption}}}
UTC offset
{{{initials}}}[[UTC{{{offset}}}]]
{{{dst initials}}}[[UTC{{{dst offset}}}]]
Current time
{{time}} – unknown timezone {{{name}}} (help)
Central meridian
Date-time group
{{Infobox time zone
|title                =  <!-- title of the infobox; default is the page name -->
|name                 =  <!-- full name of the timezone, to be used when initials are shared with another zone causing the time to show incorrectly -->
|image                =  <!-- an image for the infobox -->
|imagesize            =  <!-- size for the image; default is "300px" -->
|alt                  =  <!-- alt text for the image; for those who cannot see the image -->
|caption              =  <!-- caption for the image; shown beneath the image -->
|initials             =  <!-- initials during standard time; if not set, then UTC value is displayed -->
|offset               =  <!-- offset from UTC during standard time -->
|UTC                  =  <!--   -->
|dst use              =  <!-- time zone uses DST? Accepted values: all, none, some, parts, only; default is all -->
|daylight savings use =  <!-- same as '''dst use'''; use either but not both -->
|dst offset           =  <!-- offset from UTC during DST, keep blank if daylight saving isn't used -->
|dst initials         =  <!-- DST timezone initials, keep blank if daylight saving isn't used -->
|non dst initials     =  <!-- initials of standard, non-DST timezone that is used when a DST-only timezone is not active; only use on DST only timezones -->
|display observance   =  <!-- display the DST observance section? Default is to display; single accepted value: no -->
|format               =  <!-- format to use for the time display; default is "dmy" -->
}}

Template Data

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Infobox time zone in articles based on its TemplateData.

TemplateData for Infobox time zone

Template Data

Infobox for documenting a timezone

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
namename

no description

Unknownoptional
titletitle

no description

Unknownoptional
imageimage

no description

Unknownoptional
imagesizeimagesize

no description

Unknownoptional
altalt

no description

Unknownoptional
captioncaption

no description

Unknownoptional
initialsinitials

no description

Unknownoptional
offsetoffset

no description

Unknownoptional
UTCUTC

no description

Unknownoptional
dst initialsdst initials

no description

Unknownoptional
dst offsetdst offset

no description

Unknownoptional
formatformat

no description

Unknownoptional
display observancedisplay observance

no description

Unknownoptional
dst usedst use

no description

Unknownoptional
daylight savings usedaylight savings use

no description

Unknownoptional
non dst initialsnon dst initials

no description

Unknownoptional

Tracking categories

[edit]