Module:Param Parse: Difference between revisions

144 bytes added ,  Sunday at 17:00
if the "image" parameter has a value but that does not lead to an existing image, then it will still add the page to Category:Needs image
(Make sure name doesn't include variant when it's set to N/A)
(if the "image" parameter has a value but that does not lead to an existing image, then it will still add the page to Category:Needs image)
Line 180:
size = '|x'..height..'px'
end
if name and mw.smw.ask('[['..name..']]|?Modification date=data')[1].data==nil then
if name then
return '[['..name..size..']][[Category:Needs image]]'
ifelseif name then
return '[['..name..size..']]'
end
20,597

edits