Difference between revisions of "Template:Bar pixel 2"
Jump to navigation
Jump to search
imported>CGN2010 |
imported>CGN2010 |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><tr> | <includeonly><tr> | ||
<td colspan="2" style="padding-right:0.4em; padding-left:0.4em">{{{1}}}</td> | <td colspan="2" style="padding-right:0.4em; padding-left:0.4em">{{{1}}}</td> | ||
| − | <td style="border-left:solid 1px silver;border-right:solid 1px silver;"><div style="background:{{{2|grey}}}; width:{{{3|0}}}px; style="background:{{{4|grey}}}; width:{{{5|0}}}px; overflow:hidden">  </div></td> | + | <td style="border-left:solid 1px silver;border-right:solid 1px silver;"><div style="background:{{{2|grey}}}; width:{{{3|0}}}px; overflow:hidden">  </div><div style="background:{{{4|grey}}}; width:{{{5|0}}}px; overflow:hidden">  </div></td> |
<td colspan="2" style="min-width:3em;padding-left:0.4em" align="right">{{{7|{{{3|0}}}{{{6|}}}}}}</td> | <td colspan="2" style="min-width:3em;padding-left:0.4em" align="right">{{{7|{{{3|0}}}{{{6|}}}}}}</td> | ||
</tr></includeonly> | </tr></includeonly> | ||
<noinclude> | <noinclude> | ||
Use with {{tl|bar box}} | Use with {{tl|bar box}} | ||
| + | |||
| + | <pre> | ||
| + | {{bar box | ||
| + | |title=Quantity of stuff | ||
| + | |titlebar=#DDD | ||
| + | |left1=kinds of stuff | ||
| + | |right2=pcs. | ||
| + | |width=550px | ||
| + | |bars= | ||
| + | {{bar pixel 2|Foobar|red|133|pink|33||,213}} | ||
| + | {{bar pixel 2|Barfoo|green|223|lightgreen|123||,123}} | ||
| + | {{bar pixel 2|Bazbar|blue|410|lightblue|210||,121}} | ||
| + | {{bar pixel 2|Barfoobaz|orange|23|yellow|13||12,854}} | ||
| + | |caption=Some stuff displayed by quantity. | ||
| + | }} | ||
| + | </pre> | ||
| + | {{bar box | ||
| + | |title=Quantity of stuff | ||
| + | |titlebar=#DDD | ||
| + | |left1=kinds of stuff | ||
| + | |right2=pcs. | ||
| + | |width=550px | ||
| + | |bars= | ||
| + | {{bar pixel 2|Foobar|red|133|pink|33||,213}} | ||
| + | {{bar pixel 2|Barfoo|green|223|lightgreen|123||,123}} | ||
| + | {{bar pixel 2|Bazbar|blue|410|lightblue|210||,121}} | ||
| + | {{bar pixel 2|Barfoobaz|orange|23|yellow|13||12,854}} | ||
| + | |caption=Some stuff displayed by quantity. | ||
| + | }} | ||
| + | |||
[[Category:Bar chart templates|{{PAGENAME}}]] | [[Category:Bar chart templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 18:40, 9 May 2010
Use with {{bar box}}
{{bar box
|title=Quantity of stuff
|titlebar=#DDD
|left1=kinds of stuff
|right2=pcs.
|width=550px
|bars=
{{bar pixel 2|Foobar|red|133|pink|33||,213}}
{{bar pixel 2|Barfoo|green|223|lightgreen|123||,123}}
{{bar pixel 2|Bazbar|blue|410|lightblue|210||,121}}
{{bar pixel 2|Barfoobaz|orange|23|yellow|13||12,854}}
|caption=Some stuff displayed by quantity.
}}