Open main menu
Home
Random
Log in
Settings
Donate
About The TTSCpedia
Disclaimers
The TTSCpedia
Search
Changes
← Older edit
Module:Protection banner
(view source)
Revision as of 10:48, 19 March 2019
No change in size
,
5 years ago
no edit summary
Line 728:
Line 728:
return makeFileLink{
return makeFileLink{
file = filename,
file = filename,
−
size = '
45px
',
+
size = '
40px
',
alt = self._imageAlt,
alt = self._imageAlt,
link = self._imageLink,
link = self._imageLink,
Line 744:
Line 744:
function Banner.new(protectionObj, blurbObj, cfg)
function Banner.new(protectionObj, blurbObj, cfg)
local obj = BannerTemplate.new(protectionObj, cfg) -- This doesn't need the blurb.
local obj = BannerTemplate.new(protectionObj, cfg) -- This doesn't need the blurb.
−
obj.imageWidth =
45
+
obj.imageWidth =
40
obj.imageCaption = blurbObj:makeBannerText('alt') -- Large banners use the alt text for the tooltip.
obj.imageCaption = blurbObj:makeBannerText('alt') -- Large banners use the alt text for the tooltip.
obj._reasonText = blurbObj:makeBannerText('text')
obj._reasonText = blurbObj:makeBannerText('text')
Line 779:
Line 779:
function Padlock.new(protectionObj, blurbObj, cfg)
function Padlock.new(protectionObj, blurbObj, cfg)
local obj = BannerTemplate.new(protectionObj, cfg) -- This doesn't need the blurb.
local obj = BannerTemplate.new(protectionObj, cfg) -- This doesn't need the blurb.
−
obj.imageWidth =
45
+
obj.imageWidth =
40
obj.imageCaption = blurbObj:makeBannerText('tooltip')
obj.imageCaption = blurbObj:makeBannerText('tooltip')
obj._imageAlt = blurbObj:makeBannerText('alt')
obj._imageAlt = blurbObj:makeBannerText('alt')
TheROFL98
Bureaucrats
,
Chat moderators
,
Comment administrators
,
Interface administrators
,
Oversighters
,
Staff
,
Administrators
,
Widget editors
604
edits