Template:Tooltip/doc: Difference between revisions

LVL (talk | contribs)
Documentation on how to use Tooltip template
 
LVL (talk | contribs)
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Usage ==
== Usage ==
This template creates a rich tooltip that displays additional information when hovered (desktop) or tapped (mobile). It supports text, images, bullet points, and HTML tables.
This template creates a tooltip that displays additional information when hovered (desktop) or tapped (mobile). It supports text, images, bullet points, and HTML tables.
 
It creates a mobile-friendly popup that adjusts its position automatically to stay on screen.


== Examples ==
== Examples ==
Line 69: Line 67:
</table>
</table>
}}
}}


<templatedata>
<templatedata>
Line 92: Line 91:
}
}
},
},
"format": "inline",
"format": "inline"
"description": "Creates a hoverable/tappable tooltip for rich content."
}
}
</templatedata>
</templatedata>
<includeonly>[[Category:Formatting templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
<includeonly>[[Category:Formatting templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>