Content deleted Content added
August update: Redo multiple shield support |
Adding noshield argument |
||
Line 186:
local parser = parserModule.parser
local noshield = args.noshield
local bannerFile = parser(args, 'banner')
local banner
if not noshield and bannerFile and bannerFile ~= '' then
local widthCode = parser(args, 'width') or 'square'
if widthCode == 'square' then
Line 233 ⟶ 234:
local shield
▲ if second then
if second then
local shield1 = format("[[File:%s|x25px|alt=|link=]]", shieldFile)▼
local
shield = shield1 .. shield2
else
shield = shieldFile and format("[[File:%s|x25px|alt=|link=]]", shieldFile) or ''▼
end
else
shield = ''
▲ shield = shieldFile and format("[[File:%s|x25px|alt=|link=]]", shieldFile) or ''
end
|