Template:Chart showing old data
| This chart is intentionally showing old data – it should not be replaced with a newer chart. If you wish to use a newer version of this datagraphic that may get ongoing updates, check the file description for a link to one, or search for it on Wikimedia Commons. If one does not exist, upload the new version as a separate file. |
Use to identify charts that should not be overwritten with versions reflecting newer information.
The template automatically sets the following categories:
- Year subcategories of Category:Charts by data period (example: Category:Charts showing data through 1996)
Usage
{{Chart showing old data |1= |2= }}
Template parameters
- TemplateData
TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard.
Existing template documentation
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either useTemplateData=1 or useTemplateData=only on the /doc subpage and transcluding it with {{Documentation}} into the template. <nowiki>-tags can be wrapped around the arguments, if required, to avoid templates being expanded.
Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw <templatedata>-tags into the Wikitext of the template, as described in various Wikipediae.
Wikipedia's help about TemplateData • Commons-specific information
Use to identify charts that should not be overwritten with versions reflecting newer information.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| 1 | 1 start | start year | Number | optional |
| 2 | 2 end | end year | Number | optional |
Additional information
The template is intended to be used in the following namespaces: the File namespace
The template is intended to be used by the following user groups: all users
Example
{{Chart showing old data|1960|2023}}
renders as:
| This chart is intentionally showing old data – it should not be replaced with a newer chart. If you wish to use a newer version of this datagraphic that may get ongoing updates, check the file description for a link to one, or search for it on Wikimedia Commons. If one does not exist, upload the new version as a separate file. |
See also
- {{Map showing old data}} – for maps that should not be overwritten with versions reflecting newer information