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}}}&nbsp;{{#if:{{{utc_offset|}}}
     <td>{{{time_zone}}}&nbsp;<!--
                            |<!--then:-->([[Coordinated Universal Time|UTC]]{{{utc_offset}}}) }}</td>
        -->{{#if:{{{utc_offset|}}}
          |<!--then:-->([[Coordinated Universal Time|UTC]]{{{utc_offset}}}) }}</td>
   </tr>
   </tr>



Revision as of 04:01, 28 April 2007

Template:Infobox country/blank template