انتقل إلى المحتوى

قالب:Infobox Finnish municipality/doc

من ويكيبيديا، الموسوعه الحره


Usage

[تعديل]

Infobox for cities and municipalities of Finland.

This template is to be used for (official) current Finnish cities and municipalities only. For former municipalities, {{Infobox Finnish former municipality}} is recommended. 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 sub-templates.
  • latNS=N and longEW=E parameters are applied for geographical coordinates by default.
  • inline,title parameters are applied for geographical coordinates by default, causing coordinates to display in an article's title bar upper-right corner. This can be overridden by setting the coordinates_display parameter to inline.
  • 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_display =
<!-- latNS=N and longEW=E set by default -->
|latd= |latm= |lats=
|longd= |longm= |longs=
|elevation_m =
|postal_code =
|area_code =
|website =
|footnotes =
}}

Sub-templates

[تعديل]

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

{{Infobox Finnish municipality/population count}}
Population by municipality.
latest data
{{Infobox Finnish municipality/population count sequence}}
Population rank by municipality.
latest data
{{Infobox Finnish municipality/population density}}
Population density by municipality.
{{Infobox Finnish municipality/total area}}
Total area (including waters) by municipality (km2).
latest data
{{Infobox Finnish municipality/total area sequence}}
Total area rank by municipality (km2).
latest data
{{Infobox Finnish municipality/land area}}
Land area by municipality (km2).
latest data
{{Infobox Finnish municipality/sea area}}
Sea area by municipality (km2).
latest data
{{Infobox Finnish municipality/inland waters area}}
Inland waters area by municipality (km2).
latest data
{{Infobox Finnish municipality/land and inland waters area}}
Land and inland waters area added together (km2).
{{Infobox Finnish municipality/waters area}}
Sea and inland waters area added together (km2).
{{Infobox Finnish municipality/tax rate}}
Municipal tax rate by municipality (%).
latest data
{{Infobox Finnish municipality/tax rate sequence}}
Municipal tax rate rank by municipality.
latest data
{{Infobox Finnish municipality/demography 0-14}}
latest data
{{Infobox Finnish municipality/demography 15-64}}
latest data
{{Infobox Finnish municipality/demography 65-}}
latest data
{{Infobox Finnish municipality/demography total}}
The three numbers above added together. When calculating percentages, this template must be used instead of {{Infobox Finnish municipality/population count}} due to different update cycles of the source data.
{{Infobox Finnish municipality/native language Finnish}}
Number of native speakers of Finnish language in the municipality.
latest data
{{Infobox Finnish municipality/native language Swedish}}
Number of native speakers of Swedish language in the municipality.
latest data
{{Infobox Finnish municipality/native language Sami}}
Number of native speakers of Sami languages (Northern Sami, Inari Sami and Skolt Sami) in the municipality.
latest data
{{Infobox Finnish municipality/native language other}}
Number of native speakers of other languages in the municipality.
latest data
{{Infobox Finnish municipality/native language total}}
The four numbers above added together. When calculating percentages, this template must be used instead of {{Infobox Finnish municipality/population count}} due to different update cycles of the source data.

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

See also

[تعديل]