Template:Infobox Finnish municipality/doc
This is a documentation subpage for Template:Infobox Finnish municipality. It contains usage information, categories and other content that is not part of the original template page. |
This template is a customized wrapper for {{Infobox settlement}}. Any field from
|
This template has been developed differently to the version maintained on the English Wikipedia. Parts of this wiki work differently to other wikis and this template has been adapted to suit. If you are making a major change to it, please first familiarise yourself with how it works and why it is different. The page's revision history may contain more information. Do not simply "update" the markup without checking how this will affect the template's local function. If your edit causes unexpected problems, please undo it quickly. |
Usage
Infobox for settlements 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.
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 = |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/waters area}}
- Sea and inland waters area added together (km2).
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:
- 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}}
- Total population:
- 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}}
- Total area: