"मोड्युल:Protection banner" का संशोधनहरू बिचको अन्तर
Content deleted Content added
accountcreator level is gone |
switch to using page status indicators for the padlock icons (will switch from the config sandbox in a second) |
||
पङ्क्ति १२:
-- Set constants.
local CONFIG_MODULE = 'Module:Protection banner/config/sandbox' -- *** SWITCH THIS BACK BEFORE UPDATING THE MAIN MODULE ***
--------------------------------------------------------------------------------
पङ्क्ति ८२५:
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
|