Template:Tooltip: Difference between revisions
Template page
More actions
TheMysterys (talk | contribs) mNo edit summary |
TheMysterys (talk | contribs) m text-wrap formatting since unsupported in styles.css |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
< | <templatestyles src="Tooltip/styles.css" /> | ||
<noinclude> | <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> | ||
{ | { | ||
Line 27: | Line 27: | ||
"solid" | "solid" | ||
], | ], | ||
" | "required": true, | ||
"suggested": true, | |||
"autovalue": "dashed" | |||
} | } | ||
}, | }, |
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 |