אונטערשייד צווישן ווערסיעס פון "יחידה:Message box"

97 בייטן צוגעלייגט ,  פֿאַר 1 יאָר
ק
1 רעוויזיע אימפארטירט פון wikipedia:en:Module:Message_box
ק (1 רעוויזיע אימפארטירט: אימפארטירט פון די מעדיעוויקי וויקי, זע ביישטייערער ליסטע)
ק (1 רעוויזיע אימפארטירט פון wikipedia:en:Module:Message_box)
 
(2 מיטלסטע ווערסיעס פון 2 באַניצער נישט געוויזן.)
שורה 155: שורה 155:
self.typeClass = typeData.class
self.typeClass = typeData.class
self.typeImage = typeData.image
self.typeImage = typeData.image
self.typeImageNeedsLink = typeData.imageNeedsLink


-- Find if the box has been wrongly substituted.
-- Find if the box has been wrongly substituted.
שורה 329: שורה 330:
and (cfg.imageSmallSize or '30x30px')
and (cfg.imageSmallSize or '30x30px')
or '40x40px'
or '40x40px'
self.imageLeft = string.format('[[File:%s|%s|link=|alt=]]', self.typeImage
self.imageLeft = string.format('[[File:%s|%s%s|alt=]]', self.typeImage
or 'Imbox notice.png', imageSize)
or 'Information icon4.svg', imageSize, self.typeImageNeedsLink and "" or "|link=" )
end
end
end
end