Anonymous user
Module:Protection banner: Difference between revisions
Redo switch to <indicator> in concert with {{top icon}}
(undo for now - the code looks good, but we will need to change everything over at the same time to avoid it looking like a giant mess) |
(Redo switch to <indicator> in concert with {{top icon}}) |
||
Line 825:
obj._imageAlt = blurbObj:makeBannerText('alt')
obj._imageLink = blurbObj:makeBannerText('link')
obj.
or cfg.
or '
return setmetatable(obj, Padlock)
end
function Padlock:__tostring()
return mw.getCurrentFrame():extensionTag{
name = 'indicator',
args = {name = self._indicatorName},
}
▲ :wikitext(self:renderImage())
end
|