Template:Chart of NZ vineyard area by variety over time/doc
| icon | This is a documentation subpage for Template:Chart of NZ vineyard area by variety over time. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses {{Graph:Chart}} to produce a stacked line graph of New Zealand's vineyard area by grape variety over time, using data from the annual reports available from New Zealand Winegrowers, the national industry organisation. Currently, they do not publish their statistics with an open license, so we can't use Wikidata-based tab-delimited files (yet... we're working on it!)
The colour values used in the chart are from {{BrewerColors}}, using Set3.
Usage
[edit source]To include this chart in an article, simply place the following where you need it:
{{Chart of NZ vineyard area by variety over time}}
Which should produce a nice stacked graph:
| File:Information icon4.svg | Graph being ported This graph is being converted from the old graph extension to the new chart extension. |
Statistics from New Zealand Winegrowers 1998–2020 annual reports.[1]
Citation
[edit source]You can optionally supply a named ref tag if the article already has a citation for the New Zealand Winegrowers reports and statistics page, otherwise one will be generated with the reference name "nzw-annual-reports". The ref is supplied as the first parameter, for example:
{{Chart of NZ vineyard area by variety over time | <ref name="refname"/>}}
The default citation will look something like this:
Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
- ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).