A Wiki in the Desert
Log in

Difference between revisions of "Template:ProjectSubRes"

From A Wiki in the Desert
Line 1: Line 1:
 
<noinclude>{| style = 'border-spacing: 0; border: none; border-top: none; width: 20em; valign: right'</noinclude>
 
<noinclude>{| style = 'border-spacing: 0; border: none; border-top: none; width: 20em; valign: right'</noinclude>
 
|-
 
|-
| rowspan = '1' style = 'padding: 0.2em 0.5em; width: 100%; valign: right' {{#ifexpr: {{{2|7777}}} = {{{3|10000}}} }} |[[{{{1|None}}}]]
+
| rowspan = '1' style = 'padding: 0.2em 0.5em; width: 100%; align: right' {{#ifexpr: {{{2|7777}}} = {{{3|10000}}} }} |[[{{{1|None}}}]]
| style = 'text-align: right' |<div style='min-width: 3em'>{{{2|7777}}}</div>
+
| style = 'text-align: right; align: right' |<div style='min-width: 3em'>{{{2|7777}}}</div>
| style = 'text-align: center' |/
+
| style = 'text-align: center; align: right' |/
| style = 'text-align: right' |<div style='min-width: 3em'>{{{3|10000}}}</div>
+
| style = 'text-align: right; align: right' |<div style='min-width: 3em'>{{{3|10000}}}</div>
| style = 'text-align: right' |<div style='min-width: 3em'>({{#expr: {{{3|10000}}} - {{{2|7777}}} }})</div>
+
| style = 'text-align: right; align: right' |<div style='min-width: 3em'>({{#expr: {{{3|10000}}} - {{{2|7777}}} }})</div>
 
|-
 
|-
 
| style = 'font-size: 70%; text-align: right' | <strong>{{#expr: trunc (100 * {{{2|7777}}} / {{{3|10000}}}) }}%</strong>
 
| style = 'font-size: 70%; text-align: right' | <strong>{{#expr: trunc (100 * {{{2|7777}}} / {{{3|10000}}}) }}%</strong>
 
| colspan = '5' style = 'padding: 0.2em 0.25em' |<div style='width: 98%; min-width: 12em; 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}}} }} =  
 
| colspan = '5' style = 'padding: 0.2em 0.25em' |<div style='width: 98%; min-width: 12em; 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 18:19, 27 August 2021

None
7777
/
10000
(2223)
77%