Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Tooltip: Difference between revisions

Template page
Djavin novienta (talk | contribs)
Moved documentation to Template:Tooltip/doc
Adam Cion (talk | contribs)
Swap div for span so MW does not add paragraphs on either side when used inline. The main usage appears to be in the Ship template, and most Ship template inline-mode usage is inside ShipArticle variants where this should be a noop.
Line 1: Line 1:
<includeonly><div class='uniwiki-tooltip'>{{{1|}}}<div class='uniwiki-tooltip-frame' style='position:absolute;'>{{{2|}}}</div></div></includeonly><noinclude>
<includeonly><span class='uniwiki-tooltip'>{{{1|}}}<span class='uniwiki-tooltip-frame' style='position:absolute;'>{{{2|}}}</span></span></includeonly><noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>