Difference between revisions of "Template:Data bars/column"
Jump to navigation
Jump to search
imported>Jonathan Lane Studeman (titles only if not detailed) |
imported>Jonathan Lane Studeman |
||
| Line 102: | Line 102: | ||
---------->{{#if:{{{detailed|}}}|{{{8|0}}}|}}}}|}} | ---------->{{#if:{{{detailed|}}}|{{{8|0}}}|}}}}|}} | ||
{{!}}}<!---- | {{!}}}<!---- | ||
| − | ---> | + | --->}}</includeonly><noinclude> |
This sub-template handles one "column" of data (zero and positive numbers only) to produce a bar for display inside a [[Data bars|barchart table]]. | This sub-template handles one "column" of data (zero and positive numbers only) to produce a bar for display inside a [[Data bars|barchart table]]. | ||
Revision as of 07:51, 13 January 2015
This sub-template handles one "column" of data (zero and positive numbers only) to produce a bar for display inside a barchart table.
- No more than eight numbers are accepted as unnamed parameters
- Colors are named color1, color2, color3, and so on, up to eight colors.
- A style number may be specified. If even, the bar is horizontal.
- A scale number may be specified. If so, the bar size in pixels becomes scale times data.
The template call must be enclosed within a table.
| Examples: |
|
|---|