Difference between revisions of "Module:GetMediaValue"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 1: Line 1:
local personData = mw.loadData('Module:MediaData')
+
local personData = require('Module:MediaData')
  
 
local p = {}
 
local p = {}

Revision as of 11:56, 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