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