Template:Infobox country: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>David Kernow m typo correction |
meta>David Kernow Time zone: allowing utc_offset entry without corresponding time_zone (i.e. as previously, more flexible use when alongside templates such as Infobox Geopolitical organization) |
||
Line 535: | Line 535: | ||
<!--------------------------------------Time zone--------------------------------------> | <!--------------------------------------Time zone--------------------------------------> | ||
{{#if:{{{time_zone|}}} |<!--then:--> | {{#if:{{{time_zone|}}}{{{utc_offset|}}} |<!--then:--> | ||
<tr {{#if:{{{utc_offset_DST|}}}{{{DST_note|}}} |<!--then:-->class="mergedtoprow"}}> | <tr {{#if:{{{utc_offset_DST|}}}{{{DST_note|}}} |<!--then:-->class="mergedtoprow"}}> | ||
<th colspan="2">[[Time zone]]</th> | <th colspan="2">[[Time zone]]</th> | ||
<td>{{{time_zone}}} {{#if:{{{utc_offset|}}} | <td>{{{time_zone}}} <!-- | ||
-->{{#if:{{{utc_offset|}}} | |||
|<!--then:-->([[Coordinated Universal Time|UTC]]{{{utc_offset}}}) }}</td> | |||
</tr> | </tr> | ||
Revision as of 04:01, 28 April 2007
This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |