Anonymous user
Module:Protection banner: Difference between revisions
switch to using page status indicators for the padlock icons (will switch from the config sandbox in a second)
m (91 revisions imported from w:Module:Protection_banner: Attempting, per request from User:Titodutta. I'm not sure if "w" is the right source wiki (only a few options in drop-down menu)) |
Enwikipedia>Mr. Stradivarius (switch to using page status indicators for the padlock icons (will switch from the config sandbox in a second)) |
||
Line 12:
-- Set constants.
local CONFIG_MODULE = 'Module:Protection banner/config/sandbox' -- *** SWITCH THIS BACK BEFORE UPDATING THE MAIN MODULE ***
--------------------------------------------------------------------------------
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
|