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}}
{{#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"  
{|class="wikitable"  
!Waste Class!!Tonnage Input
!Waste Class!!Tonnage Input


{{#ifexp: {{#external_value:01_04_08}}=0  
{{#ifeq: {{expr: {{#external_value:01_04_08}}}} | 0  
  | <tr><td>[[EWC Chapter 01|01 04 08]]</td><td>{{formatnum:{{#external_value:}}}}t </td></tr>
  | <tr><td>[[EWC Chapter 01|01 04 08]]</td><td>{{formatnum:{{#external_value:}}}}t </td></tr>
  | <noinclude>{{formatnum:{{#external_value:01_04_08}}}}</noinclude>  
  | <noinclude>{{formatnum:{{#external_value:01_04_08}}}}</noinclude>
}}
}}



Revision as of 12:20, 5 April 2020


Waste Class Tonnage Input

Error: no local variable "01_04_08" has been set.

{{#ifexp: Error: no local variable "02_02_02" has been set.=0

02 02 02Error: no local variable "02_02_02" has been set. t
Error: no local variable "02_02_02" has been set.

}}

02_02_03 06_02_01hz 10_01_02 10_01_15 10_02_13hz 16_01_03 16_08_04 19_01_13hz 19_02_08hz 19_02_10 19_08_05 19_08_13hz 19_09_02 19_12_01 19_12_04 19_12_10 19_12_11hz 19_12_12