Difference between revisions of "Module:Template translation"
Module:Template translation (view source)
Revision as of 23:13, 8 November 2013
, 23:13, 8 November 2013no edit summary
>Verdy p m (add a sandbox function 2 for fixing the previous one) |
>Verdy p m |
||
Line 107: | Line 107: | ||
-- Then render the template | -- Then render the template | ||
local arguments = {} | local arguments = {} | ||
for k, v in pairs(frame | for k, v in pairs((frame:getParent() or {}).args) do | ||
arguments[k] = v | arguments[k] = v | ||
end | end |