Template:CKWaste: Difference between revisions

From Wikiwaste
Arctellion (talk | contribs)
No edit summary
Arctellion (talk | contribs)
No edit summary
Line 1: Line 1:
{{#clear_external_data:}}
{{#clear_external_data:}}
{{#get_db_data: db=engy |from=cementkilns |where=epr='{{{EPR}}}' |data=01_04_08=01_04_08,02_02_02=02_02_02,02_02_03=02_02_03,06_02_01hz=06_02_01hz,10_01_02=10_01_02,10_01_15=10_01_15,10_02_13hz=10_02_13hz,16_01_03=16_01_03,16_08_04=16_08_04,19_01_13hz=19_01_13hz,19_02_08hz=19_02_08hz,19_02_10=19_02_10,19_08_05=19_08_05,19_08_13hz=19_08_13hz,19_09_02=19_09_02,19_12_01=19_12_01,19_12_04=19_12_04,19_12_10=19_12_10,19_12_11hz=19_12_11hz,19_12_12=19_12_12}}
{|class="wikitable"
!Waste Class!!Tonnage Input
|- {{#ifeq: {{expr: {{#external_value:01_04_08}}}} | 0 | style="display:none;" }}
| [[EWC Chapter 01|01 04 08]]
| style="text-align:right;"|{{formatnum:{{#external_value:01_04_08}}}} t
|- {{#ifeq: {{expr: {{#external_value:02_02_02}}}} | 0 | style="display:none;" }}
| [[EWC Chaper 02|02 02 02]]
| style="text-align:right;"|{{formatnum:{{#external_value:02_02_02}}}} t
|- {{#ifeq: {{expr: {{#external_value:02_02_03}}}} | 0 | style="display:none;" }}
| [[EWC Chaper 02|02 02 03]]
| style="text-align:right;"|{{formatnum:{{#external_value:02_02_03}}}} t
|- {{#ifeq: {{expr: {{#external_value:06_02_01hz}}}} | 0 | style="display:none;" }}
| [[EWC Chaper 06|06 02 01*]]
| style="text-align:right;"|{{formatnum:{{#external_value:06_02_01}}}}
|- {{#ifeq: {{expr: {{#external_value: 10_01_02}}}} | 0 | style="display:none;" }}
| [[EWC Chaper 10|10 01 02]]
| style="text-align:right;"|{{formatnum:{{#external_value:10_01_02}}}}
|- {{#ifeq: {{expr: {{#external_value:10_01_15}}}} | 0 | style="display:none;" }}
| [[EWC Chaper 10|10 01 15]]
| style="text-align:right;"|{{formatnum:{{#external_value:10_01_15}}}}
|- {{#ifeq: {{expr: {{#external_value:10_02_13hz}}}} | 0 | style="display:none;" }}
| [[EWC Chaper 10|10 02 13*]]
| style="text-align:right;"|{{formatnum:{{#external_value:10_02_13hz}}}}
|- {{#ifeq: {{expr: {{#external_value:16_01_03}}}} | 0 | style="display:none;" }}
| [[EWC Chaper 16|16 01 03]]
| style="text-align:right;"|{{formatnum:{{#external_value:16_01_03}}}}
|- {{#ifeq: {{expr: {{#external_value:16_08_04}}}} | 0 | style="display:none;" }}
| [[EWC Chaper 16|16 08 04]]
| style="text-align:right;"|{{formatnum:{{#external_value:16_08_04}}}}
|- {{#ifeq: {{expr: {{#external_value:19_01_13hz}}}} | 0 | style="display:none;" }}
| [[EWC Chaper 19|19 01 13*]]
| style="text-align:right;"|{{formatnum:{{#external_value:19_01_13hz}}}}
|- {{#ifeq: {{expr: {{#external_value:19_02_08hz}}}} | 0 | style="display:none;" }}
| [[EWC Chaper 19|19 02 08*]]
| style="text-align:right;"|{{formatnum:{{#external_value:19_02_08hz}}}}
|- {{#ifeq: {{expr: {{#external_value:19_02_10}}}} | 0 | style="display:none;" }}
| [[EWC Chaper 19|19 02 10]]
| style="text-align:right;"|{{formatnum:{{#external_value:19_02_10}}}}
|- {{#ifeq: {{expr: {{#external_value:19_08_05}}}} | 0 | style="display:none;" }}
| [[EWC Chaper 19|19 08 05]]
| style="text-align:right;"|{{formatnum:{{#external_value:19_08_05}}}}
|- {{#ifeq: {{expr: {{#external_value:19_08_13hz}}}} | 0 | style="display:none;" }}
| [[EWC Chaper 19|19 08 13*]]
| style="text-align:right;"|{{formatnum:{{#external_value:19_08_13hz}}}}
|- {{#ifeq: {{expr: {{#external_value:19_09_02}}}} | 0 | style="display:none;" }}
| [[EWC Chaper 19|19 09 02]]
| style="text-align:right;"|{{formatnum:{{#external_value:19_09_02}}}}
|- {{#ifeq: {{expr: {{#external_value:19_12_01}}}} | 0 | style="display:none;" }}
| [[EWC Chaper 19|19 12 01]]
| style="text-align:right;"|{{formatnum:{{#external_value:19_12_01}}}}
|- {{#ifeq: {{expr: {{#external_value:19_12_04}}}} | 0 | style="display:none;" }}
| [[EWC Chaper 19|19 12 04]]
| style="text-align:right;"|{{formatnum:{{#external_value:19_12_04}}}}
|- {{#ifeq: {{expr: {{#external_value:19_12_10}}}} | 0 | style="display:none;" }}
| [[EWC Chaper 19|19 12 10]]
| style="text-align:right;"|{{formatnum:{{#external_value:19_12_10}}}}
|- {{#ifeq: {{expr: {{#external_value:19_12_11hz}}}} | 0 | style="display:none;" }}
| [[EWC Chaper 19|19 12 11*]]
| style="text-align:right;"|{{formatnum:{{#external_value:19_12_11hz}}}}
|- {{#ifeq: {{expr: {{#external_value:19_12_12}}}} | 0 | style="display:none;" }}
| [[EWC Chaper 19|19 12 12]]
| style="text-align:right;"|{{formatnum:{{#external_value:19_12_12}}}}
|}
<noinclude>
Table to display the waste recieved by cement kilns, if there is no waste of a type recieved then the row is hidden
</noinclude>{{#clear_external_data:}}
{{#get_db_data: db=engy |from=cementkilns |where=epr='{{{EPR}}}' |data=01_04_08=01_04_08,02_02_02=02_02_02,02_02_03=02_02_03,06_02_01hz=06_02_01hz,10_01_02=10_01_02,10_01_15=10_01_15,10_02_13hz=10_02_13hz,16_01_03=16_01_03,16_08_04=16_08_04,19_01_13hz=19_01_13hz,19_02_08hz=19_02_08hz,19_02_10=19_02_10,19_08_05=19_08_05,19_08_13hz=19_08_13hz,19_09_02=19_09_02,19_12_01=19_12_01,19_12_04=19_12_04,19_12_10=19_12_10,19_12_11hz=19_12_11hz,19_12_12=19_12_12}}
{{#get_db_data: db=engy |from=cementkilns |where=epr='{{{EPR}}}' |data=01_04_08=01_04_08,02_02_02=02_02_02,02_02_03=02_02_03,06_02_01hz=06_02_01hz,10_01_02=10_01_02,10_01_15=10_01_15,10_02_13hz=10_02_13hz,16_01_03=16_01_03,16_08_04=16_08_04,19_01_13hz=19_01_13hz,19_02_08hz=19_02_08hz,19_02_10=19_02_10,19_08_05=19_08_05,19_08_13hz=19_08_13hz,19_09_02=19_09_02,19_12_01=19_12_01,19_12_04=19_12_04,19_12_10=19_12_10,19_12_11hz=19_12_11hz,19_12_12=19_12_12}}



Revision as of 06:49, 6 April 2020


Waste Class Tonnage Input
01 04 08 Error: no local variable "01_04_08" has been set. t
02 02 02 Error: no local variable "02_02_02" has been set. t
02 02 03 Error: no local variable "02_02_03" has been set. t
06 02 01* Error: no local variable "06_02_01hz" has been set.
10 01 02 Error: no local variable "10_01_02" has been set.
10 01 15 Error: no local variable "10_01_15" has been set.
10 02 13* Error: no local variable "10_02_13hz" has been set.
16 01 03 Error: no local variable "16_01_03" has been set.
16 08 04 Error: no local variable "16_08_04" has been set.
19 01 13* Error: no local variable "19_01_13hz" has been set.
19 02 08* Error: no local variable "19_02_08hz" has been set.
19 02 10 Error: no local variable "19_02_10" has been set.
19 08 05 Error: no local variable "19_08_05" has been set.
19 08 13* Error: no local variable "19_08_13hz" has been set.
19 09 02 Error: no local variable "19_09_02" has been set.
19 12 01 Error: no local variable "19_12_01" has been set.
19 12 04 Error: no local variable "19_12_04" has been set.
19 12 10 Error: no local variable "19_12_10" has been set.
19 12 11* Error: no local variable "19_12_11hz" has been set.
19 12 12 Error: no local variable "19_12_12" has been set.


Table to display the waste received by cement kilns, if there is no waste of a type received then the row is hidden