Template:Status milestone coupled: Difference between revisions

From CSDMS
(Created page with "{{percent_filled | index={{#expr: trunc(( {{#ifeq: {{{status4}}} | Done | 1 | 0 }} + {{#ifeq: {{{status5}}} | Done | 1 | 0 }} + {{#ifeq: {{{status6}}} | Done | 1 | 0 }} + {{#ifeq...")
 
No edit summary
 
(40 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{percent_filled | index={{#expr: trunc((
{{#vardefine:Notapplicable_coupled|{{#expr:  
{{#ifeq: {{{status4}}} | Done | 1 | 0 }} +
{{#ifeq: {{{status1}}} | Not applicable | 1 | 0 }} +
{{#ifeq: {{{status5}}} | Done | 1 | 0 }} +
{{#ifeq: {{{status2}}} | Not applicable | 1 | 0 }} +
{{#ifeq: {{{status6}}} | Done | 1 | 0 }} +
{{#ifeq: {{{status3}}} | Not applicable | 1 | 0 }} +
{{#ifeq: {{{status7}}} | Done | 1 | 0 }} ) /
{{#ifeq: {{{status4}}} | Not applicable | 1 | 0 }}
{{#ifeq:
}}}}
{{#ifeq: {{{status4}}} | Not applicable | 1 | 0 }} +
{{#vardefine:Done_coupled|{{#expr:  
{{#ifeq: {{{status5}}} | Not applicable | 1 | 0 }} +
{{#ifeq: {{{status1}}} | Done | 1 | 0 }} +
{{#ifeq: {{{status6}}} | Not applicable | 1 | 0 }} +
{{#ifeq: {{{status2}}} | Done | 1 | 0 }} +
{{#ifeq: {{{status7}}} | Not applicable | 1 | 0 }}
{{#ifeq: {{{status3}}} | Done | 1 | 0 }} +
| 4 | 1 | ( 4 -
{{#ifeq: {{{status4}}} | Done | 1 | 0 }}
{{#ifeq: {{{status4}}} | Not applicable | 1 | 0 }} +
}}}}
{{#ifeq: {{{status5}}} | Not applicable |  1 | 0 }} +
{{percent_filled | index={{#expr:{{#ifeq: {{#var:Notapplicable_coupled}}|4|0|{{#expr:trunc({{#var:Done_coupled}}/(4-{{#var:Notapplicable_coupled}}))*100}} }} }} }}
{{#ifeq: {{{status6}}} | Not applicable | 1 | 0 }} +
{{#ifexpr:{{#ifeq: {{#var:Notapplicable_coupled}}|4|0|{{#expr:trunc({{#var:Done_coupled}}/(4-{{#var:Notapplicable_coupled}}))}}*100}}=100|[[Category:Coupled component]]|[[Category:Incomplete coupled component]]}}
{{#ifeq: {{{status7}}} | Not applicable |  1 | 0 }}
) }} * 100)}}
}}

Latest revision as of 19:13, 9 June 2011


0%