Template:Cell performance for charge: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 3: | Line 3: | ||
|tables=ArtifactData=AD,PhysicalProperties=PP | |tables=ArtifactData=AD,PhysicalProperties=PP | ||
|join on=AD.JoinKey=PP.JoinKey | |join on=AD.JoinKey=PP.JoinKey | ||
|fields=AD._pageName,CONCAT(CASE WHEN AD.MaxCharge IS NOT NULL THEN AD.MaxCharge ELSE AD.ChargePerDram * PP. | |fields=AD._pageName,CONCAT(CASE WHEN AD.MaxCharge IS NOT NULL THEN AD.MaxCharge ELSE AD.ChargePerDram * PP.Volume END)=MaxCharge,FLOOR((CASE WHEN AD.MaxCharge IS NOT NULL THEN AD.MaxCharge ELSE AD.ChargePerDram * PP.Volume END) / {{#var:charge_consumed}})=Uses | ||
|where=AD.MaxCharge IS NOT NULL OR (AD.ChargePerDram IS NOT NULL AND PP. | |where=AD.MaxCharge IS NOT NULL OR (AD.ChargePerDram IS NOT NULL AND PP.Volume IS NOT NULL) | ||
|order by=Uses ASC | |order by=Uses ASC | ||
|format=template | |format=template |
Revision as of 17:21, 7 October 2021
Specify an item's charge use as the first parameter.
Shows how many uses can be obtained from each type of energy cell as a hoverable tooltip.
Example
{{cell performance for charge | 7500 }}
7500