Naar inhoud springen

Module:SK/doc

Uit Wikipedia, de vrije encyclopedie
Dit is een oude versie van deze pagina, bewerkt door RonnieV (overleg | bijdragen) op 18 jul 2025 om 14:11. (parameter 'o' is used to get just the number of the population)
Deze versie kan sterk verschillen van de huidige versie van deze pagina.

About

Get statistic data about Slovak municipalities.

This template is a sibling of Sjabloon:Slovak municipality.

This template use the data from CC-BY database.

Original first author: Dušan Kreheľ.

Reference implementation is on hrwiki.

Parameters

First paramer

Meaning Parameter Code Code output
Population p {{#invoke:SK|sk|p|SK0417524395}} 2550
Population
(source URL)
P {{#invoke:SK|sk|P|SK0417524395}}<br>{{#invoke:SK|sk|P|SK}}<br>{{#invoke:SK|sk|P|SK0106}} https://datacube.statistics.sk/#!/view/sk/vbd_dem/om7101rr/v_om7101rr_00_00_00_sk
https://datacube.statistics.sk/#!/view/sk/vbd_dem/om7102rr/v_om7102rr_00_00_00_sk
https://datacube.statistics.sk/#!/view/sk/vbd_dem/om7102rr/v_om7102rr_00_00_00_sk
Population
(ex. for table)
o {{#invoke:SK|sk|o|SK0417524395}} 2.550
Population Id r {{#invoke:SK|sk|r|SK0417524395}} om7101rr
Area a {{#invoke:SK|sk|a|SK0417524395}} 11,24
Area
(source URL)
A {{#invoke:SK|sk|A|SK0417524395}} https://datacube.statistics.sk/#!/view/sk/vbd_dem/om7014rr/v_om7014rr_00_00_00_sk
Area Id b {{#invoke:SK|sk|b|SK0417524395}} om7014rr
Population density
(as population/area)
d {{#invoke:SK|sk|d}} 226,78
Data year y {{#invoke:SK|sk|y}}
Last acces l {{#invoke:SK|sk|l}}
Last update u {{#invoke:SK|sk|u}}
Is slovak municipality
(none support %i)
i {{#invoke:SK|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:SK|sk|%p (source: %P)|SK0417524395}}
Output: 2550 (source: https://datacube.statistics.sk/#!/view/sk/vbd_dem/om7101rr/v_om7101rr_00_00_00_sk

Second parameter

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