Template:Status milestone standalone: Difference between revisions
From CSDMS
Created page with "{{#expr: ( {{#ifeq: {{{status1}}} | Done | 1 | 0 }} + {{#ifeq: {{{status2}}} | Done | 1 | 0 }} + {{#ifeq: {{{status3}}} | Done | 1 | 0 }} + {{#ifeq: {{{status4}}} | Done | 1 | 0 ..." |
mNo edit summary |
||
| (28 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{#expr: | {{#vardefine:Notapplicable_standalone|{{#expr: | ||
{{#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 }} | |||
}}}} | |||
{{#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 6: | 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 }} | ||
}}}} | |||
{{#ifeq: {{ | |||
{{# | {{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: {{ | |||
{{# | |||
}} | |||
Latest revision as of 18:14, 9 June 2011
|
|
0% |
