Template:Status milestone standalone: Difference between revisions

From CSDMS
No edit summary
mNo edit summary
 
(26 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#expr: (
{{#vardefine:Notapplicable_standalone|{{#expr:  
{{#ifeq: {{{status1}}} | Done | 1 | 0 }} +
{{#ifeq: {{{status2}}} | Done | 1 | 0 }} +
{{#ifeq: {{{status3}}} | Done | 1 | 0 }} +
{{#ifeq: {{{status4}}} | Done | 1 | 0 }} +
{{#ifeq: {{{status5}}} | Done | 1 | 0 }} +
{{#ifeq: {{{status6}}} | Done | 1 | 0 }} +
{{#ifeq: {{{status7}}} | Done | 1 | 0 }}  ) /
{{#ifeq:
{{#ifeq: {{{status1}}} | Not applicable |  1 | 0 }} +
{{#ifeq: {{{status1}}} | Not applicable |  1 | 0 }} +
{{#ifeq: {{{status2}}} | Not applicable |  1 | 0 }} +
{{#ifeq: {{{status2}}} | Not applicable |  1 | 0 }} +
Line 15: Line 7:
{{#ifeq: {{{status6}}} | Not applicable |  1 | 0 }} +
{{#ifeq: {{{status6}}} | Not applicable |  1 | 0 }} +
{{#ifeq: {{{status7}}} | Not applicable |  1 | 0 }}
{{#ifeq: {{{status7}}} | Not applicable |  1 | 0 }}
| 7 | 1 | ( 7 -
}}}}
{{#ifeq: {{{status1}}} | Not applicable | 1 | 0 }} +
{{#vardefine:Done_standalone|{{#expr:
{{#ifeq: {{{status2}}} | Not applicable | 1 | 0 }} +
{{#ifeq: {{{status1}}} | Done | 1 | 0 }} +
{{#ifeq: {{{status3}}} | Not applicable | 1 | 0 }} +
{{#ifeq: {{{status2}}} | Done | 1 | 0 }} +
{{#ifeq: {{{status4}}} | Not applicable | 1 | 0 }} +
{{#ifeq: {{{status3}}} | Done | 1 | 0 }} +
{{#ifeq: {{{status5}}} | Not applicable | 1 | 0 }} +
{{#ifeq: {{{status4}}} | Done | 1 | 0 }} +
{{#ifeq: {{{status6}}} | Not applicable | 1 | 0 }} +
{{#ifeq: {{{status5}}} | Done | 1 | 0 }} +
{{#ifeq: {{{status7}}} | Not applicable | 1 | 0 }}
{{#ifeq: {{{status6}}} | Done | 1 | 0 }} +
) }}
{{#ifeq: {{{status7}}} | Done | 1 | 0 }}  
}}
}}}}
 
{{percent_filled | index={{#expr:{{#ifeq: {{#var:Notapplicable_standalone}}|7|0|{{#expr:trunc(({{#var:Done_standalone}}/(7-{{#var:Notapplicable_standalone}}))*100)}} }} }} }}
{{#ifexpr:{{#ifeq: {{#var:Notapplicable_standalone}}|7|0|trunc({{#var:Done_standalone}}/(7-{{#var:Notapplicable_standalone}}))}}*100=100 |[[Category:Standalone component]]|[[Category:Incomplete standalone component]]}}

Latest revision as of 19:14, 9 June 2011


0%