Difference between revisions of "Template:Tip"

From Teopedia library
Jump to navigation Jump to search
Line 23: Line 23:
 
  | Sk. = {{#vardefine:tip|Sanskrit language}}
 
  | Sk. = {{#vardefine:tip|Sanskrit language}}
 
}}
 
}}
<span style="border-bottom:1px dotted gray; cursor:help;" title="{{#var:tip}}">{{{1|}}}</span></includeonly>
+
{{#varexists: tip
 +
| <span style="border-bottom:1px dotted gray; cursor:help;" title="{{#var:tip}}">{{{1|}}}</span>  
 +
| {{{1|}}}
 +
}}
 +
</includeonly>

Revision as of 13:12, 24 September 2018

This template will add pop-up tip.

Usage:

{{tip|}}

Example:

It was said in {{tip|SD}} that...

Result:

It was said in SD

that...