Mall:Rahvaarvu muutumine/doc
See on malli Rahvaarvu muutumine dokumentatsiooni alamleht. See sisaldab kasutamisjuhendit, kategooriaid ja muud sisu, mis ei ole osa malli enda osa. Mall ise asub leheküljel Mall:Rahvaarvu muutumine. |
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 |
Inserts a graph with the population history for the given city.
Parameeter | Kirjeldus | Tüüp | Olek | |
---|---|---|---|---|
City Wikidata ID | 1 | Wikidata ID of the city or region
| Sõne | valikuline |
Title of the data page on Commons | table | Data page name on Commons, without the Data: prefix. The table must contain "year" and "population" columns. | Sõne | valikuline |
Raw values for this graph | values | Supply all values as a list of JSON objects: {"year":1980, "population":1000}, {"year":1984, "population":1045}, ... | Teadmata | valikuline |
Title of the annotations data page on Commons | atable | Data page name on Commons, without the Data: prefix. The table must contain "year" column, and optional "text" and "color" columns. | Sõne | valikuline |
Raw annotation values | avalues | Supply all annotation values as a list of JSON objects: {"year":1980, "text":"Big event"}, ... | Teadmata | valikuline |
Graph color | color | Shade with which to highlight the data in the chart
| Sõne | valikuline |
Graph scale | scale | Scaling could be one of these: linear, log, pow, sqrt, quantile, quantize, and threshold
| Sõne | valikuline |
Maximum Y value axis | max | This optional value might be useful to align multiple graphs side-by-side
| Arv | valikuline |
Width | width | Width for the chart in pixels, if different from the default.
| Arv | valikuline |
Height | height | Height for the chart in pixels, if different from the default.
| Arv | valikuline |