Module:Variants: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
Line 43: Line 43:
local args = frame:getParent().args
local args = frame:getParent().args
args.variant = args[1] or args.variant
args.variant = args[1] or args.variant
return p.variant_table(variant)
return p.variant_table(args)
end
end