Template:Tooltip: Difference between revisions
Template page
More actions
TheMysterys (talk | contribs) m Updated with new design |
TheMysterys (talk | contribs) m text-wrap formatting since unsupported in styles.css |
||
Line 1: | Line 1: | ||
<templatestyles src="Tooltip/styles.css" /> | <templatestyles src="Tooltip/styles.css" /> | ||
<div class="tooltip" style="border-bottom-style | <div class="tooltip" style="border-bottom-style:{{{3}}};">{{{1}}}<span class="tooltiptext" style="background-color: var(--color-surface-2); text-wrap: balance;">{{{2}}}</span></div><noinclude> | ||
<templatedata> | <templatedata> | ||
{ | { |
Latest revision as of 06:03, 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 |