Module:Message box: Difference between revisions

m
1 revision imported from mw:Module:Message_box: w
(Replace Module:No globals with require( "strict" ))
m (1 revision imported from mw:Module:Message_box: w)
 
(4 intermediate revisions by 3 users not shown)
Line 155:
self.typeClass = typeData.class
self.typeImage = typeData.image
self.typeImageNeedsLink = typeData.imageNeedsLink
 
-- Find if the box has been wrongly substituted.
Line 329 ⟶ 330:
and (cfg.imageSmallSize or '30x30px')
or '40x40px'
self.imageLeft = string.format('[[File:%s|%s|link=%s|alt=]]', self.typeImage
or 'ImboxInformation noticeicon4.pngsvg', imageSize, self.typeImageNeedsLink and "" or "|link=" )
end
end