Module:Qref

local p = {} local qrefErrorText = ' Qref not found '

function p.qref(frame) local epsManga = mw.loadData('Module:Episodes/mangaData') local argKey = frame:getParent.args[1] local qrefKey = argKey:match('e([0-9A-P]*)') or argKey if epsManga[qrefKey] then return 'Duranki – "' .. epsManga[qrefKey]['ename'] .. '"' else return qrefErrorMsg end end return p

--