Module:IPAc-en and Module:IPAc-en/sandbox: Difference between pages

(Difference between pages)
Jump to navigation Jump to search
Page 1
Page 2
imported>Nardog
rv per talk
 
imported>Chlod
use Module:Arguments
 
Line 1: Line 1:
-- This module implements [[Template:IPAc-en]].
-- This module implements [[Template:IPAc-en]].


local data = mw.loadData('Module:IPAc-en/data')
local getArgs = require('Module:Arguments').getArgs
local data = mw.loadData('Module:IPAc-en/data/sandbox')
local p = {}
local p = {}


Line 184: Line 185:


function p.main(frame)
function p.main(frame)
return p._main(frame:getParent().args)
return p._main(getArgs(frame))
end
end


return p
return p