Template:Texttip

From AlliedModders Wiki
Revision as of 09:13, 14 June 2017 by Arkshine (talk | contribs) (Created page with "<span style="{{#ifeq:{{{noline|-}}}|||border-bottom:1px dotted gray; }}cursor:help;" title="{{{tiptext|{{{2|{{{1|Missing tip.}}}}}}}}}">{{{text|{{{1|''Missing text.''}}}}}}</s...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Missing text.

Description

Adds a simple text tooltip to text.
Basic guts:
<span style="suppressable line CSS; cursor:help;" title="Tooltip text.">Displayed text.</span>

Syntax

{{Texttip|text|tiptext}}

Parameters

  • 1/text = Text to show. Can include links, but be careful if you don't supply tip text.
  • 2/tiptext = Text for tooltip. Don't use double quotes, links or HTML tags.
  • noline= - Don't show a dotted underline (no value needed).

Example

{{texttip|Some text|A tooltip for the text.}}

{{texttip|No dotted underline|A tooltip for the text.|noline=}}
...yields:

Some text

No dotted underline