Template:Tooltip: Difference between revisions

From Shiptest Wiki
Jump to navigationJump to search
(Fucking did it, its the styling overhaul times... maybe, will use as test just in case)
m (test again)
Line 1: Line 1:
<includeonly><div class='tooltip' style="display:inline;">{{{1}}}<div class='tooltiptext' style='top:20px; background: #{{{3|FFFFFF}}}; z-index:200; left:5px; box-shadow: 0 0 .3em #999;'>{{{2}}}</div></div><noinclude>[[Category:Templates]][[Category:Maintenance templates]][[Category:Misc Styling Templates]]</noinclude>
<includeonly><div class='tooltip' style="display:inline;">{{{1}}}<div class='tooltiptext' style='top:20px; background: {{{3}}}; z-index:200; left:5px; box-shadow: 0 0 .3em #999;'>{{{2}}}</div></div><noinclude>[[Category:Templates]][[Category:Maintenance templates]][[Category:Misc Styling Templates]]</noinclude>
</includeonly><noinclude>
</includeonly><noinclude>
== About ==
== About ==

Revision as of 08:44, 4 July 2022

About

Adds a tooltip to a link. Used all around the wiki in all kinds of recipes:

Key-functionality of the RecursiveChem-Templates like:

Parameter-Usage

Parameter Description
1 Text to be displayed
2 Content of the tooltip-box

Examples

Normal

{{Tooltip|hover me|Tool Tip Time!}}
hover me
Tool Tip Time!


Recursive

{{Tooltip
|This...
|{{Tooltip|is...|ONION!}}
}}
This...
is...
ONION!