Difference between revisions of "Template:Tip"

From Teopedia library
Jump to navigation Jump to search
m
Line 14: Line 14:
 
</noinclude><includeonly>{{#switch: {{{1|}}}
 
</noinclude><includeonly>{{#switch: {{{1|}}}
 
  | =
 
  | =
  | Alch. = Alchemical sources
+
  | Alch. = {{#vardefine:tip|Alchemical sources}}
  | Arab. = Arab traditions
+
  | Arab. = {{#vardefine:tip|Arab traditions}}
  | Assyr. = Assyrian language
+
  | Assyr. = {{#vardefine:tip|Assyrian language}}
 
  | IAST = {{#vardefine:tip|International Alphabet of Sanskrit Transliteration}}
 
  | IAST = {{#vardefine:tip|International Alphabet of Sanskrit Transliteration}}
 
  | Secret Doctrine
 
  | Secret Doctrine
 
  | SD = {{#vardefine:tip|'The Secret Doctrine' by H.P.Blavatsky}}
 
  | SD = {{#vardefine:tip|'The Secret Doctrine' by H.P.Blavatsky}}
  | Sk. = Sanskrit language
+
  | Sk. = {{#vardefine:tip|Sanskrit language}}
 
}}
 
}}
<span style="border-bottom:1px dotted gray; cursor:help" title="{{#var:tip}}">{{{1|}}}</span></includeonly>
+
<span style="border-bottom:1px dotted gray; cursor:help;" title="{{#var:tip}}">{{{1|}}}</span></includeonly>

Revision as of 12:49, 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...