Template:Tooltip: Difference between revisions
Template page
More actions
TheMysterys (talk | contribs) m Fix formatting of template data |
TheMysterys (talk | contribs) m Updated with new design |
||
Line 1: | Line 1: | ||
< | <templatestyles src="Tooltip/styles.css" /> | ||
<div class="tooltip" style="border-bottom-style={{{3}}};">{{{1}}}<span class="tooltiptext" style="background-color: var(--color-surface-2);">{{{2}}}</span></div><noinclude> | |||
<templatedata> | <templatedata> | ||
{ | { |
Revision as of 05:55, 27 September 2023
{{{1}}}{{{2}}}
Adds text with a tooltip
Parameter | Description | Type | Status | |
---|---|---|---|---|
Visible Text | 1 | Text you want seen on the page | String | required |
Hover Text | 2 | Text you want seen when you hover | String | required |
Underline Style | 3 | Style of the line
| String | required |