This is the documentation page for Tt/Draft.
It contains usage information, categories, and other content not part of the original template page.
This template uses Module:Tt/Draft, a script written in Lua.
This template uses CSS found at MediaWiki:Gadget-Tooltip.css (edit | hist).
This template uses MediaWiki:Gadget-Tooltip.js (edit | hist), a script written in JavaScript.

Adds a simple text tooltip to text.

Syntax

{{tt/Draft|text|tiptext|link = 1/page name|noline = 1}}

  • 1 — Text to show. Can include links, but be careful if you don't supply tip text.
  • 2 — Text for tooltip. Don't use links or HTML tags.
  • link — Link for display text. Set as 1 to link to 1, or enter the custom page to link.

Examples

{{tt/Draft|Some text|A tooltip for the text.}} yields: Lua error in Module:Tt/Draft at line 37: attempt to index local 'frame' (a nil value).
{{tt/Draft|Kiana|is a bird|link = 1}} yields: Lua error in Module:Tt/Draft at line 37: attempt to index local 'frame' (a nil value).
{{tt/Draft|Kiana Kaslana|is a bird|link = Kiana}} yields: Lua error in Module:Tt/Draft at line 37: attempt to index local 'frame' (a nil value).

Template Data

Adds a simple text tooltip to text.

Template parameters

ParameterDescriptionTypeStatus
Text1

Text to show. Can include links, but be careful if you don't supply tip text.

Stringrequired
Title2

Text for tooltip. Don't use double quotes, links or HTML tags.

Stringrequired
Linklink

Link for display text. Set as 1 to link display text, or enter the custom page to link.

Stringoptional