Template:Tooltip: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
m (specify font family / improve consistency)
m (m - quote fix)
Line 1: Line 1:
<includeonly><abbr title="{{{1}}}">{{{2|<sup><span style="display:inline-block;width:1.8ex;height:1.8ex;line-height:1.9ex;border-radius:1.4ex;margin-left:4px;border:1px solid #cccccc;text-align:center;padding:1px;font-family:"Lucida Console","Source Code Pro",Monaco,"Courier New",Courier;font-size:1.9ex;font-weight:100;">?</span></sup>}}}</abbr></includeonly>
<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>
<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 13:55, 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:?