Difference between revisions of "Module:GetMediaValue"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
function main(frame)
+
local personData = mw.loadData('Module:MediaData')
 +
 
 +
local p = {}
 +
 
 +
function p.main(frame)
  
 
     return personData[frame.args[1]]
 
     return personData[frame.args[1]]
  
 
end
 
end
 +
 +
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