Difference between revisions of "Template:Bar percent"

From blackwiki
Jump to navigation Jump to search
imported>Technical 13
(per http://en.wikipedia.org/w/index.php?title=User_talk:Technical_13&diff=638402971&oldid=638395451)
imported>Redrose64
(it was gray before - so why change it to grey when you have yourself pointed out that some versions of IE don't recognise grey?)
Line 2: Line 2:
 
</noinclude><tr>
 
</noinclude><tr>
 
<td colspan="2" style="padding-left: 0.4em; padding-right: 0.4em; min-width: 8em;">{{{1}}}</td>
 
<td colspan="2" style="padding-left: 0.4em; padding-right: 0.4em; min-width: 8em;">{{{1}}}</td>
<td style="width: {{{barwidth|100px}}}; border-left: solid 1px silver; border-right: solid 1px silver;"><div style="background:{{{2|grey}}}; width:{{{3|0}}}%; overflow: hidden;">&nbsp;&thinsp;</div></td>
+
<td style="width: {{{barwidth|100px}}}; border-left: solid 1px silver; border-right: solid 1px silver;"><div style="background:{{{2|gray}}}; width:{{{3|0}}}%; overflow: hidden;">&nbsp;&thinsp;</div></td>
 
<td colspan="2" style="padding-left: 0.4em; padding-right: 0.4em; text-align: right;">{{{4|{{{3|0}}}%}}}</td>
 
<td colspan="2" style="padding-left: 0.4em; padding-right: 0.4em; text-align: right;">{{{4|{{{3|0}}}%}}}</td>
 
</tr><noinclude>
 
</tr><noinclude>

Revision as of 23:51, 16 December 2014

{{{1}}}
  
0%
Template documentation[view] [edit] [history] [purge]

For use with {{Bar box}}.