Template:Tooltip: Difference between revisions

From Shiptest Wiki
Jump to navigationJump to search
(Adds tooltip template)
 
(Modifying tooltip format in order to test.)
Line 1: Line 1:
<includeonly><span class='tooltip'>{{{1}}}<span class='tooltiptext'>{{{2}}}</span></span></includeonly><noinclude>
<includeonly><span class='tooltip'>{{{1}}}<div class='tooltiptext'>{{{2}}}</div></span></includeonly><noinclude>
== About ==
== About ==
Adds a tooltip to a link. Used all around the wiki in all kinds of recipes:
Adds a tooltip to a link. Used all around the wiki in all kinds of recipes:

Revision as of 04:32, 20 October 2021

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!