Template:Infobox settlement: Difference between revisions

imported>Primefac
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{main other|{{#invoke:Settlement short description|main}}|}}{{Infobox
<includeonly>{{Infobox
| child = {{yesno|{{{embed|}}}}}
| child = {{yesno|{{{embed|}}}}}
| templatestyles = Infobox settlement/styles.css
| templatestyles = Infobox settlement/styles.css
Line 147: Line 147:
| rowclass25 = mergedrow
| rowclass25 = mergedrow
|  data25 = {{#if:{{{image_map1|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{image_map1}}}|size={{{mapsize1|}}}|sizedefault=250px|upright={{{image_upright|}}}|alt={{{map_alt1|}}}|title={{{map_caption1|Location of {{if empty|{{{name|}}}|{{{official_name|}}}|{{PAGENAMEBASE}}}}}}}}}{{#if:{{{map_caption1|}}}|<div class="ib-settlement-caption">{{{map_caption1}}}</div>}} }}
|  data25 = {{#if:{{{image_map1|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{image_map1}}}|size={{{mapsize1|}}}|sizedefault=250px|upright={{{image_upright|}}}|alt={{{map_alt1|}}}|title={{{map_caption1|Location of {{if empty|{{{name|}}}|{{{official_name|}}}|{{PAGENAMEBASE}}}}}}}}}{{#if:{{{map_caption1|}}}|<div class="ib-settlement-caption">{{{map_caption1}}}</div>}} }}
| data26 = {{#invoke:Infobox mapframe
  | autoWithCaption
  | onByDefault = {{#if:{{{pushpin_map|}}}{{{image_map|}}}{{{image_map1|}}}|no|yes}}
  | mapframe-frame-width = 250
  | mapframe-stroke-width = 2
  | mapframe-length_km = {{{length_km|}}}
  | mapframe-length_mi = {{{length_mi|}}}
  | mapframe-width_km = {{{width_km|}}}
  | mapframe-width_mi = {{{width_mi|}}}
  | mapframe-area_km2 = {{{area_total_km2|}}}
  | mapframe-area_ha = {{{area_total_ha|}}}
  | mapframe-area_acre = {{{area_total_acre|}}}
  | mapframe-area_sq_mi = {{{area_total_sq_mi|}}}
  | mapframe-type = city
  | mapframe-population = {{if empty|{{{population_metro|}}}|{{{population_total|}}}}}
  | mapframe-marker = town
  | mapframe-wikidata = yes
  | mapframe-caption = Interactive map of {{if empty|{{{name|}}}|{{{official_name|}}}|{{PAGENAMEBASE}}}}
}}


<!-- ***Pushpin Map*** -->
<!-- ***Pushpin Map*** -->