Template:Status milestone standalone: Difference between revisions
From CSDMS
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{# | {{#vardefine:percentfinished|{{#expr: trunc(( | ||
{{#ifeq: {{{status1}}} | Done | 1 | 0 }} + | {{#ifeq: {{{status1}}} | Done | 1 | 0 }} + | ||
{{#ifeq: {{{status2}}} | Done | 1 | 0 }} + | {{#ifeq: {{{status2}}} | Done | 1 | 0 }} + | ||
Line 25: | Line 25: | ||
) }} * 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 12:48, 3 June 2011
0