Jump to content

Template:Infobox settlement: Difference between revisions

From OpenGeofiction
Bringing over a version of the template from before. There are some minor changes.
 
updating
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<table class="infobox"><!--
<includeonly><table class="infobox"><!--


*** LINK TO MAP
*** LINK TO MAP


-->{{#if:{{{map_zoom|}}}{{{latitude|}}}{{{longitude|}}}|<tr style="background:#f0f0f0;"><td colspan="2" style="font-size:85%;text-align:right;">{{Coord|zoom={{{map_zoom}}}|latitude={{{latitude}}}|longitude={{{longitude}}}}}</td></tr>|}}<!--
-->{{#if:{{{map_zoom|}}}{{{latitude|}}}{{{longitude|}}}|<tr><td colspan="2" style="font-size:80%;text-align:right;">{{Coord|zoom={{{map_zoom}}}|latitude={{{latitude}}}|longitude={{{longitude}}}}}</td></tr>|}}<!--


*** NAME
*** NAME


-->{{#if:{{{name|}}}{{{official_name|}}}{{{native_name|}}}|<!--
--><tr {{#if:{{{native_name|}}}|class="cont"|}}><th colspan="2" align="center">{{{name}}}</th></tr><!--
  --><tr><th colspan="2" align="center"><!--
-->{{#if:{{{native_name|}}}|<tr><td colspan="2" style="text-align:center; font-size: .88em;">''{{{native_name}}}''</td></tr>|}}<!--
  -->{{#if:{{{name|}}}|{{{name}}}|<!--
      -->{{#if:{{{official_name|}}}|<!--
        -->{{{official_name}}}|}}|}}<!--
      -->{{#if:{{{native_name|}}}|<!--
        -->{{#if:{{{official_name|}}}{{{name|}}}|<br />|}}''{{{native_name}}}''|}}<!--
--></th></tr>|}}<!--


*** SETTLEMENT TYPE
*** SETTLEMENT TYPE


-->{{#if:{{{settlement_type|}}}|<tr><td colspan="2" style="text-align:center;background-color:#cddeff; font-weight:bold;">{{{settlement_type}}}|}}<!--
-->{{#if:{{{settlement_type|}}}|<tr><td colspan="2" class="ibx-accent">{{{settlement_type}}}|}}<!--


*** CUSTOM IMAGE
*** CUSTOM IMAGES


-->{{#if:{{{image_custom|}}}|<!--
-->{{#if:{{{custom_image_1|}}}|<tr><td {{#if:{{{custom_image_2|}}}| |colspan="2"}} align="center">[[File:{{{custom_image_1|}}}|120px]]<br />{{{image_1_type}}}</td><!--
--><tr><td colspan="2"><table align="center" style="width:100%;background:none;"><!--
   -->{{#if:{{{custom_image_2|}}}|<td align="center">[[File:{{{custom_image_2}}}|100px]]<br />{{{image_2_type}}}</td>|}}<!--
-->{{#if:{{{image_custom|}}}|<tr><td align="center">[[File:{{{image_custom}}}|250px|alt={{{alt_custom|}}}]]</td></tr><!--
   -->|}}<!--
-->{{#if:{{{custom_caption|}}}|<tr><td align="center" style="font-size:85%;">{{{custom_caption}}}</td></tr>|}}|}}<!--
--></table></td></tr>|}}<!--
 
*** FLAG AND COAT OF ARMS
 
-->{{#if:{{{image_flag|}}}{{{image_coat|}}}|<!--
  --><tr><td colspan="2"><table align="center" style="width:100%;background:none;"><tr><!--
  -->{{#if:{{{image_flag|}}}|<!--
      --><td align="center" style="{{#if:{{{image_coat|}}}|width:58%;|}}vertical-align:middle;"><!--
      -->[[File:{{{image_flag}}}|125px|alt={{{alt_flag|Flag}}}]]</td>|}}<!--
   -->{{#if:{{{image_coat|}}}|<td align="center" style="vertical-align:middle;"><!--
      -->[[File:{{{image_coat}}}|85px|alt={{{alt_coat|Coat of arms}}}]]</td>|}}<!--
  --></tr><tr style="font-size:85%;"><!--
  -->{{#if:{{{image_flag|}}}|<td align="center" style="{{#if:{{{image_coat|}}}|width:58%;|}}vertical-align:middle;">Flag</td>|}}<!--
      -->{{#if:{{{image_coat|}}}|<td align="center" style="vertical-align:middle;">Coat of arms</td>|}}<!--
   --></tr></table></td></tr>|}}<!--


*** MOTTO
*** MOTTO


-->{{#if:{{{motto|}}}|<tr><td colspan="2" align="center"><b>Motto:</b><br />"{{{national_motto}}}"</td></tr>|}}<!--
-->{{#if:{{{motto|}}}|<tr><td colspan="2" align="center"><b>Motto:</b><br />"{{{motto}}}"</td></tr>|}}<!--


*** COUNTRY/ETC
*** COUNTRY/ETC
Line 70: Line 48:
-->{{#if:{{{map_caption|}}}|<tr><td align="center" style="font-size:85%;">{{{map_caption}}}</td></tr>|}}|}}<!--
-->{{#if:{{{map_caption|}}}|<tr><td align="center" style="font-size:85%;">{{{map_caption}}}</td></tr>|}}|}}<!--
--></table></td></tr>|}}<!--
--></table></td></tr>|}}<!--
*** HISTORY
-->{{#if:{{{founded|}}}|<tr {{#if:{{{rights_year|}}}{{{incorporated|}}}| class="cont" |}}><td>'''Founded'''</td><td>{{#if:{{{founded|}}}|{{{founded}}}|}}</td></tr>|}}<!--
-->{{#if:{{{rights_year|}}}|<tr {{#if:{{{incorporated|}}}| class="cont" |}}><td>'''Rights granted'''</td><td>{{#if:{{{rights_year|}}}|<br />{{{rights_year}}}|}}</td></tr>|}}<!--
-->{{#if:{{{incorporated|}}}|<tr><td>'''Incorporated'''</td><td>{{#if:{{{incorporated|}}}|{{{incorporated}}}|}}</td></tr>|}}<!--
*** POPULATION
-->{{#if:{{{population_estimate|}}}{{{population_census|}}}{{{population_density_km2|}}}{{{population_density_sq_mi|}}}|<!--
--><tr class="cont"><td colspan="2">'''Population'''</td></tr><!--
-->{{#if:{{{population_estimate|}}}|<!--
--><tr {{#if:{{{population_census|}}}{{{population_density_km2|}}}{{{population_density_sq_mi|}}}|class="cont"|}}><td>&nbsp;&bull; Estimate{{#if:{{{population_estimate_year|}}}|&nbsp;({{{population_estimate_year}}})|}}</td><td>{{{population_estimate}}}</tr>|}}<!--
-->{{#if:{{{population_census|}}}|<!--
--><tr {{#if:{{{population_density_km2|}}}{{{population_density_sq_mi|}}}|class="cont"|}}><td>&nbsp;&bull; Census{{#if:{{{population_census_year|}}}|&nbsp;({{{population_census_year}}})|}}</td><td>{{{population_census}}}</tr>|}}<!--
-->{{#if:{{{population_density_km2|}}}{{{population_density_sq_mi|}}}|<!--
--><tr><td>&nbsp;&bull; Density</td><td>{{#if:{{{population_density_km2|}}}|{{{population_density_km2}}}/km<sup>2</sup>|}}{{#if:{{{population_density_km2|}}}|{{#if:{{{population_density_sq_mi|}}}|<br />|}}|}}{{#if:{{{population_density_sq_mi|}}}|{{{population_density_sq_mi}}}/sq mi|}}</td></tr>|}}|}}<!--


*** ETHNIC GROUPS
*** ETHNIC GROUPS
Line 103: Line 98:


-->{{#if:{{{elevation_m|}}}{{{elevation_ft|}}}|<tr><td>'''Elevation'''</td><td>{{#if:{{{elevation_m|}}}|{{{elevation_m}}} m|}}{{#if:{{{elevation_m|}}}|{{#if:{{{elevation_ft|}}}|&nbsp;(|}}|}}{{#if:{{{elevation_ft|}}}|{{{elevation_ft}}} ft|}}{{#if:{{{elevation_m|}}}|{{#if:{{{elevation_ft|}}}|)|}}|}}</td></tr>|}}<!--
-->{{#if:{{{elevation_m|}}}{{{elevation_ft|}}}|<tr><td>'''Elevation'''</td><td>{{#if:{{{elevation_m|}}}|{{{elevation_m}}} m|}}{{#if:{{{elevation_m|}}}|{{#if:{{{elevation_ft|}}}|&nbsp;(|}}|}}{{#if:{{{elevation_ft|}}}|{{{elevation_ft}}} ft|}}{{#if:{{{elevation_m|}}}|{{#if:{{{elevation_ft|}}}|)|}}|}}</td></tr>|}}<!--
*** POPULATION
-->{{#if:{{{population_estimate|}}}{{{population_census|}}}{{{population_density_km2|}}}{{{population_density_sq_mi|}}}|<!--
--><tr class="cont"><td colspan="2">'''Population'''</td></tr><!--
-->{{#if:{{{population_estimate|}}}|<!--
--><tr {{#if:{{{population_census|}}}{{{population_density_km2|}}}{{{population_density_sq_mi|}}}|class="cont"|}}><td>&nbsp;&bull; Estimate{{#if:{{{population_estimate_year|}}}|&nbsp;({{{population_estimate_year}}})|}}</td><td>{{{population_estimate}}}</tr>|}}<!--
-->{{#if:{{{population_census|}}}|<!--
--><tr {{#if:{{{population_density_km2|}}}{{{population_density_sq_mi|}}}|class="cont"|}}><td>&nbsp;&bull; Census{{#if:{{{population_census_year|}}}|&nbsp;({{{population_census_year}}})|}}</td><td>{{{population_census}}}</tr>|}}<!--
-->{{#if:{{{population_density_km2|}}}{{{population_density_sq_mi|}}}|<!--
--><tr><td>&nbsp;&bull; Density</td><td>{{#if:{{{population_density_km2|}}}|{{{population_density_km2}}}/km<sup>2</sup>|}}{{#if:{{{population_density_km2|}}}|{{#if:{{{population_density_sq_mi|}}}|<br />|}}|}}{{#if:{{{population_density_sq_mi|}}}|{{{population_density_sq_mi}}}/sq mi|}}</td></tr>|}}|}}<!--


*** MISCELLANEOUS INFORMATION
*** MISCELLANEOUS INFORMATION


-->{{#if:{{{postal_code|}}}|<tr><td>'''Postal Code'''</td><td>{{{postal_code}}}</td></tr>|}}<!--
-->{{#if:{{{postal_code|}}}|<tr><td>'''Postal Code'''</td><td>{{{postal_code}}}</td></tr>|}}<!--
{{#if:{{{telephone_code|}}}|<tr><td>'''Telephone Code'''</td><td>{{{telephone_code}}}</td></tr>|}}<!--
-->{{#if:{{{telephone_code|}}}|<tr><td>'''Telephone Code'''</td><td>{{{telephone_code}}}</td></tr>|}}<!--
{{#if:{{{metro|}}}|<tr><td>'''Metro'''</td><td>{{{metro}}}</td></tr>|}}<!--
-->{{#if:{{{metro|}}}|<tr><td>'''Metro'''</td><td>{{{metro}}}</td></tr>|}}<!--
{{#if:{{{tram|}}}|<tr><td>'''Tram'''</td><td>{{{tram}}}</td></tr>|}}<!--
-->{{#if:{{{tram|}}}|<tr><td>'''Tram'''</td><td>{{{tram}}}</td></tr>|}}<!--
{{#if:{{{buses|}}}|<tr><td>'''Buses'''</td><td>{{{buses}}}</td></tr>|}}<!--
-->{{#if:{{{buses|}}}|<tr><td>'''Buses'''</td><td>{{{buses}}}</td></tr>|}}<!--
{{#if:{{{website|}}}|<tr><td>'''Website'''</td><td>{{{website}}}</td></tr>|}}<!--
-->{{#if:{{{website|}}}|<tr><td>'''Website'''</td><td>{{{website}}}</td></tr>|}}<!--


============ END =================================
============ END =================================
Line 135: Line 119:


| name            =  
| name            =  
| official_name  =
| native_name    =  
| native_name    =  
| settlement_type =
| settlement_type =


| image_custom    =
| custom_image_1 =
| alt_custom      =
| image_1_type   =
| custom_caption  =
| custom_image_2 =
 
| image_2_type   =
| image_flag   =
| alt_flag    =
| image_coat   =
| alt_coat    =
| motto        =
| motto        =


Line 161: Line 140:
| alt_map      =
| alt_map      =
| map_caption  =
| map_caption  =
| founded      =
| rights_year  =
| incorporated  =
| population_estimate      =
| population_estimate_year =
| population_census        =
| population_census_year  =
| population_density_km2  =
| population_density_sq_m  =


| ethnic_groups      =
| ethnic_groups      =
Line 181: Line 171:
| elevation_m        =
| elevation_m        =
| elevation_ft      =
| elevation_ft      =
| population_estimate      =
| population_estimate_year =
| population_census        =
| population_census_year  =
| population_density_km2  =
| population_density_sq_m  =


| postal_code    =
| postal_code    =

Latest revision as of 13:25, 26 January 2026

{{ Infobox settlement
| map_zoom    =  
| latitude    = 
| longitude   = 

| name            = 
| native_name     = 
| settlement_type =

| custom_image_1 =
| image_1_type   =
| custom_image_2 =
| image_2_type   =
| motto        =

| loc_type1    =
| loc_name1    =
| loc_type2    =
| loc_name2    =
| loc_type3    =
| loc_name3    =
| loc_type4    =
| loc_name4    =

| image_map    =
| alt_map      =
| map_caption  =

| founded       =
| rights_year   =
| incorporated  =

| population_estimate      =
| population_estimate_year =
| population_census        =
| population_census_year   =
| population_density_km2   =
| population_density_sq_m  =

| ethnic_groups      =
| ethnic_groups_year =
| demonym            =

| leader_title1   =
| leader_name1    =
| leader_title2   =
| leader_name2    =
| leader_title3   =
| leader_name3    =

| area_type1         =
| area_size1_km2     =
| area_size1_sq_mi   =
| area_type2         =
| area_size2_km2     =
| area_size2_sq_mi   =
| elevation_m        =
| elevation_ft       =

| postal_code     =
| telephone_code  =

| metro    =
| tram     =
| buses    =
| airports =
| website  =
}}