Template:Texttip: Difference between revisions

From Subnautica Wiki
(test)
Tag: sourceedit
(didn't work. nvm)
Tag: sourceedit
Line 17: Line 17:


{{texttip|Some text|A tooltip for the text.|style=color:red;}}
{{texttip|Some text|A tooltip for the text.|style=color:red;}}

{{texttip|Some text|A tooltip for the text.|style=color:blue;noline=}}
</pre>
</pre>
:...yields:
:...yields:
Line 26: Line 24:


{{texttip|Some text|A tooltip for the text.|style=color:red;}}
{{texttip|Some text|A tooltip for the text.|style=color:red;}}

{{texttip|Some text|A tooltip for the text.|style=color:blue;noline=}}


----
----

Revision as of 02:23, 23 April 2015

Description
Adds a simple text tooltip to text.
Syntax
{{Texttip|<text>|<tiptext>}}
Paramaters
  • 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=}}

{{texttip|Some text|A tooltip for the text.|style=color:red;}}
...yields:

Some text

No dotted underline

Some text


Template

Missing text.