Module:SpriteFile: Difference between revisions

Jump to navigation Jump to search
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 79: Line 79:
end
end
local sprite = mw.html.create( 'span' ):addClass( 'sprite-file' )
local sprite = mw.html.create( 'span' ):addClass( 'sprite-file' )
if args.title ~= nil and string.find(args.title, "parallel:") then
if args.title ~= nil and string.find(toString(args.title), "parallel:") then
args.title = mw.ustring.gsub( args.title, "[Pp]arallel:", "" )
args.title = mw.ustring.gsub( toString(args.title), "[Pp]arallel:", "" )
else
else
args.title = args.title .. ' (Vanilla)'
args.title = args.title .. ' (Vanilla)'