Module:Cite ACJA

local p = {}

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

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

return p