Difference between revisions of "Template:Tip"

From Teopedia library
Jump to navigation Jump to search
m
m (+custom pop-up text)
Line 1: Line 1:
<noinclude>This template will add pop-up tip.
+
<noinclude>This template will add pop-up tip for givven word or abbreviations.
  
 
'''Usage:'''
 
'''Usage:'''
 
<pre>{{tip|}}</pre>
 
<pre>{{tip|}}</pre>
  
'''Example:'''
+
'''Examples:'''
<pre>It was said in {{tip|SD}} that...</pre>
 
  
'''Result:'''
+
It was said in '''<nowiki>{{tip|SD}}</nowiki>''' that...
 +
* ''Result'': It was said in {{tip|SD}} that...
  
It was said in {{tip|SD}} that...
+
It was said in '''<nowiki>{{tip2|SD|See Blavatsky H.P. "The Secret Doctrine" (1888)}}</nowiki>''' that...
 +
* ''Result'': It was said in {{tip|SD|See Blavatsky H.P. 'The Secret Doctrine' (1888)}} that...
  
 
== See also ==
 
== See also ==
Line 71: Line 72:
 
  | Zohar = {{#vardefine:tip|'Zohar' commentaries}} {{#vardefine:text|{{{1|}}}}}
 
  | Zohar = {{#vardefine:tip|'Zohar' commentaries}} {{#vardefine:text|{{{1|}}}}}
 
  | #default = {{#vardefine:tip|}}{{#vardefine:text|{{{1|}}}}}
 
  | #default = {{#vardefine:tip|}}{{#vardefine:text|{{{1|}}}}}
}}{{#varexists: tip|<span style="border-bottom:1px dotted gray; cursor:help;" title="{{#var:tip}}">{{#var:text}}</span>|{{{1|}}}}}</includeonly>
+
}}<!--
 +
-->{{#varexists: tip|<span style="border-bottom:1px dotted gray; cursor:help;" title="{{{2|{{#var:tip}}}}}">{{#var:text}}</span>|{{{1|}}}}}</includeonly>

Revision as of 12:13, 27 November 2020

This template will add pop-up tip for givven word or abbreviations.

Usage:

{{tip|}}

Examples:

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

  • Result: It was said in SD that...

It was said in {{tip2|SD|See Blavatsky H.P. "The Secret Doctrine" (1888)}} that...

  • Result: It was said in SD that...

See also

  • Theosophy.Wiki for more information on abbreviations in The Secret Doctrine.