Template:Infobox settlement: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Rich Farmbrough
No edit summary
meta>Rich Farmbrough
Don't display lang info and postcode fields if not defined.
Line 588: Line 588:
<tr class="mergedtoprow">
<tr class="mergedtoprow">
<th>{{{postal_code_type}}}</th>
<th>{{{postal_code_type}}}</th>
<td class="adr"><span class="postal-code">{{{postal_code}}}</span></td>
<td class="adr"><span class="postal-code">{{{postal_code|}}}</span></td>
</tr>
</tr>
{{#if:{{{postal2_code_type|}}}|
{{#if:{{{postal2_code_type|}}}|
<tr class="mergedbottomrow">
<tr class="mergedbottomrow">
<th>{{{postal2_code_type}}}</th>
<th>{{{postal2_code_type}}}</th>
<td class="adr"><span class="postal-code">{{{postal2_code}}}</span></td>
<td class="adr"><span class="postal-code">{{{postal2_code|}}}</span></td>
</tr>
</tr>
}} }}<!-- ***Area Code(s)*** -->
}} }}<!-- ***Area Code(s)*** -->
Line 599: Line 599:
<tr class="mergedrow">
<tr class="mergedrow">
<th>{{#if:{{{area_code_type|}}}|{{{area_code_type}}}|[[Telephone numbering plan|Area code(s)]]}}</th>
<th>{{#if:{{{area_code_type|}}}|{{{area_code_type}}}|[[Telephone numbering plan|Area code(s)]]}}</th>
<td>{{{area_code}}}</td>
<td>{{{area_code|}}}</td>
</tr>
</tr>
}}<!-- Geocode-->
}}<!-- Geocode-->

Revision as of 19:48, 14 September 2010

{{{official_name}}}