Template:Tooltip: Difference between revisions
Jump to navigation
Jump to search
m (convert to static sizing (px)) |
m (Template > Shorthand Template) |
||
Line 1: | Line 1: | ||
<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> | <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:Shorthand 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> | ||
Example 1 - description text specified: {{Tooltip |(hover text)|(example description text)}} | Example 1 - description text specified: {{Tooltip |(hover text)|(example description text)}} | ||
Example 2 - no description text specified:{{Tooltip |(hover text)}}</noinclude> | Example 2 - no description text specified:{{Tooltip |(hover text)}}</noinclude> |
Revision as of 15:20, 3 September 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:?