Module:RarityHandler: Difference between revisions

Undo revision 4483 by Ryan (talk)
Tag: Undo
No edit summary
 
Line 8: Line 8:
rarity = rarity:gsub(",", "") -- remove commas
rarity = rarity:gsub(",", "") -- remove commas
return rarity
return rarity
end
function p.containsSlash(frame)
local val = frame.args[1] or ""
if val:find("/") then
return "true"
else
return "false"
end
end
end