Template:Status milestone standalone: Difference between revisions

From CSDMS
No edit summary
No edit summary
Line 1: Line 1:
{{#vardefine:percentfinished|{{#expr: trunc((
{{percent_filled | index={{{ {{#expr: trunc((
{{#ifeq: {{{status1}}} | Done | 1 | 0 }} +
{{#ifeq: {{{status1}}} | Done | 1 | 0 }} +
{{#ifeq: {{{status2}}} | Done | 1 | 0 }} +
{{#ifeq: {{{status2}}} | Done | 1 | 0 }} +
Line 24: Line 24:
{{#ifeq: {{{status7}}} | Not applicable |  1 | 0 }}
{{#ifeq: {{{status7}}} | Not applicable |  1 | 0 }}
) }} * 100)}}
) }} * 100)}}
}}
}}} }}
 
{{#var:percentfinished}}
 
{|
|width=14 style="border: 1px solid darkgray;background-color:#ffffcc;" cellpadding="5" cellspacing="10" border="0"| ""
|width=86 style="border: 1px solid darkgray;background-color:#bbbbbb;" cellpadding="5" cellspacing="0" border="0"|
|}

Revision as of 13:19, 3 June 2011

width={{{ 0

}}}% style="border: 1px solid #7fc97f;background-color:#7fc97f; padding-top: 10px; padding-bottom: 10px; padding-left: 0px; padding-right:0px" border="0"|

{{{ 0

}}}%