Difference between revisions of "Template:Dutch municipality total area"

From blackwiki
Jump to navigation Jump to search
imported>Tristan Surtel
m (Also included columns for land and water area)
imported>Monkbot
m (Task 18a (cosmetic) (manual): eval 1 template: hyphenate params (1×); cvt lang vals (1×);)
 
Line 1: Line 1:
 
<includeonly>{{{{{|safesubst:}}}#switch:{{{1}}}
 
<includeonly>{{{{{|safesubst:}}}#switch:{{{1}}}
 
<!-- Use to switches one for special input and (refs, etc) and one for normal municipal input -->
 
<!-- Use to switches one for special input and (refs, etc) and one for normal municipal input -->
|dataref={{cite web |url = https://opendata.cbs.nl/statline/#/CBS/nl/dataset/84799NED/table?dl=41062 |title = Kerncijfers wijken en buurten 2020 |trans-title = Key figures for neighbourhoods 2020 |language = Dutch |author = <!--Staff writer(s); no by-line.--> |date = 24 July 2020 |work = StatLine |publisher = [[Statistics Netherlands|CBS]] |accessdate = 19 September 2020}}
+
|dataref={{cite web |url = https://opendata.cbs.nl/statline/#/CBS/nl/dataset/84799NED/table?dl=41062 |title = Kerncijfers wijken en buurten 2020 |trans-title = Key figures for neighbourhoods 2020 |language = nl |author = <!--Staff writer(s); no by-line.--> |date = 24 July 2020 |work = StatLine |publisher = [[Statistics Netherlands|CBS]] |access-date = 19 September 2020}}
 
| #default=<!-- This is for all other inputs -->  
 
| #default=<!-- This is for all other inputs -->  
 
{{#switch:
 
{{#switch:

Latest revision as of 23:54, 19 December 2020

Template documentation[view] [edit] [history] [purge]

Usage

This template gives the total area (land + water) in km2 of each municipality as text output based on the CBS code or name of municipality. It is used as follows:

{{Dutch municipality total area|XX}}

with XX the CBS code, for example: {{Dutch municipality total area|1680}} → 278.87


or the name, for example: {{Dutch municipality total area|Aa en Hunze}} → 278.87


Each municipality has a code assigned by CBS, see List of municipalities of the Netherlands for an overview.

A reference to the source of the data is obtained by using: {{Dutch municipality total area|dataref}}"Kerncijfers wijken en buurten 2020" [Key figures for neighbourhoods 2020]. StatLine (in Dutch). CBS. 24 July 2020. Retrieved 19 September 2020.


Technical details

The data in this template can be updated from time to time with new up-to-date CBS stats. Note that a similar version exists for the Dutch language Wikipedia and that the actual data can be updated in the same manner for both versions. Also consider updating the reference when you would update the total area numbers.

See also