Difference between revisions of "Template:Bar percent"

From blackwiki
Jump to navigation Jump to search
imported>Fuhghettaboutit
m (Changed protection level of Template:Bar percent: Enable access by template editors ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and admins] (indefinite)))
imported>Technical 13
(HTML5 compliance and make code more readable.)
Line 1: Line 1:
 
<noinclude><table>
 
<noinclude><table>
 
</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|gray}}}; width:{{{3|0}}}%; overflow:hidden">&nbsp;&thinsp;</div></td>
+
<td style="width: {{{barwidth|100px}}}; border-left: solid 1px #C0C0C0; border-right: solid 1px #C0C0C0;"><div style="background:{{{2|#808080}}}; width:{{{3|0}}}%; overflow: hidden;">&nbsp;&thinsp;</div></td>
<td colspan="2" style="padding-left:0.4em;padding-right:0.4em" 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>
 
</table>
 
</table>
{{documentation}}
+
{{Documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 16:00, 16 December 2014

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

For use with {{Bar box}}.