Template:Infobox settlement: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Plastikspork
Remove dependency condition per talk page, revert if this breaks something ...
meta>Plastikspork
m Add reverse number formating to coordinates region code
Line 218: Line 218:
{{#if:{{both|{{{latd|}}}|{{{longd|}}}}}|
{{#if:{{both|{{{latd|}}}|{{{longd|}}}}}|
<tr class="mergedbottomrow">
<tr class="mergedbottomrow">
<td colspan="2" style="text-align:center; padding-bottom:0.7em">Coordinates{{#if:{{{coor_pinpoint|{{{coor_type|}}}}}}|&#32;({{{coor_pinpoint|{{{coor_type|}}}}}})|}}: {{Geobox coor|{{{latd|}}}|{{{latm|}}}|{{{lats|}}}|{{{latNS|}}}|{{{longd|}}}|{{{longm|}}}|{{{longs|}}}|{{{longEW|}}}|{{{coordinates_type|type:city{{#if:{{{population_total|}}}|{{#iferror:{{#expr:{{{population_total}}}+1}}||({{{population_total}}})}}|}}{{#if:{{{coordinates_region|}}}{{{subdivision_name|}}}|_region:{{{coordinates_region|{{CountryAbbr|{{{subdivision_name|}}}|{{{subdivision_name1|}}}}}}}}}}}}}|{{#if:{{{coordinates_display|}}}|title|μ}}={{{coordinates_display|}}}}} {{#if:{{{coordinates_footnotes|}}}|{{{coordinates_footnotes}}}}}</td>
<td colspan="2" style="text-align:center; padding-bottom:0.7em">Coordinates{{#if:{{{coor_pinpoint|{{{coor_type|}}}}}}|&#32;({{{coor_pinpoint|{{{coor_type|}}}}}})|}}: {{Geobox coor|{{{latd|}}}|{{{latm|}}}|{{{lats|}}}|{{{latNS|}}}|{{{longd|}}}|{{{longm|}}}|{{{longs|}}}|{{{longEW|}}}|{{{coordinates_type|type:city{{#if:{{{population_total|}}}|{{#iferror:{{#expr:{{formatnum:{{{population_total}}}|R}}+1}}||({{formatnum:{{{population_total}}}|R}})}}|}}{{#if:{{{coordinates_region|}}}{{{subdivision_name|}}}|_region:{{{coordinates_region|{{CountryAbbr|{{{subdivision_name|}}}|{{{subdivision_name1|}}}}}}}}}}}}}|{{#if:{{{coordinates_display|}}}|title|μ}}={{{coordinates_display|}}}}} {{#if:{{{coordinates_footnotes|}}}|{{{coordinates_footnotes}}}}}</td>
</tr>
</tr>
}}<!-- ***Subdivisions*** -->
}}<!-- ***Subdivisions*** -->

Revision as of 14:53, 17 April 2010

{{{official_name}}}