Template:Tt

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search

{{{1}}}

Info

This template makes tooltip texts easier to implement. The tooltip text is what appears when you hover the mouse cursor over something. On mobile devices, tapping the text switches it between the regular text and tooltip text.

Parameters

Parameter Mandatory Default Purpose Detailed description
1 Yes Article text Text to show on the article.
2 No Tooltip text Text to show when the mouse cursor hovers, or when the article text is tapped on mobile.

Skeleton

{{tt | <article text> | <tooltip text>}}

Examples

Code Result
{{tt|Hover over or tap this text|You are now reading the tooltip text.}}
Hover over or tap this text