Difference between revisions of "Template:Ctd-source"

From Teopedia library
Jump to navigation Jump to search
(Created page with "<noinclude>This template is used to add the source of the information. It adds a short version of the title and pop-up tip with full version of it. '''Usage:''' <pre>{{source...")
 
m
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>This template is used to add the source of the information. It adds a short version of the title and pop-up tip with full version of it.
+
<noinclude>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:'''
 
'''Usage:'''
<pre>{{source|}}</pre>
+
<pre>{{ctd-source|}}</pre>
  
'''Example:'''
+
'''Values''' (capitalization does not matter):
<pre>The first Abhijñâ is Divyachakchus, the instantaneous view of anything one wills to see {{source|TG}} </pre>
+
* '''IAPSOP''' -- ''The International Association for the Preservation of Spiritualist and Occult Periodicals'', http://iapsop.com
 +
* '''TG''' -- ''Theosophical Glossary'' by H. P. Blavatsky; category {{c|Theosophical Glossary (CTD terms)}}
 +
* '''SD''' -- ''The Secret Doctrine'' by H. P. Blavatsky; category {{c|Secret Doctrine (CTD terms))}}
 +
* '''WP''' -- ''Wikipedia'', English section; category {{c|Wikipedia (CTD terms)}}
  
'''Result:'''
 
  
The first Abhijñâ is Divyachakchus, the instantaneous view of anything one wills to see {{source|TG}}.
+
'''Example 1. Information from ''Theosophical Glossary'':'''
 +
:The first Abhijñâ is Divyachakchus, the instantaneous view of anything one wills to see. '''<nowiki>{{</nowiki>ctd-source|TG<nowiki>}}</nowiki>'''.
 +
:⇒ The first Abhijñâ is Divyachakchus, the instantaneous view of anything one wills to see. {{ctd-source|TG}}.
  
[[Category: Templates]]
+
'''Example 2. Information from Wikipedia:'''
</noinclude><includeonly>{{#switch: {{{1|}}}
+
:Aaron was a prophet, high priest, and the elder brother of Moses. '''<nowiki>{{</nowiki>ctd-source|wp|Aaron<nowiki>}}</nowiki>'''.
  | = {{#vardefine:tip|}} {{#vardefine:text|{{{1|}}}}}
+
:⇒ Aaron was a prophet, high priest, and the elder brother of Moses. {{ctd-source|wp|Aaron}}.
  | Theosophical Glossary
+
 
  | TG = {{#vardefine:tip|'Theosophical Glossary' by H.P.Blavatsky}} {{#vardefine:text|TG}}
+
 
  | Secret Doctrine
+
[[Category: Templates for CTD]]
  | SD = {{#vardefine:tip|'The Secret Doctrine' by H.P.Blavatsky}} {{#vardefine:text|SD}}
+
[[t-ru-lib:Шаблон:Бтс-источник|Бтс-источник]]
 +
</noinclude><includeonly>{{#switch: {{lc: {{{1|}}}}}
 +
  | iapsop = {{#vardefine:tip|The International Association for the Preservation of Spiritualist and Occult Periodicals}} {{#vardefine:text|IAPSOP}}
 +
  | theosophical glossary
 +
  | tg = {{#vardefine:tip|'Theosophical Glossary' by H. P. Blavatsky}} {{#vardefine:text|TG}} {{#if: {{{rus|}}}| [[Category: TG terms]] | [[Category: Theosophical Glossary (CTD terms)]] }}
 +
  | secret doctrine
 +
  | 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 (CTD terms)]]
 
  | #default = {{#vardefine:tip|}} {{#vardefine:text|{{{1|}}}}}
 
  | #default = {{#vardefine:tip|}} {{#vardefine:text|{{{1|}}}}}
}}{{#varexists: tip|<span style="text-color: grey; font-style: italic; border-bottom:1px dotted gray; cursor:help;" title="{{#var:tip}}">({{#var:text}})</span>|{{{1|}}}}}</includeonly>
+
}}<!--
 +
--><span style="color: grey; font-size: 90%; font-style: italic;">&#32;(<!--
 +
-->{{#varexists: tip|<span style="font-style: italic; border-bottom:1px dotted gray; cursor:help;" title="{{#var:tip}}">{{#var:text}}</span>|{{{1|}}}}}<!--
 +
-->)</span></includeonly>

Latest revision as of 14:56, 11 April 2024

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).