Editing Module:Param Parse
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 180: | Line 180: | ||
size = '|x'..height..'px' |
size = '|x'..height..'px' |
||
end |
end |
||
⚫ | |||
local imagecheck = name and mw.smw.ask('[['..name..']]|?Modification date=data') |
|||
imagecheck = imagecheck~=nil and imagecheck[1]~=nil and imagecheck[1].data~=nil |
|||
if name and imagecheck then |
|||
return '[['..name..size..']]' |
return '[['..name..size..']]' |
||
⚫ | |||
return '[['..name..size..']][[Category:Needs image]]' |
|||
end |
end |
||
return nil |
return nil |