Template:Tooltip: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
m (m - quote fix)
m (convert to static sizing (px))
Line 1: Line 1:
<includeonly><abbr title="{{{1}}}">{{{2|<sup><span style="display:inline-block;width:1.8ex;height:1.8ex;line-height:1.8ex;border-radius:1.4ex;margin-left:4px;border:1px solid #cccccc;text-align:center;padding:1px;font-family:'Source Code Pro','Lucida Console',Monaco,'Courier New',Courier;font-size:1.8ex;font-weight:100;">?</span></sup>}}}</abbr></includeonly>
<includeonly><abbr title="{{{1}}}">{{{2|<sup><span style="display:inline-block;width:9px;height:9px;line-height:9px;border-radius:20px;margin-left:4px;border:1px solid #cccccc;text-align:center;padding:1px;font-family:'Source Code Pro','Lucida Console',Monaco,'Courier New',Courier;font-size:10px;font-weight:100;">?</span></sup>}}}</abbr></includeonly>
<noinclude>[[Category:Templates]]
<noinclude>[[Category:Templates]]
Usage: <code><nowiki>{{Tooltip |(hover text)|(description text to be hovered over)}}</nowiki></code>
Usage: <code><nowiki>{{Tooltip |(hover text)|(description text to be hovered over)}}</nowiki></code>

Revision as of 14:04, 22 July 2019

Usage: {{Tooltip |(hover text)|(description text to be hovered over)}}

Example 1 - description text specified: (example description text)

Example 2 - no description text specified:?