| This template usesTemplateStyles: |
| This template uses theChart extension with sources fromWikimedia Commons. |
Standard
{{Chart|chart=.chart}}
Full
{{Chart| chart=| data=| thumb=| align=| width=| border=| style=| caption=| source=}}
or
{{Chart|thumb|align|width|caption|chart=.chart|data=.tab|border=|style=|source=.tab}}
{{Chart| chart= Autobahn network length.Line.chart}}
{{Chart| chart= Monthly stream discharges.chart| data= GRDC-1530100 monthly discharge.tab| border= 1}}
{{Chart| thumb| caption= Autobahn network length.| source= Autobahn network length.tab| chart= Autobahn network length.Line.chart}}
{{Chart| chart= Autobahn network length.Line.chart| align= right| width= 400px}}
{{Chart| thumb| chart= Autobahn network length.Line.chart| align= left| width= 400px}}
{{Chart| chart= Autobahn network length.Line.chart| align= center| width= 400px| caption= Autobahn network length.| source= Autobahn network length.tab}}
TemplateData for Chart
Includes a chart ([[Help:Charts]]) with source attribution and allows adjusting alignment, width, and border.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Display as thumbnail | thumb1 | Set to any value to display in a gray box like an image thumbnail
| Line | optional |
| Alignment | align2 | Chart alignment, either "left", "right", or "center"
| Line | optional |
| Width | width3 | Width in pixels or percent
| Line | optional |
| Caption | caption4 | Caption to display before the source information. Make sure to use ending punctuation.
| String | optional |
| Chart definition | chartdefinition | Chart on Wikimedia Commons, without the "Data:" prefix
| Line | required |
| Chart data | data | .tab on Wikimedia Commons, without the "Data:" prefix (overrides the specification in the chart definition)
| Line | suggested |
| Source attribution | source | Source .tab file to be linked at the bottom, without the "Data:" prefix. If not specified, it will fallback to displaying the value of "data" or "chart".
| Line | suggested |
| Border | border | Set to "1" to enable a border
| Boolean | optional |
| CSS styles | style | Additional CSS styles (beyond width and border)
| Line | optional |
| Hide source | hideSource | Set to any value to disable linking to the source
| Boolean | optional |