Template:Infobox time zone/doc: Difference between revisions

Content deleted Content added
Link to Time template
No edit summary
Line 1:
 
{{infobox time zone
|title =Eastern time zone
|caption =Second furthest blue to the left
|daylight savings use =all
|standard time initials =EST
|daylight time initials =EDT
}}
==Usage==
 
<pre>
{{Infobox time zone
|title =
|image =
|caption =
|daylight savings use =
|standard time initials =
|daylight time initials = (keep blank if daylight savings isn't used)
|format =
|display observance =
}}
</pre>
 
<u>Recommended Usage</u>
Line 26 ⟶ 5:
<pre>
{{Infobox time zone
|caption =
|daylight savingsdst use =
|standard time initials =
|daylight timedst initials = (keep blank if daylight savings isn't used)
|offset =
|dst offset = (keep blank if daylight savings isn't used)
}}
</pre>
 
 
{| class="wikitable"
!Parameter !!notes !!default
|-
|<code>title</code> || the name of the time zone ||<code><nowiki>{{PAGENAMEBASE}}</nowiki></code>
|-
|<code>image</code> || a map showing the ___location of the time zone || Standard World Time Zones.png
|-
|<code>caption</code> || a caption to accompany the map ||
|-
|<code>daylight savings use</code> || the extent of DST use in the time zone: <code>none</code> or <code>all</code> or <code>some</code> || (Set to all if daylight time initials is given)<br>(Set to none if daylight time initials is not given)
|-
|<code>standard time initials</code> || the initials used to refer to standard time || UTC
|-
|<code>daylight time initials</code> || the initials used to refer to daylight time (keep blank if daylight savings isn't used) ||
|-
|<code>format</code> || the format you want the current time to be displayed in (see [[Template:Time]]) ||dmy
|-
|<code>display observance</code> || Option to display the 'Observance of DST' section set to no to not show ||yes
|}
 
;Example
<pre>
{{infoboxInfobox time zone
|title =
|title = Eastern Timezone
|image =
|caption = Second furthest blue to the left
|caption =
|daylight savings use = all
|dst use =
|standard time initials = EST
|daylight time initials = EDT
|daylight timedst initials = (keep blank if daylight savings isn't used)
|offset =
|dst offset = (keep blank if daylight savings isn't used)
|dst use = (all, none, some)
|display observance = (display the DST observance =section?)
}}
</pre>