Module:Sandbox/Ahecht/flag: Difference between revisions

Content deleted Content added
getParent
frame:getParent().args.alias
Line 2:
function p.main(frame)
if ( (frame.args.alias or frame:getParent().args.alias or "") ~= "" ) then
output = {}
Line 17:
end
return '["' .. (frame.args.alias or frame:getParent().args.alias) .. '"] = {\n' .. table.concat(output,",\n") .. '\n},\n'
else
return ""