"मोड्युल:Protection banner" का संशोधनहरू बिचको अन्तर

Jump to navigation Jump to search
Undid revision 653638001 by Edokter (talk) Getting weird error!
imported>Edokter
(Redo switch to <indicator> in concert with {{top icon}})
imported>Edokter
(Undid revision 653638001 by Edokter (talk) Getting weird error!)
obj._imageAlt = blurbObj:makeBannerText('alt')
obj._imageLink = blurbObj:makeBannerText('link')
obj._indicatorName_right = cfg.padlockIndicatorNamespadlockPositions[protectionObj.action]
or cfg.padlockIndicatorNamespadlockPositions.default
or 'pp-default55px'
return setmetatable(obj, Padlock)
end
 
function Padlock:__tostring()
local root = mw.html.create('div')
return mw.getCurrentFrame():extensionTag{
root
name = 'indicator',
:addClass('metadata topicon nopopups')
args = {name = self._indicatorName},
:attr('id', 'protected-icon')
content = self:renderImage()
:css{display = 'none', right = self._right}
}
content = :wikitext(self:renderImage())
return tostring(root)
end
 
दर्ता नभएका प्रयोगकर्ता
"https://ne.wikipedia.org/wiki/विशेष:MobileDiff/525082" बाट अनुप्रेषित

पथप्रदर्शन विकल्प