Module:SpriteFile: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 82: Line 82:
args.title = mw.ustring.gsub( toString(args.title), "[Pp]arallel:", "" )
args.title = mw.ustring.gsub( toString(args.title), "[Pp]arallel:", "" )
else
else
args.title = args.title .. ' (Vanilla)'
args.title = toString(args.title) .. ' (Vanilla)'
end
end
local img = '[[File:' .. file .. '|' .. size .. '|link=' .. link .. '|alt=' .. altText .. '|class=pixel-image|' .. ( args.title or '' ) .. ']]'
local img = '[[File:' .. file .. '|' .. size .. '|link=' .. link .. '|alt=' .. altText .. '|class=pixel-image|' .. ( args.title or '' ) .. ']]'

Navigation menu