Template:Tooltip: Difference between revisions

Template page
(Created page with "<div class="tooltip">{{{text|Regular text}}} <span class="tooltiptext">{{{tooltip|Tooltip text}}}</span> </div> <noinclude><templatedata> { "description": "Parameters for background colors and text messages.", "params": { "text": { "label": "Regular Text", "description": "The text to display normally.", "type": "string", "required": true }, "tooltip": { "label": "Tooltip Text",...")
 
No edit summary
Line 1: Line 1:
<div class="tooltip">{{{text|Regular text}}}
<span class="tooltip">{{{text|Regular text}}}
   <span class="tooltiptext">{{{tooltip|Tooltip text}}}</span>
   <div class="tooltiptext">{{{tooltip|Tooltip text}}}</div>
</div>
</span>
<noinclude><templatedata>
<noinclude><templatedata>
{
{

Revision as of 00:05, 12 September 2023

Regular text

Tooltip text

Parameters for background colors and text messages.

[Edit template data]

Template parameters

ParameterDescriptionTypeStatus
Regular Texttext

The text to display normally.

Stringrequired
Tooltip Texttooltip

The text to display in the tooltip

Stringrequired