Module:Cite mission

From Starsector Wiki
Jump to navigation Jump to search

Documentation for this module may be created at Module:Cite mission/doc

local p = {}

local data = mw.loadData('Module:Cite mission/data')

function p.main(frame)
	local spec = frame.args[1]
	--local sType, sNum = string.match(spec, "(%a+)(%d+)")
	--if sType == "M" then
		return ("\"" .. data[spec] .. "\", ''[[Starsector]]''.")
	--elseif sType == "Cut" then
	--	return ("\"" .. data[spec] .. "\", ''[[Starsector]]''.")
	--else
	--	error ("Invalid type")
	--end
end

return p