Open main menu
Home
Random
Log in
Settings
Donate
About The TTSCpedia
Disclaimers
The TTSCpedia
Search
Changes
← Older edit
Newer edit →
Module:Protection banner
(view source)
Revision as of 10:47, 19 March 2019
No change in size
,
5 years ago
no edit summary
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 =
48
+
obj.imageWidth =
45
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 =
48
+
obj.imageWidth =
45
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