Module:Param Parse: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
Line 525: Line 525:
local valid_type = valid_variant_types[string.lower(type or '')]
local valid_type = valid_variant_types[string.lower(type or '')]
if valid_type then
if valid_type then
return valid_type..'[[Category:'..valid_type..' variant]]'
return valid_type..'[[Category:'..valid_type..' variants]]'
else
else
return edit..'[[Category:Invalid variant type]]'
return edit..'[[Category:Invalid variant type]]'