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 40: Line 40:
local name = entry['page']
local name = entry['page']
local variant_name = name:gsub(main_variant, '', 1)
local variant_name = name:gsub(main_variant, '', 1)
table.insert(formatted, '[[' .. name .. '|' .. variant_name .. ']]')
table.insert(formatted, main_variant)
end
end
contents = table.concat(formatted, ' • ')
contents = table.concat(formatted, ' • ')