Module:Param Parse: Difference between revisions
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]]'
return '[['..name..size..']]'
end
|