Template:Infobox settlement: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>RockMFR
the documentation describes the behavior like this - this makes a lot more sense than what was being done before
meta>Rich Farmbrough
m Add population field
Line 398: Line 398:
</tr>
</tr>
}}<!-- ***Population*** -->
}}<!-- ***Population*** -->
{{#if:{{{population_total|}}}{{{population_urban|}}}{{{population_metro|}}}{{{population_blank1|}}}{{{population_blank2|}}}{{{population_est|}}}|
{{#if:{{{population|}}}{{{population_total|}}}{{{population_urban|}}}{{{population_metro|}}}{{{population_blank1|}}}{{{population_blank2|}}}{{{population_est|}}}|
<tr class="mergedtoprow">
<tr class="mergedtoprow">
<td {{#ifeq:{{{total_type}}}|&nbsp;||colspan="2"}}>'''Population''' {{#if:{{{population_as_of|}}}|({{{population_as_of}}})}}{{#if:{{{population_footnotes|}}}|{{{population_footnotes}}}}}</td>
{{#if:{{{population|}}}|
<td {{#ifeq:{{{total_type}}}|&nbsp;||}}>'''Population''' {{#if:{{{population_as_of|}}}|({{{population_as_of}}})}}{{#if:{{{population_footnotes|}}}|{{{population_footnotes}}}}}</td>
<td>{{formatnum:{{{population}}}}}</td>
|<td {{#ifeq:{{{total_type}}}|&nbsp;||colspan="2"}}>'''Population''' {{#if:{{{population_as_of|}}}|({{{population_as_of}}})}}{{#if:{{{population_footnotes|}}}|{{{population_footnotes}}}}}</td>
}}
{{#ifeq:{{{total_type}}}|&nbsp;||</tr>}}
{{#ifeq:{{{total_type}}}|&nbsp;||</tr>}}
{{#if:{{{population_total|}}}|
{{#if:{{{population_total|}}}|

Revision as of 15:40, 28 September 2009

{{{official_name}}}