Module:Cite

local cite = {} local getArgs = require('Dev:Arguments').getArgs local data = mw.loadData('Module:Cite/data')

function cite.main(frame) local args = getArgs(frame) local episode = data[string.lower(args[1])] if args[2] then return string.format('%s; %s.', episode, args[2]) else return string.format('%s.', episode) end end

return cite