Difference between revisions of "Template:Ctd-source"

From Teopedia library
Jump to navigation Jump to search
Line 5: Line 5:
  
 
'''Values:'''
 
'''Values:'''
* '''TG''' -- ''Theosophical Glossary'' by H. P. Blavatsky
+
* '''TG''' -- ''Theosophical Glossary'' by H. P. Blavatsky; category {{c|Terms from Theosophical Glossary}}
 
* '''SD''' -- ''The Secret Doctrine'' by H. P. Blavatsky
 
* '''SD''' -- ''The Secret Doctrine'' by H. P. Blavatsky
  
Line 17: Line 17:
  
 
[[Category: Templates]]
 
[[Category: Templates]]
</noinclude><includeonly>{{#switch: {{{1|}}}
+
</noinclude><includeonly>{{#switch: {{lc: {{{1|}}}}}
| = {{#vardefine:tip|}} {{#vardefine:text|{{{1|}}}}}
 
 
  | Theosophical Glossary
 
  | Theosophical Glossary
  | TG = {{#vardefine:tip|'Theosophical Glossary' by H. P. Blavatsky}} {{#vardefine:text|TG}} [[Category: Terms from Theosophical Glossary]]  
+
  | TG = {{#vardefine:tip|'Theosophical Glossary' by H. P. Blavatsky}} {{#vardefine:text|TG}} [[Category: Theosophical Glossary (ETG terms)]]  
 
  | Secret Doctrine
 
  | Secret Doctrine
  | SD = {{#vardefine:tip|'The Secret Doctrine' by H. P. Blavatsky}} {{#vardefine:text|SD}}
+
  | SD = {{#vardefine:tip|'The Secret Doctrine' by H. P. Blavatsky}} {{#vardefine:text|SD}} [[Category: Secret Doctrine (ETG terms)]]
 +
| wp = {{#vardefine:tip|Wikipedia}} {{#vardefine:text|WP}} [[Category: Secret Doctrine (ETG terms)]]
 
  | #default = {{#vardefine:tip|}} {{#vardefine:text|{{{1|}}}}}
 
  | #default = {{#vardefine:tip|}} {{#vardefine:text|{{{1|}}}}}
 
}}{{#varexists: tip|<span style="color: grey; font-style: italic; border-bottom:1px dotted gray; cursor:help;" title="{{#var:tip}}">({{#var:text}})</span>|{{{1|}}}}}</includeonly>
 
}}{{#varexists: tip|<span style="color: grey; font-style: italic; border-bottom:1px dotted gray; cursor:help;" title="{{#var:tip}}">({{#var:text}})</span>|{{{1|}}}}}</includeonly>

Revision as of 03:11, 19 September 2021

This template is used to add the source of information in ETG article. It adds a short version of the title and pop-up tip with full version of it.

Usage:

{{etg-source|}}

Values:


Example:

The first Abhijñâ is Divyachakchus, the instantaneous view of anything one wills to see {{etg-source|TG}} 

Result:

The first Abhijñâ is Divyachakchus, the instantaneous view of anything one wills to see (TG).