Template:Cell performance for charge
Jump to navigation
Jump to search
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
Error 1054: Unknown column 'MaxCharge' in 'field list' (localhost)
Function: CargoSQLQuery::run Query: SELECT `_pageName` AS `_pageName`,CONCAT(CASE WHEN MaxCharge IS NOT NULL THEN MaxCharge ELSE ChargePerDram * MaxVolume END) AS `MaxCharge`,FLOOR((CASE WHEN MaxCharge IS NOT NULL THEN MaxCharge ELSE ChargePerDram * MaxVolume END) / 7500) AS `Uses` FROM `ItemsTable` WHERE MaxCharge IS NOT NULL OR (ChargePerDram IS NOT NULL AND MaxVolume IS NOT NULL) ORDER BY `Uses` LIMIT 100