Difference between revisions of "Template:Brick chart/Bricks"
Jump to navigation
Jump to search
imported>Zocky (;) |
imported>Zocky (don't draw bottom lines if one is enough) |
||
| Line 8: | Line 8: | ||
overflow:hidden; | overflow:hidden; | ||
width:{{min|{{#expr:({{{stride|10}}} - {{{offset|0}}} mod {{{stride|10}}})}}|{{{count|0}}}}}em; | width:{{min|{{#expr:({{{stride|10}}} - {{{offset|0}}} mod {{{stride|10}}})}}|{{{count|0}}}}}em; | ||
| − | "> </div><div style=" | + | "> </div>{{#ifexpr:{{{count|0}}} > {{min|{{#expr:({{{stride|10}}} - {{{offset|0}}} mod {{{stride|10}}})}}|{{{count|0}}}}} |
| + | |<div style=" | ||
background:{{{color|grey}}}; | background:{{{color|grey}}}; | ||
float:left; | float:left; | ||
| Line 20: | Line 21: | ||
)/{{{stride|10}}}) }}em; | )/{{{stride|10}}}) }}em; | ||
"> </div> | "> </div> | ||
| − | <div style=" | + | <div style=" |
background:{{{color|silver}}}; | background:{{{color|silver}}}; | ||
float:left; | float:left; | ||
| Line 27: | Line 28: | ||
width:{{#expr:(({{{count|0}}} + {{{offset|0}}}) mod {{{stride|10}}})}}em; | width:{{#expr:(({{{count|0}}} + {{{offset|0}}}) mod {{{stride|10}}})}}em; | ||
"> </div> | "> </div> | ||
| + | }} | ||
Revision as of 20:22, 17 August 2009
draws bricks for {{Brick chart}}
Expression error: Unrecognized punctuation character "[".