Difference between revisions of "Module:GetMediaValue"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 5: Line 5:
 
function p.main(frame)
 
function p.main(frame)
  
     return personData[frame.args[1]]
+
     return personData['frame.args[1]']
  
 
end
 
end
  
 
return p
 
return p

Revision as of 11:47, 5 September 2023

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

local personData = require('Module:MediaData')

local p = {}

function p.main(frame)

    return personData['frame.args[1]']

end

return p