Module:Message box: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
bug fix: isSmall --> self.isSmall |
change the smalltext logic to work with collapsible text fields |
||
Line 216: | Line 216: | ||
-- Get the self.issue value. |
-- Get the self.issue value. |
||
if self.isSmall and args.smalltext then |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
else |
else |
||
sect = |
local sect = args.sect |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
sect = nil |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
end |
end |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
-- Get the self.talk value. |
-- Get the self.talk value. |
||
Line 274: | Line 278: | ||
-- and also by ambox when small=yes. |
-- and also by ambox when small=yes. |
||
if self.isSmall then |
if self.isSmall then |
||
⚫ | |||
if self.useCollapsibleTextFields then |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
else |
else |
||
self.text = args.text |
self.text = args.text |