Difference between revisions of "Template:ETG article"

From Teopedia library
Jump to navigation Jump to search
m (no text indent for lifetime)
Line 6: Line 6:
 
{| class=wikitable  
 
{| class=wikitable  
 
|-
 
|-
! width=255px | To copy
+
! width=280px | To copy
 
! Description
 
! Description
 
|-valign=top
 
|-valign=top
Line 36: Line 36:
 
</pre>
 
</pre>
 
| ''Name:''
 
| ''Name:''
* '''term''' -- term or name, {{p|ETG term}}
+
* '''term''' -- term or name; if name, it should be in following order: Last Name, Other Names or Initials, for example: ''Blavatsky, Helena Petrovna'' or ''Blavatsky, H.P.''; {{p|ETG term}}
* '''term diacritical''' -- the same term with diacritical marks (if exist) and stress mark (if needed), {{p|ETG term diacritical}}
+
* '''term diacritical''' -- the same term with diacritical marks (if exist) and stress mark (if needed); if term is a name then put it in a full form in regular order, for example: ''Helena Petrovna Blavatsky'' {{p|ETG term diacritical}}
* '''person''' -- "yes" if it is a person, in this case term will be added to category {{c|Persons}} and semantic properties {{p|Name}} and {{p|Full name}} are set
+
* '''person''' -- "yes" if it is a person, in this case term will be added to category {{c|Persons}} and semantic properties {{p|Name}} and {{p|Full name}} are set; ''full name'' is a name set in ''term diacritical'' parameter or equals ''term'' otherwise
 
* '''origin''' -- spelling in original language, original meaning, etymology {{p|ETG term origin}}
 
* '''origin''' -- spelling in original language, original meaning, etymology {{p|ETG term origin}}
 
* '''variations''' -- different spellings (list separated by ";"), {{p|ETG term variations}}
 
* '''variations''' -- different spellings (list separated by ";"), {{p|ETG term variations}}
Line 109: Line 109:
 
-->{{#vardefine:person|{{lc: {{{person|}}} }}}}<!-- turn letters to lower case
 
-->{{#vardefine:person|{{lc: {{{person|}}} }}}}<!-- turn letters to lower case
 
-->{{#switch: {{#var:person}}
 
-->{{#switch: {{#var:person}}
  | yes = {{#set: Full name={{{term|}}}|Name={{{term}}}}} [[Category: Persons]]
+
  | yes = {{#set:Name={{{term}}}}} {{#if: {{{term diacritical|}}}| {{#set: Full name={{{term diacritical|}}}}} | {{#set: Full name={{{term|}}}}} }}[[Category: Persons]]
 
  | default = [[Category: ETG terms]]
 
  | default = [[Category: ETG terms]]
 
}}<!--  
 
}}<!--  

Revision as of 07:16, 6 August 2022

This template is used by form «ETG article» to create or edit an article of Enlarged Theosophical Glossary.

  • To create a new article use form «ETG article».
  • Pages that use this template are placed in category «ETG articles» and other categories, named in "categories" parameter.
To copy Description
{{ETG article
 | term = 
 | term diacritical = 
 | person = 
 | origin =
 | variations =
 | transliteration SD ed.1 =
 | transliteration SD ed.3 =
 | transliteration HK =
 | transliteration IAST =
 | description =
 | image = 
 | image description = 
 | categories =
 | related terms =
 | start = 
 | end = 
 | approximate duration = 
 | library pages = 
 | quotes hpb = 
 | etg rus = 
 | tsw en = 
 | wikipedia = 
}}
Name:
  • term -- term or name; if name, it should be in following order: Last Name, Other Names or Initials, for example: Blavatsky, Helena Petrovna or Blavatsky, H.P.; [[ETG term]]
  • term diacritical -- the same term with diacritical marks (if exist) and stress mark (if needed); if term is a name then put it in a full form in regular order, for example: Helena Petrovna Blavatsky [[ETG term diacritical]]
  • person -- "yes" if it is a person, in this case term will be added to category «Persons» and semantic properties [[Name]] and [[Full name]] are set; full name is a name set in term diacritical parameter or equals term otherwise
  • origin -- spelling in original language, original meaning, etymology [[ETG term origin]]
  • variations -- different spellings (list separated by ";"), [[ETG term variations]]
  • transliteration SD ed.1 -- spelling in The Secret Doctrine as in 1st edition of 1888 (if used), [[ETG term SD]]
  • transliteration SD ed.3 -- spelling in The Secret Doctrine as in 3d edition of 1893 (if used), [[ETG term SD]]
  • transliteration HK -- spelling without diacritical marks, [[ETG term HK]]
  • transliteration IAST -- spelling according to International Alphabet of Sanskrit Transliteration, [[ETG term IAST]]


Description, relationship:

  • description -- description of a term, the article itself, [[ETG term description]]
  • image -- filename of an image, [[ETG term image]]
  • image description -- for person, if this parameter is not set, there will be automatic description generated from name and dates of life, [[ETG term image]]
  • categories -- list of categories where this term belongs or could be applied to (list separated by ";")
  • related terms -- some terms the one is connected with (list separated by ";"), [[ETG term]]


Duration, period of existence, lifetime:

  • start -- the exact date of appearance, creation or birth in any of supported format, f.e.: YYYY-MM-DD (Year-Month-Day), [[Date of appearance]]
  • end -- the exact date of disappearance, destruction or death, [[Date of disappearance]]
  • approximate duration -- set this only if the exact date is unknown, f.e.: around II AD

Semantic property [[Lifetime]] is set if at least one of the above is not empty.


Teopedia links:

  • library pages -- wiki pages in Library
  • quotes hpb -- page with quotes by H.P. Blavatsky
  • etg rus -- Glossary article in Russian


External links:

  • tsw en -- article in English section of Theosophy.wiki
  • wikipedia -- article in Wikipedia
  • other resources -- any other Internet resources in format: [URL1 text1]; [URL2 text2]

See also