Template:Project status: Difference between revisions

From CSDMS
Created page with "{{#expr: trunc(( {{#ifexist:{{{status1}}} | 1 | 0 }} + {{#ifeq: {{{status2}}} | Done | 1 | 0 }} + {{#ifeq: {{{status3}}} | Done | 1 | 0 }} + {{#ifeq: {{{status4}}} | Done | 1 | 0..."
 
No edit summary
Line 1: Line 1:
{{#expr: trunc((
|Project status:
|{{#expr: trunc((
{{#ifexist:{{{status1}}} | 1 | 0 }} +
{{#ifexist:{{{status1}}} | 1 | 0 }} +
{{#ifeq: {{{status2}}} | Done | 1 | 0 }} +
{{#ifeq: {{{status2}}} | Done | 1 | 0 }} +
Line 45: Line 46:
{{#ifeq: {{{status14}}} | Not applicable |  1 | 0 }} +
{{#ifeq: {{{status14}}} | Not applicable |  1 | 0 }} +
{{#ifeq: {{{status15}}} | Not applicable |  1 | 0 }}
{{#ifeq: {{{status15}}} | Not applicable |  1 | 0 }}
) }} * 100)}}%
) }} * 100)}}%  completed
 
 
{{percent_filled | index={{#expr: trunc((
{{#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: {{{status2}}} | Not applicable |  1 | 0 }} +
{{#ifeq: {{{status3}}} | Not applicable |  1 | 0 }} +
{{#ifeq: {{{status4}}} | Not applicable |  1 | 0 }} +
{{#ifeq: {{{status5}}} | Not applicable |  1 | 0 }} +
{{#ifeq: {{{status6}}} | Not applicable |  1 | 0 }} +
{{#ifeq: {{{status7}}} | Not applicable |  1 | 0 }}
| 7 | 1 | ( 7 -
{{#ifeq: {{{status1}}} | Not applicable |  1 | 0 }} +
{{#ifeq: {{{status2}}} | Not applicable |  1 | 0 }} +
{{#ifeq: {{{status3}}} | Not applicable |  1 | 0 }} +
{{#ifeq: {{{status4}}} | Not applicable |  1 | 0 }} +
{{#ifeq: {{{status5}}} | Not applicable |  1 | 0 }} +
{{#ifeq: {{{status6}}} | Not applicable |  1 | 0 }} +
{{#ifeq: {{{status7}}} | Not applicable |  1 | 0 }}
) }} * 100)}}
}}

Revision as of 16:01, 3 June 2011

|Project status: |0% completed