Difference between revisions of "Template:Bar percent/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Ahecht
(sync)
imported>Ahecht
(Use module)
 
Line 1: Line 1:
<noinclude><table>
+
<includeonly>{{safesubst<noinclude />:#invoke:Bar box|percent}}</includeonly><noinclude>
</noinclude><tr>
+
{{documentation}}
<td colspan="2" style="padding-left: 0.4em; padding-right: 0.4em; min-width: 8em;{{#if:{{{bg|}}}|background:{{{bg}}};}}">{{{1}}}</td>
 
<td style="width: {{{barwidth|100px}}}; border-left: solid 1px silver; border-right: solid 1px silver;{{#if:{{{bg|}}}|background:{{{bg}}};}}"><div style="background:{{{2|gray}}}; width:{{{3|0}}}%; overflow: hidden;">&thinsp;</div></td>
 
<td colspan="{{#if:{{{note|}}}|1|2}}" style="padding-left: 0.4em; padding-right: 0.4em; text-align: right;{{#if:{{{bg|}}}|background:{{{bg}}};}}">{{{4|{{{3|0}}}%}}}</td>
 
{{#if:{{{note|}}}|<td style="padding-left: 0.4em; padding-right: 0.4em; text-align:right;{{#if:{{{bg|}}}|background:{{{bg}}};}}">{{{note}}}</td>}}
 
</tr><noinclude>
 
</table>
 
{{Documentation}}
 
 
</noinclude>
 
</noinclude>

Latest revision as of 02:50, 15 April 2020

Template documentation[view] [edit] [history] [purge]

For use with {{Bar box}}.