Module:Param Parse: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(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: | Line 180: | ||
size = '|x'..height..'px' |
size = '|x'..height..'px' |
||
end |
end |
||
if name and mw.smw.ask('[['..name..']]|?Modification date=data')[1].data==nil then |
|||
⚫ | |||
return '[['..name..size..']][[Category:Needs image]]' |
|||
⚫ | |||
return '[['..name..size..']]' |
return '[['..name..size..']]' |
||
end |
end |