Module:Tt/Draft: Difference between revisions

Jump to navigation Jump to search
Kuhlau (talk | contribs)
adding in optional headers to support extra effect (so they can be individually styled) and changing "title"-style hovertext to css. my god this cleanTT is kind of terrible
Kuhlau (talk | contribs)
No edit summary
Line 72: Line 72:
:addClass('mw-collapsible-content custom-tt')
:addClass('mw-collapsible-content custom-tt')
:css{ display = 'none' }
:css{ display = 'none' }
:wikitext(tooltip)
:done()
if header then
if header then
collapsibleContent
collapsibleContent