Module:GetMediaValue: Difference between revisions

From Buddha-Nature
((by SublimeText.Mediawiker))
 
((by SublimeText.Mediawiker))
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
local personData = mw.loadData('Module:MediaData')
local p = {}
local p = {}


function p.main(frame)
function p.main(frame)


     return personData[frame:getParent().args[1]]
     return personData[frame.args[1]]


end
end


return p
return p

Latest revision as of 11:59, 5 September 2023

Documentation for this module may be created at Module:GetMediaValue/doc

local personData = mw.loadData('Module:MediaData')

local p = {}

function p.main(frame)

    return personData[frame.args[1]]

end

return p