Module:Message box/sandbox: Difference between revisions

Content deleted Content added
add collapsible spagetti code
m fix
Line 546:
if setCollapsible then
-- The show button
local showButton =
header:tag('span'):addClass('collapseButton'):cssText('float:left;')
local togglewhitespace = showButton :tag('span'):addClass('nowrap'):wikitext('          ')
header
:cssText(self.headerstyle or nil)
:wikitext((showButton and togglewhitespace and self.headertext) or nil)
else