Module:UpdateNumber

local p = {} local versionData = mw.loadData( 'Module:UpdateNumber/data' )

function p.getVersion(frame) local versionNo = frame.args[1] or frame:getParent.args[1] local inclDate = frame.args[2] or frame:getParent.args[2] local updateName = versionData[versionNo][1]

local retStr if updateName ~= nil then retStr = "" .. updateName .. "" else retStr = "Unknow Version" end return retStr end return p