Template:Tip: Difference between revisions

From Teopedia
No edit summary
No edit summary
Line 23: Line 23:
  | Sk = {{#vardefine:tip|Sanskrit language}} {{#vardefine:text|{{{1|}}}.}}
  | Sk = {{#vardefine:tip|Sanskrit language}} {{#vardefine:text|{{{1|}}}.}}
  | Zohar = {{#vardefine:tip|'Zohar' commentaries}} {{#vardefine:text|{{{1|}}}}}
  | Zohar = {{#vardefine:tip|'Zohar' commentaries}} {{#vardefine:text|{{{1|}}}}}
  | default {{#vardefine:tip|}}
  | #default = {{#vardefine:tip|}}
}}  
}} {{#varexists: tip
{{#varexists: tip
  | <span style="border-bottom:1px dotted gray; cursor:help;" title="{{#var:tip}}">{{#var:text}}</span>  
  | <span style="border-bottom:1px dotted gray; cursor:help;" title="{{#var:tip}}">{{#var:text}}</span>  
  | {{{1|}}}  
  | {{{1|}}} }}</includeonly>
}}</includeonly>

Revision as of 10:33, 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...