Template:Status milestone standalone: Difference between revisions
From CSDMS
No edit summary |
No edit summary |
||
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}}|4|1|trunc({{#var:Done_standalone}}/(4-{{#var:Notapplicable_standalone}}))}}*100}} }} | |||
{{ | {{#ifexpr:{{#ifeq: {{#var:Notapplicable_standalone}}|4|1|trunc({{#var:Done_standalone}}/(4-{{#var:Notapplicable_standalone}}))}}*100}}=100 |[[Category:Standalone component]]|[[Category:Incomplete standalone component]]}} | ||
{{# | |||
{{#ifeq: | |||
{{# | |||
{{# | |||
{{# | |||
{{# | |||
{{#ifeq: | |||
{{# | |||
{{# | |||
{{# | |||
) }} * 100 |
Revision as of 15:34, 9 June 2011
|
0% |
=100 ||}}