Template:Status milestone executable: Difference between revisions

From CSDMS
Created page with "{{percent_filled | index={{#expr: trunc(( {{#ifeq: {{{status1}}} | Done | 1 | 0 }} + {{#ifeq: {{{status2}}} | Done | 1 | 0 }} + {{#ifeq: {{{status3}}} | Done | 1 | 0 }} + {{#ifeq..."
 
No edit summary
Line 1: Line 1:
{{percent_filled | index={{#expr: trunc((
{{percent_filled | index={{#expr: trunc((
{{#ifeq: {{{status1}}} | Done | 1 | 0 }} +
{{#ifexist:Model:{{{status1}}} | Done | 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:
{{#ifeq: {{{status1}}} | Not applicable |  1 | 0 }} +
{{#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 }}
| 4 | 1 | ( 4 -
| 3 | 1 | ( 3 -
{{#ifeq: {{{status1}}} | Not applicable |  1 | 0 }} +
{{#ifeq: {{{status2}}} | Not applicable |  1 | 0 }} +
{{#ifeq: {{{status2}}} | Not applicable |  1 | 0 }} +
{{#ifeq: {{{status3}}} | Not applicable |  1 | 0 }} +
{{#ifeq: {{{status3}}} | Not applicable |  1 | 0 }} +

Revision as of 15:06, 3 June 2011

33%