Mall:Rahvaarvu muutumine/doc

Allikas: Vikipeedia

This graph's main version resides at mediawiki Template:Graph:Population_history. Please make all the changes there and copy it everywhere else (until the copying is automated)

{{Rahvaarvu muutumine|Q993014}}
Viimsi valla rahvaarvu muutus from Wikidata
{{Rahvaarvu muutumine

| table=Wikidata/St.Petersburg.tab
| atable=Original/St.Petersburg population annotations.tab}}
Show population of St.Petersburg from the table on Commons, with annotations

Inserts a graph with the population history for the given city.

Malli parameetrid

Selle malli juures eelistatakse parameetrite vormistamist plokina.

ParameeterKirjeldusTüüpOlek
City Wikidata ID1

Wikidata ID of the city or region

Vaikimisi
Q84
Sõnevalikuline
Title of the data page on Commonstable

Data page name on Commons, without the Data: prefix. The table must contain "year" and "population" columns.

Sõnevalikuline
Raw values for this graphvalues

Supply all values as a list of JSON objects: {"year":1980, "population":1000}, {"year":1984, "population":1045}, ...

Teadmatavalikuline
Title of the annotations data page on Commonsatable

Data page name on Commons, without the Data: prefix. The table must contain "year" column, and optional "text" and "color" columns.

Sõnevalikuline
Raw annotation valuesavalues

Supply all annotation values as a list of JSON objects: {"year":1980, "text":"Big event"}, ...

Teadmatavalikuline
Graph colorcolor

Shade with which to highlight the data in the chart

Vaikimisi
#00f
Näide
#f00
Sõnevalikuline
Graph scalescale

Scaling could be one of these: linear, log, pow, sqrt, quantile, quantize, and threshold

Vaikimisi
linear
Näide
log
Sõnevalikuline
Maximum Y value axismax

This optional value might be useful to align multiple graphs side-by-side

Vaikimisi
Automatically scaled to the data.
Näide
10000
Arvvalikuline
Widthwidth

Width for the chart in pixels, if different from the default.

Vaikimisi
400
Arvvalikuline
Heightheight

Height for the chart in pixels, if different from the default.

Vaikimisi
200
Arvvalikuline