Changes

616 bytes added ,  23:39, 17 June 2022
no edit summary
Line 2: Line 2:  
<span class="tooltiptext-template">{{{tooltip|tooltip text}}}</span>
 
<span class="tooltiptext-template">{{{tooltip|tooltip text}}}</span>
 
</div>
 
</div>
 +
<noinclude>
 +
<templatedata>
 +
{
 +
"params": {
 +
"mastertext": {
 +
"aliases": [
 +
"1"
 +
],
 +
"label": "Article text",
 +
"description": "The main text that will display on the page that spawns the tooltip when hovered.",
 +
"example": "mastertext=Lorem Ipsum",
 +
"type": "string",
 +
"required": true
 +
},
 +
"tooltip": {
 +
"label": "Tooltip Text",
 +
"description": "The text to display in a tooltip when mastertext is hovered over.",
 +
"example": "|tooltip=Hover text",
 +
"type": "string",
 +
"required": true
 +
}
 +
},
 +
"description": "Adds a mobile-friendly tooltip to any text."
 +
}
 +
</templatedata>
 +
</noinclude>