Template:MRFEAIn: Difference between revisions

Bin52 (talk | contribs)
No edit summary
 
(One intermediate revision by one other user not shown)
Line 5: Line 5:
{{#clear_external_data:}}{{#get_db_data: db=engy|from=ea_in_desc|where=epr='{{{Permit}}}'|data=epr=epr,ewc=ewc,descr=descr,tonnes=tonnes}}
{{#clear_external_data:}}{{#get_db_data: db=engy|from=ea_in_desc|where=epr='{{{Permit}}}'|data=epr=epr,ewc=ewc,descr=descr,tonnes=tonnes}}
==Permit Tonnage Received (IN)==
==Permit Tonnage Received (IN)==
===Total Tonnage By [[EWC]] Code===
===Total Tonnage by [[EWC]] Code===
The table shows a list of the [[Waste]] for the [[WML|Permit]] {{{Permit}}}, that has arrived into sites as reported to the [[Regulator]] and then publicised in their reported statistics. {{#iferror: {{#var:update}}| The Data used is the most current | The Data was updated on {{#var:update}}}}. The total reported tonnage arriving at the site was: '''{{#if: {{#var:total}} | {{formatnum: {{#expr: {{#var:total}} round 2}} }}t | 0t }}'''.
The table shows a list of the [[Waste]] for the [[WML|Permit]] {{{Permit}}}, that has arrived into sites as reported to the [[Regulator]] and then publicised in their reported statistics. {{#iferror: {{#var:update}}| The Data used is the most current | The Data was updated on {{#var:update}}}}. The total reported tonnage arriving at the site was: '''{{#if: {{#var:total}} | {{formatnum: {{#expr: {{#var:total}} round 2}} }}t | 0t }}'''.


Line 19: Line 19:
|}
|}


<noinclude>
===Total Tonnage by Origin of [[EWC]] Code===
Table to display the waste received by Landfill, if there is no waste of a type received then the row is hidden
{{#clear_external_data:}}{{#get_db_data: db=engy|from=mrfeaorig|where=epr='{{{Permit}}}'|data=epr=epr,ewc=ewc,originregion=originregion,tonnes=tonnes}}
</noinclude>
 
===Total Tonnage by Origin by [[EWC]] Code===
The table below shows the same data as the table above, but split according to the origin of each [[EWC]] code waste stream entering into the site as reported to the [[Regulator]].
The table below shows the same data as the table above, but split according to the origin of each [[EWC]] code waste stream entering into the site as reported to the [[Regulator]].
{|class="wikitable sortable"
{|class="wikitable sortable"
Line 32: Line 29:
{{!}} {{{ewc}}}
{{!}} {{{ewc}}}
{{!}} [[:Category:{{{originregion}}}|{{{originregion}}}]]
{{!}} [[:Category:{{{originregion}}}|{{{originregion}}}]]
{{!}} {{{tin}}}
{{!}} {{{tonnes}}}
}}
}}
|}
|}
<noinclude>
Table to display the waste received by Landfill, if there is no waste of a type received then the row is hidden
</noinclude>