Template:Infobox settlement: Difference between revisions

From nUSA Wiki Archive
Jump to navigation Jump to search
(Created page with "{{#invoke:infobox|infoboxTemplate | child = {{yesno|{{{embed|}}}}} | templatestyles = Infobox settlement/styles.css | bodyclass = ib-settlement vcard <!--** names, type, and transliterations ** --> | above = <div class="fn org">{{if empty|{{{name|}}}|{{{official_name|}}}|{{PAGENAMEBASE}}}}</div> {{#if:{{{native_name|}}}|<div class="nickname ib-settlement-native" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</div>}}{{#if:{{{other_nam...")
 
No edit summary
Tag: Manual revert
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#invoke:infobox|infoboxTemplate
{{#invoke:infobox|infoboxTemplate
| child = {{yesno|{{{embed|}}}}}
| child = {{yesno|{{{embed|}}}}}
| templatestyles = Infobox settlement/styles.css
| bodyclass = ib-settlement vcard
| bodyclass = ib-settlement vcard


Line 128: Line 127:
                   --><div class="ib-settlement-nickname nickname">{{if empty|{{{nickname|}}}|{{{nicknames|}}}}}</div><!--
                   --><div class="ib-settlement-nickname nickname">{{if empty|{{{nickname|}}}|{{{nicknames|}}}}}</div><!--
             -->{{Main other|{{Pluralize from text|parse_links=1|{{{nickname|}}}|<!--
             -->{{Main other|{{Pluralize from text|parse_links=1|{{{nickname|}}}|<!--
                             -->likely=[[Category:Pages using infobox settlement with possible nickname list]]}}}}}}
                             -->likely=}}}}}}
<!-- ***Motto*** -->
<!-- ***Motto*** -->
| rowclass22 = {{#if:{{{etymology|}}}{{{nickname|}}}{{{nicknames|}}}|mergedrow|mergedtoprow}}
| rowclass22 = {{#if:{{{etymology|}}}{{{nickname|}}}{{{nicknames|}}}|mergedrow|mergedtoprow}}
Line 136: Line 135:
                   --><div class="ib-settlement-nickname nickname">{{if empty|{{{motto|}}}|{{{mottoes|}}}}}</div><!--
                   --><div class="ib-settlement-nickname nickname">{{if empty|{{{motto|}}}|{{{mottoes|}}}}}</div><!--
             -->{{Main other|{{Pluralize from text|{{{motto|}}}|<!--
             -->{{Main other|{{Pluralize from text|{{{motto|}}}|<!--
                             -->likely=[[Category:Pages using infobox settlement with possible motto list]]}}}}}}
                             -->likely=}}}}}}
<!-- ***Anthem*** -->
<!-- ***Anthem*** -->
| rowclass23 = {{#if:{{{etymology|}}}{{{nickname|}}}{{{nicknames|}}}{{{motto|}}}{{{mottoes|}}}|mergedrow|mergedtoprow}}
| rowclass23 = {{#if:{{{etymology|}}}{{{nickname|}}}{{{nicknames|}}}{{{motto|}}}{{{mottoes|}}}|mergedrow|mergedtoprow}}
Line 249: Line 248:


| rowclass46 = mergedrow
| rowclass46 = mergedrow
| label46 = [[Namesake|Named for]]
| label46 = Named for
|  data46 = {{{named_for|}}}
|  data46 = {{{named_for|}}}


Line 515: Line 514:
| label84 = &nbsp;•&nbsp;Rank
| label84 = &nbsp;•&nbsp;Rank
|  data84 = {{#if:{{{elevation_min_m|}}}{{{elevation_min_ft|}}}|{{{elevation_min_rank|}}}}}
|  data84 = {{#if:{{{elevation_min_m|}}}{{{elevation_min_ft|}}}|{{{elevation_min_rank|}}}}}
<!-- ***Population*** -->
| rowclass85 = mergedtoprow
| label85 = Population<div class="ib-settlement-fn">{{#if:{{{population_as_of|}}}|{{nbsp}}({{{population_as_of}}})}}{{{population_footnotes|}}}</div>
|  data85 = {{fix comma category|{{#if:{{{population|}}}
  | {{formatnum:{{replace|{{{population}}}|,|}}}}
  | {{#ifeq:{{{total_type}}}|&nbsp;
    | {{#if:{{{population_total|}}}
      | {{formatnum:{{replace|{{{population_total}}}|,|}}}}
      }}
    }}
  }}}}
| rowclass86 = mergedtoprow
| header86 = {{#if:{{{population|}}}
  |
  |{{#ifeq:{{{total_type}}}|&nbsp;
    |
    |{{#if:{{{population_total|}}}{{{population_urban|}}}{{{population_rural|}}}{{{population_metro|}}}{{{population_blank1|}}}{{{population_blank2|}}}{{{population_est|}}}
      |Population<div class="ib-settlement-fn">{{#if:{{{population_as_of|}}}|{{nbsp}}({{{population_as_of}}})}}{{{population_footnotes|}}}</div>
      }}
    }}
  }}
| rowclass87 = mergedrow
| label87 = &nbsp;•&nbsp;{{#if:{{{total_type|}}}|{{{total_type}}}|{{#if:{{{population_metro|}}}{{{population_urban|}}}{{{population_rural|}}}{{{area_metro_km2|}}}{{{area_metro_sq_mi|}}}{{{area_urban_km2|}}}{{{area_urban_sq_mi|}}}{{{area_rural_km2|}}}{{{area_rural_sq_mi|}}}|{{#if:{{{settlement_type|{{{type|}}}}}}|{{{settlement_type|{{{type}}}}}}|City}}|Total}}}}
|  data87 = {{#if:{{{population|}}}
  |
  |{{#ifeq:{{{total_type}}}|&nbsp;
    |
    |{{#if:{{{population_total|}}}
      | {{fix comma category|{{formatnum:{{replace|{{{population_total}}}|,|}}}}}}
      }}
    }}
  }}
| rowclass88 = mergedrow
| label88 = &nbsp;•&nbsp;Estimate&nbsp;<div class="ib-settlement-fn">({{{pop_est_as_of}}}){{{pop_est_footnotes|}}}</div>
|  data88 = {{#if:{{{population_est|}}}|{{fix comma category|{{formatnum:{{replace|{{{population_est}}}|,|}}}}}} }}
<!-- ***Population rank*** -->
| rowclass89 = mergedrow
| label89 =&nbsp;•&nbsp;Rank
|  data89 = {{{population_rank|}}}
| rowclass90 = mergedrow
| label90 = &nbsp;•&nbsp;Density
|  data90 = {{#if:{{{population_density_km2|}}}{{{population_density_sq_mi|}}}{{{population_total|}}}
  |{{infobox_settlement/densdisp
      |/km2 ={{{population_density_km2|}}}
      |/sqmi={{{population_density_sq_mi|}}}
      |pop  ={{{population_total|}}}
      |dunam={{{area_total_dunam|}}}
      |ha  ={{{area_total_ha|}}}
      |km2  ={{{area_total_km2|}}}
      |acre ={{{area_total_acre|}}}
      |sqmi ={{{area_total_sq_mi|}}}
      |pref ={{{unit_pref}}}
      |name ={{{subdivision_name}}}
    }}}}
<!-- ***Population density rank*** -->
| rowclass91 = mergedrow
| label91 = &nbsp;&nbsp;•&nbsp;Rank
|  data91 = {{{population_density_rank|}}}
| rowclass92 = mergedrow
| label92 = &nbsp;•&nbsp;[[Urban area|Urban]]<div class="ib-settlement-fn">{{{population_urban_footnotes|}}}</div>
|  data92 = {{#if:{{{population_urban|}}}| {{fix comma category|{{formatnum:{{replace|{{{population_urban}}}|,|}}}}}} }}
| rowclass93 = mergedrow
| label93 = &nbsp;•&nbsp;Urban&nbsp;density
|  data93 = {{#if:{{{population_density_urban_km2|}}}{{{population_density_urban_sq_mi|}}}{{{population_urban|}}}
  |{{infobox_settlement/densdisp
      |/km2 ={{{population_density_urban_km2|}}}
      |/sqmi={{{population_density_urban_sq_mi|}}}
      |pop  ={{{population_urban|}}}
      |ha  ={{{area_urban_ha|}}}
      |km2  ={{{area_urban_km2|}}}
      |acre ={{{area_urban_acre|}}}
      |sqmi ={{{area_urban_sq_mi|}}}
      |dunam={{{area_urban_dunam|}}}
      |pref ={{{unit_pref}}}
      |name ={{{subdivision_name}}}
    }}}}
| rowclass94 = mergedrow
| label94 = &nbsp;•&nbsp;[[Rural area|Rural]]<div class="ib-settlement-fn">{{{population_rural_footnotes|}}}</div>
|  data94 = {{#if:{{{population_rural|}}}|{{fix comma category|{{formatnum:{{replace|{{{population_rural}}}|,|}}}}}}}}
| rowclass95 = mergedrow
| label95 = &nbsp;•&nbsp;Rural&nbsp;density
|  data95 = {{#if:{{{population_density_rural_km2|}}}{{{population_density_rural_sq_mi|}}}{{{population_rural|}}}
  |{{infobox_settlement/densdisp
      |/km2 ={{{population_density_rural_km2|}}}
      |/sqmi={{{population_density_rural_sq_mi|}}}
      |pop  ={{{population_rural|}}}
      |ha  ={{{area_rural_ha|}}}
      |km2  ={{{area_rural_km2|}}}
      |acre ={{{area_rural_acre|}}}
      |sqmi ={{{area_rural_sq_mi|}}}
      |dunam={{{area_rural_dunam|}}}
      |pref ={{{unit_pref}}}
      |name ={{{subdivision_name}}}
    }}}}
| rowclass96 = mergedrow
| label96 =&nbsp;•&nbsp;[[Metropolitan area|Metro]]<div class="ib-settlement-fn">{{{population_metro_footnotes|}}}</div>
|  data96 = {{#if:{{{population_metro|}}}| {{fix comma category|{{formatnum:{{replace|{{{population_metro}}}|,|}}}}}} }}
| rowclass97 = mergedrow
| label97 = &nbsp;•&nbsp;Metro&nbsp;density
|  data97 =  {{#if:{{{population_density_metro_km2|}}}{{{population_density_metro_sq_mi|}}}{{{population_metro|}}}
  |{{infobox_settlement/densdisp
      |/km2 ={{{population_density_metro_km2|}}}
      |/sqmi={{{population_density_metro_sq_mi|}}}
      |pop  ={{{population_metro|}}}
      |ha  ={{{area_metro_ha|}}}
      |km2  ={{{area_metro_km2|}}}
      |acre ={{{area_metro_acre|}}}
      |sqmi ={{{area_metro_sq_mi|}}}
      |dunam={{{area_metro_dunam|}}}
      |pref ={{{unit_pref}}}
      |name ={{{subdivision_name}}}
    }}}}
| rowclass98 = mergedrow
| label98 = &nbsp;•&nbsp;{{{population_blank1_title|}}}<div class="ib-settlement-fn">{{{population_blank1_footnotes|}}}</div>
|  data98 = {{#if:{{{population_blank1|}}}|{{fix comma category|{{formatnum:{{replace|{{{population_blank1}}}|,|}}}}}}}}
| rowclass99 = mergedrow
| label99 = &nbsp;•&nbsp;{{#if:{{{population_blank1_title|}}}|{{{population_blank1_title}}} density|Density}}
|  data99 =  {{#if:{{{population_density_blank1_km2|}}}{{{population_density_blank1_sq_mi|}}}{{{population_blank1|}}}
  |{{infobox_settlement/densdisp
      |/km2 ={{{population_density_blank1_km2|}}}
      |/sqmi={{{population_density_blank1_sq_mi|}}}
      |pop  ={{{population_blank1|}}}
      |ha  ={{{area_blank1_ha|}}}
      |km2  ={{{area_blank1_km2|}}}
      |acre ={{{area_blank1_acre|}}}
      |sqmi ={{{area_blank1_sq_mi|}}}
      |dunam={{{area_blank1_dunam|}}}
      |pref ={{{unit_pref}}}
      |name ={{{subdivision_name}}}
    }}}}
| rowclass100 = mergedrow
| label100 = &nbsp;•&nbsp;{{{population_blank2_title|}}}<div class="ib-settlement-fn">{{{population_blank2_footnotes|}}}</div>
|  data100 = {{#if:{{{population_blank2|}}}|{{fix comma category|{{formatnum:{{replace|{{{population_blank2}}}|,|}}}}}}}}
| rowclass101 = mergedrow
| label101 = &nbsp;•&nbsp;{{#if:{{{population_blank2_title|}}}|{{{population_blank2_title}}} density|Density}}
|  data101 = {{#if:{{{population_density_blank2_km2|}}}{{{population_density_blank2_sq_mi|}}}{{{population_blank2|}}}
  |{{infobox_settlement/densdisp
      |/km2 ={{{population_density_blank2_km2|}}}
      |/sqmi={{{population_density_blank2_sq_mi|}}}
      |pop  ={{{population_blank2|}}}
      |ha  ={{{area_blank2_ha|}}}
      |km2  ={{{area_blank2_km2|}}}
      |acre ={{{area_blank2_acre|}}}
      |sqmi ={{{area_blank2_sq_mi|}}}
      |dunam={{{area_blank2_dunam|}}}
      |pref ={{{unit_pref}}}
      |name ={{{subdivision_name}}}
    }}}}
| rowclass102 = mergedrow
| label102 = &nbsp;
|  data102 = {{{population_note|}}}
| rowclass103 = mergedtoprow
| label103 = {{Pluralize from text|{{if empty|{{{population_demonym|}}}|{{{population_demonyms|}}}{{force plural}}}}|<!--
                -->link=Demonym|singular=Demonym|likely=Demonym(s)|plural=Demonyms}}
|  data103 = {{if empty|{{{population_demonym|}}}|{{{population_demonyms|}}}}}{{Main other|{{Pluralize from text|{{{population_demonym|}}}|likely=[[Category:Pages using infobox settlement with possible demonym list]]}}}}


<!-- ***Demographics 1*** -->
<!-- ***Demographics 1*** -->

Latest revision as of 04:40, 31 January 2023

Infobox settlement