Template:Infobox time zone/doc: Difference between revisions

Content deleted Content added
tstyles
m Usage: syntaxhighlight
Line 7:
===Recommended Usage===
 
<syntaxhighlight lang="html">
<pre>
{{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) -->
}}
</syntaxhighlight>
</pre>
 
===All Parameters===
 
<syntaxhighlight lang="html">
<pre>
{{Infobox time zone
|title = (<!-- title of the infobox; default is pagename) -->
|image = (<!-- a image for the infobox) -->
|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) -->
|name = (<!-- full name of the timezone, to be used when initials are shared with another zone causing the time to show incorrectly) -->
|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) -->
|offset = (<!-- offset from UTC during standard time) -->
|dst offset = (<!-- offset from UTC during DST, keep blank if daylight saving isn't used) -->
|display observance = (<!-- display the DST observance section; default is to display; single accepted value: no) -->
}}
</syntaxhighlight>
</pre>
 
== Tracking categories ==