A Wiki in the Desert
Log in

Difference between revisions of "Template:ProjectSubRes"

From A Wiki in the Desert
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<div style = 'align: right; border-spacing: 0; border: none; background-color: #A5C7DD'>
 
<div style = 'align: right; border-spacing: 0; border: none; background-color: #A5C7DD'>
<noinclude>{| <div style = 'align: right; border-spacing: 0; border: none; background-color: #A5C7DD'></noinclude>
+
<noinclude>{| <div style = 'align: right'></noinclude>
 
|-
 
|-
| <div style = 'align: right; border-spacing: 0; border: none; background-color: #A5C7DD'>
+
| <div style = 'align: right; border-spacing: 0; border: none'>
|rowspan = '1' style = 'float: right; background-color: #A5C7DD' {{#ifexpr: {{{2|7777}}} = {{{3|10000}}} }} |[[{{{1|None}}}]]
+
|rowspan = '1' style = 'float: right' {{#ifexpr: {{{2|7777}}} = {{{3|10000}}} }} |[[{{{1|None}}}]]
  
| <div style='min-width: 5em; text-align: right; float: right; background-color: #A5C7DD'>{{{2|7777}}}</div>
+
| <div style='min-width: 5em; text-align: right; float: right'>{{{2|7777}}}</div>
| style = 'text-align: center; background-color: #A5C7DD' |/
+
| style = 'text-align: center' |/
|<div style='min-width: 2em; background-color: #A5C7DD'>{{{3|10000}}}</div>
+
|<div style='min-width: 2em'>{{{3|10000}}}</div>
|<div style='min-width: 2em; background-color: #A5C7DD'>({{#expr: {{{3|10000}}} - {{{2|7777}}} }})</div>
+
|<div style='min-width: 2em'>({{#expr: {{{3|10000}}} - {{{2|7777}}} }})</div>
 
|-
 
|-
 
|  
 
|  
| style = 'font-size: 70%; text-align: right; float: right; background-color: #A5C7DD' | <div style='min-width: 2em; background-color: #A5C7DD'><strong>{{#expr: trunc (100 * {{{2|7777}}} / {{{3|10000}}}) }}%</strong>
+
| style = 'font-size: 70%; text-align: right; float: right' | <div style='min-width: 2em'><strong>{{#expr: trunc (100 * {{{2|7777}}} / {{{3|10000}}}) }}%</strong>
| colspan = '4' style = 'background-color: #A5C7DD' |<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}}} }} =  
+
| colspan = '4' |<div style='width: 98%; float: right; align: right; min-width: 10em; border: 1px solid #888;; 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></div>
+
  #fb9 | {{#expr: {{{2|7777}}} > {{{3|10000}}} }} = #9ff }}'></div></div>

Latest revision as of 20:30, 27 August 2021

None
7777
/
10000
(2223)
77%