Template:Infobox Finnish municipality/doc

From IxWiki
Jump to navigation Jump to search

Usage

Infobox for cities and municipalities of Finland.

This template is to be used for (official) current Finnish cities and municipalities only. For villages, districts and suburbs, other templates, such as {{Infobox settlement}}, is recommended.

The documentation for {{Infobox settlement}} template can be applied with this template, too, with some notable exceptions:

  • Not all parameters are available, see the empty template below.
  • The template gets up-to-date the population and area data automatically from its data templates.
  • Default map size is set to 150px. Overriding is possible by setting the mapsize (or dot_mapsize or pushpin_mapsize) parameter.
  • Some extra parameters are implemented:
finnish_official, swedish_official, sami_official
set to "1" if the said language is an official language in the municipality (the major language of the municipality is official by default)
unemployment
unemployment rate in percents

Empty template

{{Infobox Finnish municipality
|name                   = 
|official_name          = 
|other_name             = 
|native_name            = 
|native_name_lang       = 
|nickname               = 
|settlement_type        = <!-- City, Town or Municipality-->
|total_type             = <!-- to set a non-standard label for total area and population rows -->
|motto                  = 
|image_skyline          = 
|imagesize              = 
|image_caption          = 
|image_flag             = 
|flag_size              = 
|image_seal             = 
|seal_size              = 
|image_shield           = 
|shield_size            = 
|image_blank_emblem     = 
|blank_emblem_type      = 
|blank_emblem_size      = 
|image_map              = 
|mapsize                = 
|map_caption            = 
|image_dot_map          = 
|dot_mapsize            = 
|dot_map_caption        = 
|dot_x =  |dot_y = 
|pushpin_map            = <!-- name of a location map as per Template:Location_map -->
|pushpin_label_position = <!-- position of the pushpin label: left, right, top, bottom, none -->
|pushpin_map_caption    = 
|pushpin_mapsize        = 
|province               = 
|region                 = 
|subregion              = 
<!-- Smaller parts (e.g. boroughs of a city) and seat of government -->
|seat_type              = 
|seat                   = 
|parts_type             = 
|parts_style            = <!-- =list (for list), coll (for collapsed list), para (for paragraph format)
                               Default is list if up to 5 items, coll if more than 5-->
|parts                  = <!-- parts text, or header for parts list -->
|p1                     = 
|p2                     = <!-- etc. up to p10: for separate parts to be listed-->
|government_footnotes   = 
|leader_title           = 
|leader_name            = 
|leader_title1          = 
|leader_name1           = 
|leader_title2          = 
|leader_name2           = 
|leader_title3          = 
|leader_name3           = 
|established_title      = 
|established_date       = 
|established_title2     = 
|established_date2      = 
|established_title3     = 
|established_date3      = 
|extinct_title          = 
|extinct_date           = 
|area_urban_km2         = 
|area_metro_km2         = 
|population_metro       = 
|population_blank1_title  = 
|population_blank1        = 
|population_density_metro_km2 = 
|population_urban       = 
|population_density_urban_km2 = 
|population_note        = 
|finnish_official       = 
|swedish_official       = 
|sami_official          = 
|urbanisation           = 
|unemployment           = 
|blank1_name            = 
|blank1_info            = 
|blank2_name            = 
|blank2_info            = 
|blank3_name            = 
|blank3_info            = 
|blank4_name            = 
|blank4_info            = 
|coordinates            = {{Coord}}
|elevation_m            = 
|postal_code            = 
|area_code              = 
|website                = 
|footnotes              = 
}}

Data templates

The following data templates can be used for getting automated population and area data.

Using the data templates

All values in the templates are formatted in a standardized way: there are no thousand separators and the decimal is dot (e.g. full stop or .). The standardized formatting ensures the data is reusable in all language versions as follows:

  1. Municipality population:
    • Total population:
      {{formatnum: {{Data Finland municipality/population count|Municipality}} }}
    • Running order (nth largest):
      {{Data Finland municipality/population count sequence|Municipality}}. largest
    • Date of reference:
      {{#time: F j Y | {{Data Finland municipality/population count|sourcedate}} }}
    • Reference:
      {{Data Finland municipality/population count}}
  2. area:
    • Total area:
      {{formatnum: {{Data Finland municipality/total area|Municipality}} }}
    • Running order (nth largest):
      {{Data Finland municipality/total area sequence|Municipality}}. largest
    • Land area:
      {{formatnum: {{Data Finland municipality/land area|Municipality}} }}
    • Sea area:
      {{formatnum: {{Data Finland municipality/sea area|Municipality}} }}
    • Lake and river area:
      {{formatnum: {{Data Finland municipality/inland waters area|Municipality}} }}
    • Date of reference:
      {{#time: Y | {{Data Finland municipality/total area|sourcedate}} }}
    • Reference:
      {{Data Finland municipality/total area}}
  3. Community tax:
    • Community tax percentage:
      {{formatnum: {{Data Finland municipality/tax rate|Municipality}} }}
    • Running order (nth highest):
      {{Data Finland municipality/tax rate sequence|Municipality}}. highest
    • Date of reference:
      {{#time: Y | {{Data Finland municipality/tax rate|sourcedate}} }}
    • Reference:
      {{Data Finland municipality/tax rate}}
  4. Demographics of the municipality:
    • Population between ages 0 and 14:
      {{formatnum: {{Data Finland municipality/demography 0-14|Municipality}} }}
    • Population between ages 15 and 64:
      {{formatnum: {{Data Finland municipality/demography 15-64|Municipality}} }}
    • Population over the age of 65:
      {{formatnum: {{Data Finland municipality/demography 65-|Municipality}} }}
    • Percentage of total population (example shows percentage of people between ages 0 to 14 of the total population):
      {{formatnum: {{Pct|{{Data Finland municipality/demography 0-14|Municipality}}|{{#expr: {{Data Finland municipality/demography 15-64|Municipality}}+{{Data Finland municipality/demography 65-|Municipality}} }} |2 }} }}
    • Date of reference:
      {{#time: Y | {{Data Finland municipality/demography 0-14|sourcedate}} }}
    • Reference:
      {{Data Finland municipality/demography 0-14}}

See also