Module:Cite historian
Jump to navigation
Jump to search
Documentation for this module may be created at Module:Cite historian/doc
local p = {}
local data = mw.loadData('Module:Cite historian/data')
function p.main(frame)
local spec = frame.args[1]
if not data[spec] then
spec = tonumber(spec)
end
--local sType, sNum = string.match(spec, "(%a+)(%d+)")
--if sType == "M" then
return ("[[Bar Historian]]: \"" .. data[spec] .. "\", ''[[Starsector]]''.")
--elseif sType == "Cut" then
-- return ("\"" .. data[spec] .. "\", ''[[Starsector]]''.")
--else
-- error ("Invalid type")
--end
end
return p