Difference between revisions of "Template:Ctd-source"

From Teopedia library
Jump to navigation Jump to search
Line 23: Line 23:
 
</noinclude><includeonly>{{#switch: {{lc: {{{1|}}}}}
 
</noinclude><includeonly>{{#switch: {{lc: {{{1|}}}}}
 
  | theosophical glossary
 
  | theosophical glossary
  | tg = {{#vardefine:tip|'Theosophical Glossary' by H. P. Blavatsky}} {{#vardefine:text|TG}} [[Category: Theosophical Glossary (ETG terms)]]  
+
  | tg = {{#vardefine:tip|'Theosophical Glossary' by H. P. Blavatsky}} {{#vardefine:text|TG}} [[Category: Theosophical Glossary (CTD terms)]]  
 
  | secret doctrine
 
  | secret doctrine
  | sd = {{#vardefine:tip|'The Secret Doctrine' by H. P. Blavatsky}} {{#vardefine:text|SD{{#if: {{{2|}}}|, {{{2}}}|}}}} [[Category: Secret Doctrine (ETG terms)]]
+
  | sd = {{#vardefine:tip|'The Secret Doctrine' by H. P. Blavatsky}} {{#vardefine:text|SD{{#if: {{{2|}}}|, {{{2}}}|}}}} [[Category: Secret Doctrine (CTD terms)]]
  | wp = {{#vardefine:tip|Wikipedia}} {{#if: {{{2|}}}|{{#vardefine:text|WP, [[wp:{{{2}}}|{{{2}}}]]}} |{{#vardefine:text|WP}}}} [[Category: Wikipedia (ETG terms)]]
+
  | wp = {{#vardefine:tip|Wikipedia}} {{#if: {{{2|}}}|{{#vardefine:text|WP, [[wp:{{{2}}}|{{{2}}}]]}} |{{#vardefine:text|WP}}}} [[Category: Wikipedia (CTD terms)]]
 
  | #default = {{#vardefine:tip|}} {{#vardefine:text|{{{1|}}}}}
 
  | #default = {{#vardefine:tip|}} {{#vardefine:text|{{{1|}}}}}
 
}}<!--
 
}}<!--

Revision as of 05:52, 9 February 2023

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

Usage:

{{ctd-source|}}

Values (capitalization does not matter):


Example 1. Information from Theosophical Glossary:

The first Abhijñâ is Divyachakchus, the instantaneous view of anything one wills to see. {{ctd-source|TG}}.
⇒ The first Abhijñâ is Divyachakchus, the instantaneous view of anything one wills to see. (TG).

Example 2. Information from Wikipedia:

Aaron was a prophet, high priest, and the elder brother of Moses. {{ctd-source|wp|Aaron}}.
⇒ Aaron was a prophet, high priest, and the elder brother of Moses. (WP, Aaron).