Open main menu
Home
Random
Log in
Settings
About Drawn to Life Wiki
Disclaimers
Drawn to Life Wiki
Search
Changes
← Older edit
Newer edit →
Template:Tooltip
(view source)
Revision as of 23:39, 17 June 2022
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>
BakiDance
Bureaucrats
, content-mod,
Forum administrators
,
Interface administrators
, staff,
Suppressors
,
Administrators
6,234
edits