Module:Inventory slot: Difference between revisions

Add style arg
No edit summary
Line 81: Line 81:
if tooltipTitle then
if tooltipTitle then
title = tooltipTitle:gsub( '&[0-9a-fk-or]', '' )
title = tooltipTitle:gsub( '&[0-9a-fk-or]', '' )
elseif link:lower() == 'none' or link ~= name:gsub( '%s%(.*', '' ) then
end
if mw.text.trim( title ) == '' or link:lower() == 'none' or link ~= name:gsub( '%s%(.*', '' ) then
title = name:gsub( '%s%(.*', '' )
title = name:gsub( '%s%(.*', '' )
end
end