Module:Sandbox/User:Microbrews/Variants: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
Line 33: Line 33:
function p.variants_header(args)
function p.variants_header(args)
local smw_data = get_table_info(args)
local smw_data = get_table_info(args)
local main_variant = args[1]:gsub('(%()(%))', '%1%(%2%)')
local main_variant = args[1]:gsub('(%()(%))', '%(%1%)%2')
local contents
local contents
if smw_data then
if smw_data then