Tempolete:Infobox settlement: Difference between revisions

Content deleted Content added
PiRSquared17 (bua | dineelo)
Reverted to revision 16038 by PiRSquared17: FIX. (TW)
No edit summary
Tselana 1:
<table class="infobox geography vcard" style="width:23em; text-align:left">
<tr>
<th colspan="2" style="width:100%; text-align:center; font-size:1.25em; white-space:nowrap"><span class="fn org">{{#if:{{{name|}}}|{{{name}}}|{{#if:{{{official_name|}}}|{{{official_name}}}|{{PAGENAME}}}}}}</span>{{#if:{{{native_name|}}}|<br /><span class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}" xml:lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span>}}{{#if:{{{other_name|}}}|<br /><span class="nickname" style="font-size:78%">{{{other_name}}}</span>}}</th>
</tr>
{{#if:{{both|{{{name|}}}{{{official_name|}}}|{{{settlement_type|{{{type|}}}}}}}}|
Tselana 163:
</td>
</tr>
}}
}}<!-- ***Pushpin Map*** -->
<!-- BEGIN two cols table -->
{{#if:{{{pushpin_map_cl|}}}|
<tr class="mergedrow">
<td align="center"><center>{{#if:{{{image_shield_cl|}}}|
[[File:{{{image_shield_cl|}}}|{{#if:{{{shield_size|}}}|70px|70px}}|alt={{{shield_alt|}}}|Coat of arms of {{#if:{{{name|}}}|{{{name}}}|{{{official_name}}}}}]]<br /><small>'''{{Infobox settlement/link|type=Coat of arms|link={{{shield_link|}}}|name={{{official_name}}}}}'''</small>}}</center></td>
<td rowspan="3" style="text-align:center" align="center"><center>
{{Location map|{{{pushpin_map_cl|}}}
|label = {{#ifeq: {{lc: {{{pushpin_label_position|}}} }} | none | | {{#if:{{{pushpin_label|}}}|{{{pushpin_label}}}|{{#if:{{{name|}}}|{{{name}}}|{{{official_name|}}}}}}} }}
|alt = {{{pushpin_map_alt|}}}
|lat = {{#if:{{{latm|}}}{{{latNS|}}}| |{{{latd|}}} }}
|long = {{#if:{{{longm|}}}{{{longEW|}}}| |{{{longd|}}} }}
|lat_deg={{#if:{{{latm|}}}{{{latNS|}}}|{{{latd|}}}| }}
|lat_min={{#if:{{{latm|}}}{{{latNS|}}}|{{{latm|}}}| }}
|lat_sec={{#if:{{{lats|}}}{{{latNS|}}}|{{{lats|}}}| }}
|lat_dir={{#if:{{{latNS|}}}|{{{latNS|}}}| }}
|lon_deg={{#if:{{{longm|}}}{{{longEW|}}}|{{{longd|}}}| }}
|lon_min={{#if:{{{longm|}}}{{{longEW|}}}|{{{longm|}}}| }}
|lon_sec={{#if:{{{longs|}}}{{{longEW|}}}|{{{longs|}}}| }}
|lon_dir={{#if:{{{longEW|}}}|{{{longEW|}}}| }}
|marksize =6
|float = none
|caption =
|border = none
|position = {{{pushpin_label_position|}}}
|width = {{#if:{{{pushpin_mapsize|}}}|150px | 150px }}
|AlternativeMap = {{{pushpin_image|}}}
}}{{#if:{{{pushpin_map_caption|}}}|<small>{{{pushpin_map_caption}}}</small>|{{#if:{{{map_caption|}}}|<small>{{{map_caption}}}</small>}}}}
</center></td>
</tr>
<tr>
<td style="vertical-align:middle" align="center"><center>{{#if:{{{image_map_cl|}}}|[[File:{{{image_map_cl}}}|{{#if:{{{mapsize|}}}|80px|80px}}|none|alt={{{map_alt|}}}|{{{map_caption|Location of {{#if:{{{name|}}}|{{{name}}}|{{{official_name}}}}}}}}]]{{#if:{{{map_caption|}}}|<small>{{{map_caption}}}</small>}}}}</center></td>
</tr>
<tr>
<td style="vertical-align:middle" align="center" ><center>{{#if:{{{image_flag_cl|}}}|[[File:{{{image_flag_cl}}}|{{#if:{{{flag_size|}}}|80px|80px}}|border|alt={{{flag_alt|}}}|Flag of {{#if:{{{name|}}}|{{{name}}}|{{{official_name}}}}}]]<br /><small>'''{{Infobox settlement/link|type=Flag|link={{{flag_link|}}}|name={{{official_name}}}}}'''</small>}}</center></td>
</tr>
}} <!-- END two cols table -->
}}<!-- ***Pushpin Map*** -->
{{#if:{{{pushpin_map|}}}|
<tr class="mergedrow">
Line 228 ⟶ 265:
{{#if:{{both|{{{latd|}}}|{{{longd|}}}}}|
<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|}}}|{{#if:{{{coordinates_type|}}}|{{{coordinates_type}}}|type:city{{#if:{{{population_total|}}}|{{#iferror:{{#expr:{{formatnum:{{{population_total}}}|R}}+1}}||({{formatnum:{{{population_total}}}|R}})}}|}}{{#if:{{{coordinates_region|}}}|_region:{{{coordinates_region}}}|{{#if:{{{subdivision_name|}}}|_region:{{CountryAbbr|{{{subdivision_name|}}}|{{{subdivision_name1|}}} }} }} }} }}|{{#ifeq:{{{coordinates_display|}}}|inline|μ|{{#if:{{{coordinates_display|}}}|title|μ}}}}={{{coordinates_display|}}}|{{#if:{{{coordinates_format|}}}|format|μ}}={{{coordinates_format|}}}}}{{{coordinates_footnotes|}}}</td>
</tr>
}}<!-- ***Subdivisions*** -->
Line 1,029 ⟶ 1,066:
</tr>
}}
</table><!--For deprecated parameter names--><includeonly>{{#if:{{{coor_type|}}}{{{city_logo|}}}{{{area_total|}}}{{{area_land|}}}{{{area_water|}}}{{{TotalArea_sq_mi|}}}{{{LandArea_sq_mi|}}} {{{WaterArea_sq_mi|}}}{{{area_urban|}}}{{{UrbanArea_sq_mi|}}}{{{area_metro|}}}{{{MetroArea_sq_mi|}}} {{{elevation|}}}{{{population_density|}}}{{{population_density_mi2|}}} {{{population_density_metro_mi2|}}} {{{population_density_urban_mi2|}}}|[[Category:Settlement articles requiring maintenance]]}}{{#ifeq:{{NAMESPACE}}||{{#ifeq:{{{subdivision_name}}}|United States|{{#if:{{{latd|}}}|[[Category:Infobox Settlement US maintenance]]|[[Category:Infobox US maintenance ]]}}|}}{{#ifeq:{{{subdivision_name}}}|[[United States]]|{{#if:{{{latd|}}}|[[Category:Infobox Settlement US maintenance]]|[[Category:Infobox US maintenance]]}}|}}}}{{#switch:{{{coordinates_region|}}}|CA-X|US-X|IN-X=[[Category:Infobox settlement uses with imprecise region codes]]}}</includeonly><noinclude>
{{documentation}}
</noinclude>