Template:Tt/doc: Difference between revisions

Template page
(Created page with "This template displays == Usage == <syntaxhighlight lang="html"> {{tt|Label| This is a tooltip box. It's used to provide a definition for jargon without forcing the player to look at another page. }} </syntaxhighlight> == Example == What is a {{tt|tooltip| This is a tooltip box. It's used to provide a definition for jargon without forcing the player to look at another page. }}?")
 
No edit summary
Line 1: Line 1:
This template displays  
This template creates a tooltip, i.e. a label that displays more information when it's hovered.


== Usage ==
== Usage ==


<syntaxhighlight lang="html">
<syntaxhighlight lang="html">
{{tt|Label|
{{tt|Tooltip|This is a tooltip box.|It's used to provide a definition for [[jargon]] without forcing the player to look at another page.}}
This is a tooltip box.
 
It's used to provide a definition for [[jargon]] without forcing the player to look at another page.
}}
</syntaxhighlight>
</syntaxhighlight>


== Example ==
== Example ==


What is a {{tt|tooltip|
What is a {{tt|Tooltip|This is a tooltip box.|It's used to provide a definition for [[jargon]] without forcing the player to look at another page.}}?
This is a tooltip box.
 
It's used to provide a definition for [[jargon]] without forcing the player to look at another page.
}}?

Revision as of 14:08, 24 January 2024

This template creates a tooltip, i.e. a label that displays more information when it's hovered.

Usage

{{tt|Tooltip|This is a tooltip box.|It's used to provide a definition for [[jargon]] without forcing the player to look at another page.}}

Example

What is a Tooltip?