A Wiki in the Desert
Log in

Difference between revisions of "Template:ProjectSubRes"

From A Wiki in the Desert
Line 8: Line 8:
 
{| style = 'width: 75%; border-spacing: 0' class = '{{#ifeq:{{{state|}}}|static||mw-collapsible}} {{#ifeq:{{{state|}}}|collapsed|autocollapse}}'</div>
 
{| style = 'width: 75%; border-spacing: 0' class = '{{#ifeq:{{{state|}}}|static||mw-collapsible}} {{#ifeq:{{{state|}}}|collapsed|autocollapse}}'</div>
 
|-
 
|-
! colspan='5' | <div style='font-size: 120%'>{{A|{{{1|None}}}|{{#ifeq:{{{name|}}}|{{{name|-}}}|{{{name}}}|{{{1|None}}}}}}}
+
| rowspan = '2' style = 'border-top: 1px solid black; padding: 0.2em 0.5em; line-height: 1.2; width: 100%' {{#ifexpr: {{{2|7777}}} = {{{3|10000}}} |class="mw-collapsible-content"|}} |[[{{{1|None}}}]]
{{{2|}}}</div>
+
| style = 'border-top: 1px solid black' |
|}
+
| style = 'border-top: 1px solid black; line-height: 1.2; text-align: right' |<div style='min-width: 3em'>{{{2|7777}}}</div>
|}
+
| style = 'border-top: 1px solid black; line-height: 1.2; text-align: center' |/
<div style='overflow: hidden; width: 16em; white-space: nowrap; line-height: 2px; height: 2px;'></div>
+
| style = 'border-top: 1px solid black; line-height: 1.2; text-align: right' |<div style='min-width: 3em'>{{{3|10000}}}</div>
 +
| style = 'border-top: 1px solid black; line-height: 1.2; text-align: right' |<div style='min-width: 3em'>({{#expr: {{{3|10000}}} - {{{2|7777}}} }})</div>
 +
|-
 +
| style = 'font-size: 70%; line-height: 1.2; text-align: right' | <strong>{{#expr: trunc (100 * {{{2|7777}}} / {{{3|10000}}}) }}%</strong>
 +
| colspan = '4' style = 'padding: 0.2em 0.25em' |<div style='width: 98%; min-width: 12em; 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>
 +
<noinclude>|}</noinclude>
 +
 
 
<noinclude>
 
<noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
[[Category:Content templates]]
 
[[Category:Content templates]]
 
</noinclude>
 
</noinclude>

Revision as of 17:37, 27 August 2021

None
7777
/
10000
(2223)
77%


Template documentation (for the above template, sometimes hidden or invisible)