Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a226e350f9f8cf43

Jump to content

Module:Slovak municipality/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

{{#invoke:Slovak municipality|function_name}}

About

[edit]

Get statistic data about Slovak municipalities.

This template is a sibling of Template:Slovak municipality.

This template use the data from CC-BY database.

Original first author: Dušan Kreheľ.

Reference implementation is on hrwiki.

Parameters

[edit]

First paramer

[edit]
Meaning Parameter Code Code output
Population p {{#invoke:Slovak municipality|sk|p|SK0417524395}} 2687
Population
(source URL)
P {{#invoke:Slovak municipality|sk|P|SK0417524395}}<br>{{#invoke:Slovak municipality|sk|P|SK}}<br>{{#invoke:Slovak municipality|sk|P|SK0106}} https://datacube.statistics.sk/#!/view/en/vbd_dem/om7101rr/v_om7101rr_00_00_00_en
https://datacube.statistics.sk/#!/view/en/vbd_dem/om7102rr/v_om7102rr_00_00_00_en
https://datacube.statistics.sk/#!/view/en/vbd_dem/om7102rr/v_om7102rr_00_00_00_en
Population
(ex. for table)
p {{#invoke:Slovak municipality|sk|o|SK0417524395}} 2,687
Population Id r {{#invoke:Slovak municipality|sk|r|SK0417524395}} om7101rr
Area a {{#invoke:Slovak municipality|sk|a|SK0417524395}} 11.24
Area
(source URL)
A {{#invoke:Slovak municipality|sk|A|SK0417524395}} https://datacube.statistics.sk/#!/view/en/vbd_dem/om7014rr/v_om7014rr_00_00_00_en
Area Id b {{#invoke:Slovak municipality|sk|b|SK0417524395}} om7014rr
Population density
(as population/area)
d {{#invoke:Slovak municipality|sk|d}} 239.03
Data year y {{#invoke:Slovak municipality|sk|y}}
Last acces l {{#invoke:Slovak municipality|sk|l}}
Last update u {{#invoke:Slovak municipality|sk|u}}
Is slovak municipality
(none support %i)
i {{#invoke:Slovak municipality|sk|i|SK0417524395}} 1
Get NUTS/LAU code
(none support %e)
e

You can used both the format string like printf() with parameters from table.

Code: {{#invoke:Slovak municipality|sk|%p (source: %P)|SK0417524395}}
Output: 2687 (source: https://datacube.statistics.sk/#!/view/en/vbd_dem/om7101rr/v_om7101rr_00_00_00_en

Second parameter

[edit]

It is a STUN or LAU code for place sup-place (ex. SK0417524395). If none, then code is automatic based on the actual page.