Template:Ctd-source: Difference between revisions

From Teopedia
m (Pavel Malakhov moved page Template:Source to Template:Etg-source without leaving a redirect)
mNo edit summary
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 [[ETG]] article. It adds a short version of the title and pop-up tip with full version of it.


'''Usage:'''
'''Usage:'''
<pre>{{source|}}</pre>
<pre>{{etg-source|}}</pre>
 
Values:
* '''TG''' -- ''Theosophical Glossary'' by H. P. Blavatsky
* '''SD''' -- ''The Secret Doctrine'' by H. P. Blavatsky


'''Example:'''
'''Example:'''
<pre>The first Abhijñâ is Divyachakchus, the instantaneous view of anything one wills to see {{source|TG}} </pre>
<pre>The first Abhijñâ is Divyachakchus, the instantaneous view of anything one wills to see {{etg-source|TG}} </pre>


'''Result:'''
'''Result:'''


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


[[Category: Templates]]
[[Category: Templates]]
Line 15: Line 19:
  | = {{#vardefine:tip|}} {{#vardefine:text|{{{1|}}}}}
  | = {{#vardefine:tip|}} {{#vardefine:text|{{{1|}}}}}
  | Theosophical Glossary
  | Theosophical Glossary
  | TG = {{#vardefine:tip|'Theosophical Glossary' by H.P.Blavatsky}} {{#vardefine:text|TG}}
  | TG = {{#vardefine:tip|'Theosophical Glossary' by H. P. Blavatsky}} {{#vardefine:text|TG}}
  | 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}}
  | #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 23:14, 18 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:

  • TG -- Theosophical Glossary by H. P. Blavatsky
  • SD -- The Secret Doctrine by H. P. Blavatsky

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