Module:Sprite: Difference between revisions

No edit summary
No edit summary
Line 103: Line 103:
local link = args[1]
local link = args[1]
if not args.id then
if args[1] and not args.id then
link = args[1]:match( '^(.-)%+' ) or args[1]
link = args[1]:match( '^(.-)%+' ) or args[1]
end
end