Template:Status milestone executable: Difference between revisions

From CSDMS
No edit summary
mNo edit summary
 
Line 1: Line 1:
{{percent_filled | index={{#expr: trunc((
{{#vardefine:Notapplicable_executable|{{#expr:  
{{#ifexist:{{{status1}}} | 1 | 0 }} +
{{#ifeq: {{{status2}}} | Done | 1 | 0 }} +
{{#ifeq: {{{status3}}} | Done | 1 | 0 }} +
{{#ifeq: {{{status4}}} | Done | 1 | 0 }}  ) /
{{#ifeq:
{{#ifeq: {{{status2}}} | Not applicable |  1 | 0 }} +
{{#ifeq: {{{status3}}} | Not applicable |  1 | 0 }} +
{{#ifeq: {{{status4}}} | Not applicable |  1 | 0 }}
| 3 | 1 | ( 4 -
{{#ifeq: {{{status2}}} | Not applicable |  1 | 0 }} +
{{#ifeq: {{{status2}}} | Not applicable |  1 | 0 }} +
{{#ifeq: {{{status3}}} | Not applicable |  1 | 0 }} +
{{#ifeq: {{{status3}}} | Not applicable |  1 | 0 }} +
{{#ifeq: {{{status4}}} | Not applicable |  1 | 0 }}
{{#ifeq: {{{status4}}} | Not applicable |  1 | 0 }}
) }} * 100)}}
}}}}
}}{{#ifexpr: trunc((
{{#vardefine:Done_executable|{{#expr:  
{{#ifexist:{{{status1}}} | 1 | 0 }} +
{{#ifexist:{{{status1}}} | 1 | 0 }} +
{{#ifeq: {{{status2}}} | Done | 1 | 0 }} +
{{#ifeq: {{{status2}}} | Done | 1 | 0 }} +
{{#ifeq: {{{status3}}} | Done | 1 | 0 }} +
{{#ifeq: {{{status3}}} | Done | 1 | 0 }} +
{{#ifeq: {{{status4}}} | Done | 1 | 0 }} ) /
{{#ifeq: {{{status4}}} | Done | 1 | 0 }}
{{#ifeq:
}}}}
{{#ifeq: {{{status2}}} | Not applicable | 1 | 0 }} +
{{percent_filled | index={{#expr:{{#ifeq: {{#var:Notapplicable_executable}}|3|0|{{#expr:trunc(({{#var:Done_executable}}/(4-{{#var:Notapplicable_executable}}))*100)}} }} }} }}
{{#ifeq: {{{status3}}} | Not applicable |  1 | 0 }} +
{{#ifexpr:{{#ifeq: {{#var:Notapplicable_executable}}|3|0|trunc({{#var:Done_executable}}/(4-{{#var:Notapplicable_executable}}))}}*100= 100 |[[Category:Executable]]|[[Category:Incomplete Executable]]}}
{{#ifeq: {{{status4}}} | Not applicable |  1 | 0 }}
| 3 | 1 | ( 4 -
{{#ifeq: {{{status2}}} | Not applicable |  1 | 0 }} +
{{#ifeq: {{{status3}}} | Not applicable | 1 | 0 }} +
{{#ifeq: {{{status4}}} | Not applicable |  1 | 0 }}
) }} * 100) = 100 |[[Category:Executable]]|[[Category:Incomplete Executable]]}}

Latest revision as of 19:19, 9 June 2011


0%