Template:Status milestone standalone: Difference between revisions
From CSDMS
No edit summary |
mNo edit summary |
||
(15 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#vardefine:Notapplicable_standalone|{{#expr: | |||
{{# | |||
{{# | |||
{{#ifeq: {{{status1}}} | Not applicable | 1 | 0 }} + | {{#ifeq: {{{status1}}} | Not applicable | 1 | 0 }} + | ||
{{#ifeq: {{{status2}}} | Not applicable | 1 | 0 }} + | {{#ifeq: {{{status2}}} | Not applicable | 1 | 0 }} + | ||
Line 23: | Line 7: | ||
{{#ifeq: {{{status6}}} | Not applicable | 1 | 0 }} + | {{#ifeq: {{{status6}}} | Not applicable | 1 | 0 }} + | ||
{{#ifeq: {{{status7}}} | Not applicable | 1 | 0 }} | {{#ifeq: {{{status7}}} | Not applicable | 1 | 0 }} | ||
}}}} | |||
}} | {{#vardefine:Done_standalone|{{#expr: | ||
{{# | |||
{{#ifeq: {{{status1}}} | Done | 1 | 0 }} + | {{#ifeq: {{{status1}}} | Done | 1 | 0 }} + | ||
{{#ifeq: {{{status2}}} | Done | 1 | 0 }} + | {{#ifeq: {{{status2}}} | Done | 1 | 0 }} + | ||
Line 32: | Line 15: | ||
{{#ifeq: {{{status5}}} | Done | 1 | 0 }} + | {{#ifeq: {{{status5}}} | Done | 1 | 0 }} + | ||
{{#ifeq: {{{status6}}} | Done | 1 | 0 }} + | {{#ifeq: {{{status6}}} | Done | 1 | 0 }} + | ||
{{#ifeq: {{{status7}}} | Done | 1 | 0 }} | {{#ifeq: {{{status7}}} | Done | 1 | 0 }} | ||
}}}} | |||
{{ | {{percent_filled | index={{#expr:{{#ifeq: {{#var:Notapplicable_standalone}}|7|0|{{#expr:trunc(({{#var:Done_standalone}}/(7-{{#var:Notapplicable_standalone}}))*100)}} }} }} }} | ||
{{# | {{#ifexpr:{{#ifeq: {{#var:Notapplicable_standalone}}|7|0|trunc({{#var:Done_standalone}}/(7-{{#var:Notapplicable_standalone}}))}}*100=100 |[[Category:Standalone component]]|[[Category:Incomplete standalone component]]}} | ||
{{#ifeq: | |||
{{# | |||
{{# | |||
{{# | |||
{{# | |||
{{# | |||
{{#ifeq: | |||
{{# | |||
{{# | |||
{{# | |||
) }} * 100 |
Latest revision as of 19:14, 9 June 2011
|
0% |