Template:Project status: Difference between revisions
From CSDMS
No edit summary |
No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
| | {{#vardefine:Notapplicable_projectstatus|{{#expr: + | ||
|{{#expr: | {{#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 }} + | |||
{{#ifeq: {{{status8}}} | Not applicable | 1 | 0 }} + | |||
{{#ifeq: {{{status9}}} | Not applicable | 1 | 0 }} + | |||
{{#ifeq: {{{status10}}} | Not applicable | 1 | 0 }} + | |||
{{#ifeq: {{{status11}}} | Not applicable | 1 | 0 }} + | |||
{{#ifeq: {{{status12}}} | Not applicable | 1 | 0 }} + | |||
{{#ifeq: {{{status13}}} | Not applicable | 1 | 0 }} + | |||
{{#ifeq: {{{status14}}} | Not applicable | 1 | 0 }} + | |||
{{#ifeq: {{{status15}}} | Not applicable | 1 | 0 }} | |||
}}}} | |||
{{#vardefine:Done_projectstatus|{{#expr: | |||
{{#ifexist:{{{status1}}} | 1 | 0 }} + | {{#ifexist:{{{status1}}} | 1 | 0 }} + | ||
{{#ifeq: {{{status2}}} | Done | 1 | 0 }} + | {{#ifeq: {{{status2}}} | Done | 1 | 0 }} + | ||
Line 15: | Line 30: | ||
{{#ifeq: {{{status13}}} | Done | 1 | 0 }} + | {{#ifeq: {{{status13}}} | Done | 1 | 0 }} + | ||
{{#ifeq: {{{status14}}} | Done | 1 | 0 }} + | {{#ifeq: {{{status14}}} | Done | 1 | 0 }} + | ||
{{#ifeq: {{{status15}}} | Done | 1 | 0 }} | {{#ifeq: {{{status15}}} | Done | 1 | 0 }} | ||
}}}} | |||
|Project status: | |||
|{{#expr:{{#ifeq: {{#var:Notapplicable_projectstatus}}|15|100|{{#expr:trunc(({{#var:Done_projectstatus}}/(15-{{#var:Notapplicable_projectstatus}}))*100)}} }} }}% | |||
{{#ifexpr:{{#ifeq: {{#var:Notapplicable_projectstatus}}|15|1|trunc({{#var:Done_projectstatus}}/(15-{{#var:Notapplicable_projectstatus}}))}}*100= 100 |[[Category:Complete component]]|[[Category:Incomplete component]]}} | |||
{{# | |||
{{#ifeq: | |||
{{# | |||
{{# | |||
{{# | |||
{{# | |||
{{# | |||
{{#ifeq: | |||
{{# | |||
{{# | |||
{{# | |||
Latest revision as of 16:10, 9 June 2011
|Project status:
|0%