Difference between revisions of "Module:GetMediaValue"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
local personData = require('Module:MediaData')
+
local personData = mw.loadData('Module:MediaData')
  
 
local p = {}
 
local 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