View source for Module:Data infobox
Jump to navigation
Jump to search
You do not have permission to edit this page, for the following reason:
You can view and copy the source of this page.
local p = {}
local getArgs = require('Module:Arguments').getArgs
-- Re-format the resource names in part data to be displayed
function p._formatResource(resource)
if resource == "monopropellant" then return "Monopropellant" end
if resource == "methane" then return "Methane" end
if resource == "oxidizer" then return "Oxidizer" end
if resource == "intake_air" then return "Intake Air" end
if resource == "solid_fuel" then return "Solid Fuel" end
if resource == "hydrogen" then return "Hydrogen" end
if resource == "xenon" then return "Xenon" end
if resource == "electric_charge" then return "Electric Charge" end
end
-- Iterate through and provide the propellant types of an engine
function p.getFuelLabels(frame)
local args = getArgs(frame)
propellants = p._getFuelLabels(args)
return propellants
end
000
1:0
Template used on this page:
Return to Module:Data infobox.