Difference between revisions of "Template:Tooltip"

From The Kingkiller Chronicle Wiki
Jump to navigation Jump to search
(Created page with "<span data-tippy="{{{tooltiptext}}}" style="border-bottom: 1px dotted;">{{{displaytext}}}</span> <noinclude> {{TemplateData|<templatedata> { "params": { "tooltiptext": {...")
 
 
Line 1: Line 1:
<span data-tippy="{{{tooltiptext}}}" style="border-bottom: 1px dotted;">{{{displaytext}}}</span>
+
<span class="tooltip" data-tippy="{{{tooltiptext}}}" style="border-bottom: 1px dotted;">{{{displaytext}}}</span>
 
<noinclude>
 
<noinclude>
 
{{TemplateData|<templatedata>
 
{{TemplateData|<templatedata>

Latest revision as of 09:46, 17 December 2018

{{{displaytext}}}

Data

Show/hide template's data

The following information is used by extensions and applications, such as VisualEditor, to help users implement this template onto pages. Please ensure that it is up-to-date.

Adds a Tippy.js tooltip to text

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Tooltip texttooltiptext

The text to display in the tooltip

Stringoptional
Display textdisplaytext

The text to display

Stringoptional