Difference between revisions of "Module:Template translation"
Jump to navigation
Jump to search
en>Verdy p m (add a sandbox function 2 for fixing the previous one) |
en>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 |