Difference between revisions of "Template:ProjectSubRes"
From A Wiki in the Desert
Line 11: | Line 11: | ||
| | | | ||
| style = 'font-size: 70%; text-align: right; float: right' | <strong>{{#expr: trunc (100 * {{{2|7777}}} / {{{3|10000}}}) }}%</strong> | | style = 'font-size: 70%; text-align: right; float: right' | <strong>{{#expr: trunc (100 * {{{2|7777}}} / {{{3|10000}}}) }}%</strong> | ||
− | | colspan = '5' style = '' |<div style='width: 98%; float: right; align: right; min-width: | + | | colspan = '5' style = '' |<div style='width: 98%; float: right; align: right; min-width: 10em; border: none; background: #ddd'><div style='font-size: 70%; line-height: 1.2; height: 1.2em; width: {{#expr: trunc (100 * {{{2|7777}}} / {{{3|10000}}}) }}%; max-width: 100%; background: {{#switch: 1 | {{#expr: {{{2|7777}}} >= {{{3|10000}}} }} = #9f5 | {{#expr: {{{2|7777}}} < {{{3|10000}}} }} = |
#fb9 | {{#expr: {{{2|7777}}} > {{{3|10000}}} }} = #9ff }}'></div></div> | #fb9 | {{#expr: {{{2|7777}}} > {{{3|10000}}} }} = #9ff }}'></div></div> |
Revision as of 19:03, 27 August 2021
None | 7777
|
/ | 10000
|
(2223) | ||
77% |