Template:Tooltip: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
Line 2: Line 2:


== Examples ==
== Examples ==
; Wikitext
{{Template demo
<pre>
| style = table
{{tooltip|Hover me!|♪ Never gonna give you up ♪}}
| <nowiki>{{tooltip|Hover me!|♪ Never gonna give you up ♪}}</nowiki>
</pre>
}}


; Result
{{tooltip|Hover me!|♪ Never gonna give you up ♪}}
[[Category: Templates]]
== Template data ==
== Template data ==
<templatedata>
<templatedata>
Line 30: Line 26:
"description": "This template creates text that can be hover to make a tooltip appear."
"description": "This template creates text that can be hover to make a tooltip appear."
}
}
</templatedata>}}</noinclude>
</templatedata>
}}
[[Category: Templates]]
</noinclude>

Latest revision as of 22:44, 19 January 2025

Template documentation

Creates a hoverable tooltip.

Examples

Markup Renders as
{{tooltip|Hover me!|♪ Never gonna give you up ♪}}
Hover me!

Template data

This template creates text that can be hover to make a tooltip appear.

Template parameters

ParameterDescriptionTypeStatus
Text1

This text will be shown on the page with a visual indication it can be hovered.

Stringrequired
Hover text2

This text will be seen when hovering the zone.

Stringrequired