Template:MRFSidebar: Difference between revisions

From Wikiwaste
No edit summary
No edit summary
Line 7: Line 7:
|Operator|{{#external_value:operator}}
|Operator|{{#external_value:operator}}
|-
|-
|}{{#clear_external_data:}}{{#get_db_data:db=engy|from=mrfstats2020|where=epr='{{{EPR}}}'|data=inq1=inq1,inq2=inq2,inq3=inq3,inq4=inq4,totin=(inq1+inq2+inq3+inq4)}}{{#vardefine:qualin|{{formatnum:{{#external_value:totin}}}}}}{{#clear_external_data:}}{{#get_db_data:db=engy|from=mrfstats2020|where=epr='{{{EPR}}}'|data=outq1=outq1,outq2=outq2,outq3=outq3,outq4=outq4,totout=(outq1+outq2+outq3+outq4)}}{{#vardefine:qualout|{{formatnum:{{#external_value:totout}}}}}}{{#clear_external_data:}}{{#get_db_data: db=engy|from=ea_ew_in|where=epr='{{{EPR}}}'|data=opt=sum(tin)}}{{#vardefine:eain|{{formatnum:{{#external_value:opt}}}}}}<small>
|}{{#clear_external_data:}}{{#get_db_data:db=engy|from=mrfstats2020|where=epr='{{{EPR}}}'|data=inq1=inq1,inq2=inq2,inq3=inq3,inq4=inq4,totin=(inq1+inq2+inq3+inq4)}}{{#vardefine:qualin|{{formatnum:{{#external_value:totin}}}}}}{{#clear_external_data:}}{{#get_db_data:db=engy|from=mrfstats2020|where=epr='{{{EPR}}}'|data=outq1=outq1,outq2=outq2,outq3=outq3,outq4=outq4,totout=(outq1+outq2+outq3+outq4)}}{{#vardefine:qualout|{{formatnum:{{#external_value:totout}}}}}}{{#clear_external_data:}}{{#get_db_data: db=engy|from=ea_ew_in|where=epr='{{{EPR}}}'|data=opt=sum(tin)}}{{#vardefine:eain|{{formatnum:{{#external_value:opt}}}}}}{{#clear_external_data:}}{{#get_db_data: db=engy|from=ea_ew_out|where=epr='{{{EPR}}}'|data=opt=sum(tin)}}{{#vardefine:eaout|{{formatnum:{{#external_value:opt}}}}}}<small>
{|class="wikitable"
{|class="wikitable"
|-
|-
Line 14: Line 14:
|EA Tonnage IN||style="text-align:right;"| {{#var:eain}}
|EA Tonnage IN||style="text-align:right;"| {{#var:eain}}
|-
|-
|EA Tonnage OUT ||style="text-align:right;"| {{formatnum:{{#external_value:outq2}}}}
|EA Tonnage OUT ||style="text-align:right;"| {{#var:eaout}}
|-
|-
|Qualifying IN ||style="text-align:right;"| {{#var:qualin}}
|Qualifying IN ||style="text-align:right;"| {{#var:qualin}}

Revision as of 03:42, 21 April 2022


Error: no local variable "site" has been set.
Error: no local variable "operator" has been set.
Data 2020
EA Tonnage IN
EA Tonnage OUT
Qualifying IN Error: no local variable "totin" has been set.
Qualifying OUT Error: no local variable "totout" has been set.