|
|
Line 1: |
Line 1: |
| |Project status:
| | {{#vardefine:Notapplicable_projectstatus|{{#expr: + |
| |{{#expr: trunc((
| |
| {{#ifexist:{{{status1}}} | 1 | 0 }} +
| |
| {{#ifeq: {{{status2}}} | Done | 1 | 0 }} + | |
| {{#ifeq: {{{status3}}} | Done | 1 | 0 }} +
| |
| {{#ifeq: {{{status4}}} | Done | 1 | 0 }} +
| |
| {{#ifeq: {{{status5}}} | Done | 1 | 0 }} +
| |
| {{#ifeq: {{{status6}}} | Done | 1 | 0 }} +
| |
| {{#ifeq: {{{status7}}} | Done | 1 | 0 }} +
| |
| {{#ifeq: {{{status8}}} | Done | 1 | 0 }} +
| |
| {{#ifeq: {{{status9}}} | Done | 1 | 0 }} +
| |
| {{#ifeq: {{{status10}}} | Done | 1 | 0 }} +
| |
| {{#ifeq: {{{status11}}} | Done | 1 | 0 }} +
| |
| {{#ifeq: {{{status12}}} | Done | 1 | 0 }} +
| |
| {{#ifeq: {{{status13}}} | Done | 1 | 0 }} +
| |
| {{#ifeq: {{{status14}}} | Done | 1 | 0 }} +
| |
| {{#ifeq: {{{status15}}} | Done | 1 | 0 }} ) /
| |
| {{#ifeq:
| |
| {{#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 }}
| |
| | 15 | 1 | ( 15 -
| |
| {{#ifeq: {{{status2}}} | Not applicable | 1 | 0 }} + | | {{#ifeq: {{{status2}}} | Not applicable | 1 | 0 }} + |
| {{#ifeq: {{{status3}}} | Not applicable | 1 | 0 }} + | | {{#ifeq: {{{status3}}} | Not applicable | 1 | 0 }} + |
Line 46: |
Line 14: |
| {{#ifeq: {{{status14}}} | Not applicable | 1 | 0 }} + | | {{#ifeq: {{{status14}}} | Not applicable | 1 | 0 }} + |
| {{#ifeq: {{{status15}}} | Not applicable | 1 | 0 }} | | {{#ifeq: {{{status15}}} | Not applicable | 1 | 0 }} |
| ) }} * 100)}}%
| | }}}} |
| {{#ifexpr: trunc(( | | {{#vardefine:Done_projectstatus|{{#expr: |
| {{#ifexist:{{{status1}}} | 1 | 0 }} + | | {{#ifexist:{{{status1}}} | 1 | 0 }} + |
| {{#ifeq: {{{status2}}} | Done | 1 | 0 }} + | | {{#ifeq: {{{status2}}} | Done | 1 | 0 }} + |
Line 62: |
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 }} |
| {{#ifeq:
| | }}}} |
| {{#ifeq: {{{status2}}} | Not applicable | 1 | 0 }} +
| | |Project status: |
| {{#ifeq: {{{status3}}} | Not applicable | 1 | 0 }} +
| | |{{#expr:{{#ifeq: {{#var:Notapplicable_projectstatus}}|15|1|{{#expr:trunc(({{#var:Done_projectstatus}}/(15-{{#var:Notapplicable_projectstatus}}))*100)}} }} }}% |
| {{#ifeq: {{{status4}}} | Not applicable | 1 | 0 }} +
| | {{#ifexpr:{{#ifeq: {{#var:Notapplicable_projectstatus}}|15|1|trunc({{#var:Done_projectstatus}}/(15-{{#var:Notapplicable_projectstatus}}))}}*100= 100 |[[Category:Complete component]]|[[Category:Incomplete component]]}} |
| {{#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 }}
| |
| | 15 | 1 | ( 15 -
| |
| {{#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 }}
| |
| ) }} * 100) = 100 |[[Category:Complete component]]|[[Category:Incomplete component]]}} | |