Template:Texttip: Difference between revisions
ScanianMoose (talk | contribs) (test) Tag: sourceedit |
ScanianMoose (talk | contribs) No edit summary Tag: sourceedit |
||
Line 24: | Line 24: | ||
{{texttip|Some text|A tooltip for the text.|style=color:red;}} |
{{texttip|Some text|A tooltip for the text.|style=color:red;}} |
||
;See also |
|||
* {{t|Quicktooltip}} which may have less restrictions, but requires Javascript to work. |
|||
---- |
---- |
Revision as of 02:21, 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.