Template:Tooltip: Difference between revisions
From Shiptest Wiki
Jump to navigationJump to search
(Adds tooltip template) |
mNo edit summary |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>< | <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></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: | ||
* [[Guide to | * [[Guide to Food and Drinks]] | ||
* [[Guide to | * [[Guide to Chemistry]] | ||
* ... | * ... | ||
Line 40: | Line 39: | ||
}} | }} | ||
[[Category:Templates]] | [[Category:Templates]][[Category:Maintenance templates]][[Category:Misc Styling Templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 21:26, 24 June 2023
About
Adds a tooltip to a link. Used all around the wiki in all kinds of recipes:
Key-functionality of the RecursiveChem-Templates like:
- Template:RecursiveChem/QuadrupleSec
- Template:RecursiveChem/BoiledRice
- Template:RecursiveChem/Pyroxadone
- ...
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!