Module:Sprite: Difference between revisions

No edit summary
Oh well
Line 88: Line 88:
local pos = ids[id] or ids[id:lower():gsub( '%s', '-' )]
local pos = ids[id] or ids[id:lower():gsub( '%s', '-' )]
if not pos then
if not pos then
category = mw.getCurrentFrame():preprocess( '<noinclude>[[Category:Pages with missing sprites]]</noinclude>' )
category = '[[Category:Pages with missing sprites]]'
end
end
args.pos = pos
args.pos = pos