Difference between revisions of "Template:Bar percent"
Jump to navigation
Jump to search
imported>Frietjes |
imported>Frietjes |
||
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;{{{ | + | <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;{{{ | + | <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;">  </div></td> |
− | <td colspan="{{#if:{{{note|}}}|1|2}}" style="padding-left: 0.4em; padding-right: 0.4em; text-align: right;{{{ | + | <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:{{{note|}}}|<td style="padding-left: 0.4em; padding-right: 0.4em; text-align:right;{{#if:{{{bg|}}}|background:{{{bg}}};}}">{{{note}}}</td>}} |
</tr><noinclude> | </tr><noinclude> | ||
</table> | </table> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 15:00, 30 June 2017
{{{1}}} | 0% |
The above documentation is transcluded from Template:Bar percent/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |