Template:Ctd-source: Difference between revisions

From Teopedia
No edit summary
No edit summary
Line 10: Line 10:


'''Example 1. Information from ''Theosophical Glossary'':'''
'''Example 1. Information from ''Theosophical Glossary'':'''
:The first Abhijñâ is Divyachakchus, the instantaneous view of anything one wills to see. '''<nowiki>{{</nowiki>etg-source|TG<nowiki>}}</nowiki>'''
:The first Abhijñâ is Divyachakchus, the instantaneous view of anything one wills to see. '''<nowiki>{{</nowiki>etg-source|TG<nowiki>}}</nowiki>'''.
:⇒ The first Abhijñâ is Divyachakchus, the instantaneous view of anything one wills to see. {{etg-source|TG}}
:⇒ The first Abhijñâ is Divyachakchus, the instantaneous view of anything one wills to see. {{etg-source|TG}}.


'''Example 2. Information from Wikipedia:'''
'''Example 2. Information from Wikipedia:'''
:Aaron was a prophet, high priest, and the elder brother of Moses. '''<nowiki>{{</nowiki>etg-source|wp|Aaron<nowiki>}}</nowiki>'''
:Aaron was a prophet, high priest, and the elder brother of Moses. '''<nowiki>{{</nowiki>etg-source|wp|Aaron<nowiki>}}</nowiki>'''.
:⇒ Aaron was a prophet, high priest, and the elder brother of Moses. {{etg-source|wp|Aaron}}
:⇒ Aaron was a prophet, high priest, and the elder brother of Moses. {{etg-source|wp|Aaron}}.




Line 30: Line 30:
--><span style="color: grey; font-size: 90%; font-style: italic;">&#32;(<!--
--><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|}}}}}<!--
-->{{#varexists: tip|<span style="font-style: italic; border-bottom:1px dotted gray; cursor:help;" title="{{#var:tip}}">{{#var:text}}</span>|{{{1|}}}}}<!--
-->).</span></includeonly>
-->)</span></includeonly>

Revision as of 01:07, 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 (capitalization does not matter):


Example 1. Information from Theosophical Glossary:

The first Abhijñâ is Divyachakchus, the instantaneous view of anything one wills to see. {{etg-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. {{etg-source|wp|Aaron}}.
⇒ Aaron was a prophet, high priest, and the elder brother of Moses. (WP, Aaron).