Template:EfWTemplate: 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=efwdb |where=epr='{{{EPR}}}' |data=site=site,epr=epr,operator=operator,cap=cap,tin17=tin17,tin18=tin18,cappct17=cappct17,cappc18=cappc18,r1=r1,r1_date=r1_date,r1_value=r1_value,mwe=mwe,chp=chp,techtype=techtype,funding=funding,status=status}}
{{#get_db_data: db=engy |from=efwdb |where=epr='{{{EPR}}}' |data=site=site,epr=epr,operator=operator,cap=cap,tin17=tin17,tin18=tin18,cappct17=cappct17,cappc18=cappc18,r1=r1,r1_date=r1_date,r1_value=r1_value,mwe=mwe,chp=chp,techtype=techtype,funding=funding,status=status,lain18=lain18}}
<div style="float:right;">
<div style="float:right;">
{|class="wikitable"  
{|class="wikitable"  
Line 38: Line 38:
|[[{{#external_value:funding}}]]
|[[{{#external_value:funding}}]]
|}
|}
'''Historical Tonnage Taken'''
<big>'''Historical Tonnage Taken'''</big>
 
'''Environment Agency'''
{|class="wikitable"
{|class="wikitable"
! Year !! Tonnage In !! Percent of Capacity
! Calendar Year !! Tonnage In !! Percent of Capacity
|-
|-
|2017||{{formatnum:{{#external_value:tin17}}}}||{{#external_value:cappct17}}%
|2017||{{formatnum:{{#external_value:tin17}}}}||{{#external_value:cappct17}}%
|-
|-
|2018||{{formatnum:{{#external_value:tin18}}}}||{{#external_value:cappc18}}%
|2018||{{formatnum:{{#external_value:tin18}}}}||{{#external_value:cappc18}}%
|}
'''Local Authority'''
{|class='wikitable'
!Financial Year!! Tonnage In
|-
|2018/19||{{formatnum:{{#external_value:lain18}}}}
|}
|}
<small>Summary site information collated from a variety of sources<br />
<small>Summary site information collated from a variety of sources<br />

Revision as of 16:12, 16 February 2020

The query SELECT site,epr,operator,cap,tin17,tin18,cappct17,cappc18,r1,r1_date,r1_value,mwe,chp,techtype,funding,status,lain18 FROM `efwdb` WHERE epr='{{{EPR}}}' is invalid (Error 1054: Unknown column 'tin17' in 'field list' Function: EDConnectorRdbms::fetch Query: SELECT site,epr,operator,cap,tin17,tin18,cappct17,cappc18,r1,r1_date,r1_value,mwe,chp,techtype,funding,status,lain18 FROM `efwdb` WHERE epr='{{{EPR}}}' ).

Error: no local variable "site" has been set.
Error: no local variable "status" has been set.
[[File:output_{{{id}}}.png|400px|center|Site Location]]

See Residual EfW → page for a larger UK Wide map.

Waste Licence Error: no local variable "epr" has been set.
Operator [[Error: no local variable "operator" has been set.]]
Operational Capacity Error: no local variable "cap" has been set.ktpa
Is site R1? Error: no local variable "r1" has been set.
When was R1 Granted? Error: no local variable "r1_date" has been set.
What was the R1 value Error: no local variable "r1_value" has been set.
Electrical Capacity Error: no local variable "mwe" has been set.MWe
CHP Error: no local variable "chp" has been set.
Technology Approach Error: no local variable "techtype" has been set.
Funding Type [[Error: no local variable "funding" has been set.]]

Historical Tonnage Taken

Environment Agency

Calendar Year Tonnage In Percent of Capacity
2017 Error: no local variable "tin17" has been set. Error: no local variable "cappct17" has been set.%
2018 Error: no local variable "tin18" has been set. Error: no local variable "cappc18" has been set.%

Local Authority

Financial Year Tonnage In
2018/19 Error: no local variable "lain18" has been set.

Summary site information collated from a variety of sources
including: Monksleigh[1], Tolvik[2], EA, SEPA, NRW, DEFRA, BEIS
and owner and developer websites