Template:Infobox settlement: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Kotniski
m (continuation of previous attempt)
meta>Kotniski
m more minor fixes to pop/area display
Line 303: Line 303:
{{#if:{{{area_total_km2|}}}{{{area_total_sq_mi|}}}{{{area_total_dunam|}}}|
{{#if:{{{area_total_km2|}}}{{{area_total_sq_mi|}}}{{{area_total_dunam|}}}|
<tr class="mergedrow">
<tr class="mergedrow">
<th> &nbsp;-&nbsp;{{#if:{{{total_type|}}}|{{{total_type}}}|{{#if:{{{area_metro_km2|}}}{{{area_metro_sq_mi|}}}{{{area_urban_km2|}}}{{{area_urban_sq_mi|}}}|{{#if:{{{settlement_type|}}}|{{{settlement_type}}}|City}}|Total}}}}
<th> &nbsp;-&nbsp;{{#if:{{{total_type|}}}|{{{total_type}}}|{{#if:{{{area_metro_km2|}}}{{{area_metro_sq_mi|}}}{{{area_urban_km2|}}}{{{area_urban_sq_mi|}}}{{{population_metro|}}}{{{population_urban|}}}|{{#if:{{{settlement_type|}}}|{{{settlement_type}}}|City}}|Total}}}}
</th>
</th>
<td>{{#if:{{both|{{among|unit_pref|dunam|Dunam}}|{{{area_total_dunam|}}}}}|{{formatnum:{{{area_total_dunam|}}}&nbsp;[[Dunam|dunams]] ({{#if:{{{area_total_km2|}}}|{{{area_total_km2|}}}&nbsp;[[Square kilometre|km²]]|{{#expr: {{{area_total_dunam|}}} *0.001 round 1}}&nbsp;[[Square kilometre|km²]]}}&nbsp;'''/'''&nbsp;{{#if: {{{area_total_sq_mi|}}}|{{{area_total_sq_mi|}}}&nbsp;[[square mile|sq&nbsp;mi]]|{{#expr: {{{area_total_dunam|}}} *0.000386102 round 1}}&nbsp;[[square mile|sq&nbsp;mi]]}})}}|{{areadisp|{{{unit_pref|}}}|{{{area_total_sq_mi|}}}|{{{area_total_km2|}}}|{{{area_magnitude|}}}|link|{{{subdivision_name|}}}}}}}</td>
<td>{{#if:{{both|{{among|unit_pref|dunam|Dunam}}|{{{area_total_dunam|}}}}}|{{formatnum:{{{area_total_dunam|}}}&nbsp;[[Dunam|dunams]] ({{#if:{{{area_total_km2|}}}|{{{area_total_km2|}}}&nbsp;[[Square kilometre|km²]]|{{#expr: {{{area_total_dunam|}}} *0.001 round 1}}&nbsp;[[Square kilometre|km²]]}}&nbsp;'''/'''&nbsp;{{#if: {{{area_total_sq_mi|}}}|{{{area_total_sq_mi|}}}&nbsp;[[square mile|sq&nbsp;mi]]|{{#expr: {{{area_total_dunam|}}} *0.000386102 round 1}}&nbsp;[[square mile|sq&nbsp;mi]]}})}}|{{areadisp|{{{unit_pref|}}}|{{{area_total_sq_mi|}}}|{{{area_total_km2|}}}|{{{area_magnitude|}}}|link|{{{subdivision_name|}}}}}}}</td>
Line 360: Line 360:
{{#if:{{{population_total|}}}|
{{#if:{{{population_total|}}}|
<tr class="mergedrow">
<tr class="mergedrow">
<th>&nbsp;-&nbsp;{{#if:{{{total_type|}}}|{{{total_type}}}|{{#if:{{{population_metro|}}}{{{population_urban|}}}|{{#if:{{{settlement_type|}}}|{{{settlement_type}}}|City}}|Total}}}}</th>
<th>&nbsp;-&nbsp;{{#if:{{{total_type|}}}|{{{total_type}}}|{{#if:{{{population_metro|}}}{{{population_urban|}}}{{{area_metro_km2|}}}{{{area_metro_sq_mi|}}}{{{area_urban_km2|}}}{{{area_urban_sq_mi|}}}|{{#if:{{{settlement_type|}}}|{{{settlement_type}}}|City}}|Total}}}}</th>
<td>{{formatnum:{{{population_total}}}}}</td>
<td>{{formatnum:{{{population_total}}}}}</td>
</tr>
</tr>

Revision as of 11:19, 16 November 2007

{{{official_name}}}