Content deleted Content added
→TemplateData: Update |
HouseBlaster (talk | contribs) use short name |
||
(6 intermediate revisions by 3 users not shown) | |||
Line 4:
'''Standard'''
{{tlx|
'''Full'''
<syntaxhighlight lang="wikitext" style="white-space:pre-wrap;" copy>
{{Chart
| chart =
| data =
Line 23:
or
{{tlx|
== Examples ==
=== full width ===
<syntaxhighlight lang="wikitext" style="white-space:pre-wrap; overflow:auto;">
{{Chart
| chart = Autobahn network length.Line.chart
}}
</syntaxhighlight>
{{Chart
| chart = Autobahn network length.Line.chart
}}
Line 38:
=== other data source and border ===
<syntaxhighlight lang="wikitext" style="white-space:pre-wrap; overflow:auto;">
{{Chart
| chart = Monthly stream discharges.chart
| data = GRDC-1530100 monthly discharge.tab
Line 44:
}}
</syntaxhighlight>
{{Chart
| chart = Monthly stream discharges.chart
| data = GRDC-1530100 monthly discharge.tab
Line 52:
=== thumbnail, caption, and source ===
<syntaxhighlight lang="wikitext" style="white-space:pre-wrap; overflow:auto;">
{{Chart
| thumb
| caption = Autobahn network length.
Line 59:
}}
</syntaxhighlight>
{{Chart
| thumb
| caption = Autobahn network length.
Line 70:
=== aligned and fixed width ===
<syntaxhighlight lang="wikitext" style="white-space:pre-wrap; overflow:auto;">
{{Chart
| chart = Autobahn network length.Line.chart
| align = right
Line 76:
}}
</syntaxhighlight>
{{Chart
| chart = Autobahn network length.Line.chart
| align = right
Line 84:
=== aligned and fixed width thumbnail ===
<syntaxhighlight lang="wikitext" style="white-space:pre-wrap; overflow:auto;">
{{Chart
| thumb
| chart = Autobahn network length.Line.chart
Line 91:
}}
</syntaxhighlight>
{{Chart
| thumb
| chart = Autobahn network length.Line.chart
Line 102:
=== centered, fixed width, border, caption and source ===
<syntaxhighlight lang="wikitext" style="white-space:pre-wrap; overflow:auto;">
{{Chart
| chart = Autobahn network length.Line.chart
| align = center
Line 110:
}}
</syntaxhighlight>
{{Chart
| chart = Autobahn network length.Line.chart
| align = center
Line 126:
"data": {
"label": "Chart data",
"description": "
"type": "
"suggested": true,
"example": "
},
"width": {
Line 156:
"source": {
"label": "Source attribution",
"type": "
"description": "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\".",
"example": "
"suggested": true
},
Line 172:
],
"label": "Chart definition",
"description": "
"example": "
"type": "
"required": true
},
Line 183:
"label": "Alignment",
"description": "Chart alignment, either \"left\", \"right\", or \"center\"",
"type": "
"suggestedvalues": [
"left",
Line 197:
"description": "Set to any value to display in a gray box like an image thumbnail",
"example": "thumb",
"type": "
"suggestedvalues": [
"thumb"
Line 209:
"description": "Caption to display before the source information. Make sure to use ending punctuation.",
"example": "This is a chart caption.",
"type": "
},
"hideSource": {
Line 215:
"description": "Set to any value to disable linking to the source",
"example": "1",
"type": "
"suggestedvalues": [
"1"
Line 239:
== See also ==
* [[Help:Charts]]
* {{tl|Image frame}}
<includeonly>{{Sandbox other||
[[Category:Chart formatting templates]]
}}</includeonly>
|