Template:CTD article: Difference between revisions

From Teopedia
mNo edit summary
m (var:term to show)
Line 36: Line 36:
</pre>
</pre>
| ''Name:''
| ''Name:''
* '''term''' -- term or name in sortable form, i.e. without diacritical marks and if it is a name, it should be in following order: Last Name, Other Names or Initials, for example: ''Blavatsky, Helena Petrovna'' or ''Blavatsky, H.P.'' (consider comma after last name); {{p|CTD term}}
* '''term''' -- term or name in sortable form, i.e. without diacritical marks and if it is a name, it should be in following order: Last Name, Other Names, for example: ''Blavatsky, Helena Petrovna'' or ''Blavatsky, H.P.'' (consider comma after last name); {{p|CTD term sortable}}, {{p|CTD term}}
* '''term to show''' -- 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|CTD term to show}}
* '''term to show''' -- 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|CTD term to show}}, {{p|CTD term}}
* '''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 to show'' parameter or equals ''term'' otherwise
* '''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 to show'' parameter or equals ''term'' otherwise
* '''person shortly''' -- short version of name for bibliography, i.e. ''Blavatsky, H. P.'' or ''Slaughter, Rev. W. B.''; {{p|Short name}}
* '''origin''' -- spelling in original language, original meaning, etymology; {{p|CTD term origin}}
* '''origin''' -- spelling in original language, original meaning, etymology; {{p|CTD term origin}}
* '''variations''' -- different spellings (list separated by ";"); {{p|CTD term variations}}
* '''variations''' -- different spellings (list separated by ";"); {{p|CTD term variations}}, {{p|CTD term}}
* '''transliteration SD ed.1''' -- spelling in ''The Secret Doctrine'' as in 1st edition of 1888 (if used); {{p|CTD term SD}}
* '''transliteration SD ed.1''' -- spelling in ''The Secret Doctrine'' as in 1st edition of 1888 (if used); {{p|CTD term SD}}, {{p|CTD term}}
* '''transliteration SD ed.3''' -- spelling in ''The Secret Doctrine'' as in 3d edition of 1893 (if used); {{p|CTD term SD}}
* '''transliteration SD ed.3''' -- spelling in ''The Secret Doctrine'' as in 3d edition of 1893 (if used); {{p|CTD term SD}}, {{p|CTD term}}
* '''transliteration HK''' -- spelling without diacritical marks; {{p|CTD term HK}}
* '''transliteration HK''' -- spelling without diacritical marks; {{p|CTD term HK}}, {{p|CTD term}}
* '''transliteration IAST''' -- spelling according to [[wp:International Alphabet of Sanskrit Transliteration|International Alphabet of Sanskrit Transliteration]]; {{p|CTD term IAST}}
* '''transliteration IAST''' -- spelling according to [[wp:International Alphabet of Sanskrit Transliteration|International Alphabet of Sanskrit Transliteration]]; {{p|CTD term IAST}}, {{p|CTD term}}




Line 80: Line 81:
[[Category: Templates with forms]]
[[Category: Templates with forms]]
[[Category: Templates for CTD]]
[[Category: Templates for CTD]]
</noinclude><includeonly><!--
</noinclude><includeonly><!-- consider compatibility with old parameters
-->{{#vardefine:term to show| {{{term to show|}}} }}<!-- new name
-->{{#if: {{{term diacritical|}}}| {{#vardefine:term to show| {{{term diacritical|}}} }} |}}<!-- old name
   set property "CTD term" to any possible variant, those that may consist of a list are processed later
   set property "CTD term" to any possible variant, those that may consist of a list are processed later
-->{{#set:
-->{{#set: CTD term sortable={{{term|}}}
  |CTD term={{{term|}}};{{{term to show|}}};{{{transliteration SD|}}};{{{transliteration HK|}}};{{{transliteration IAST|}}}
  |CTD term={{{term|}}};{{#var:term to show}};{{{transliteration SD|}}};{{{transliteration HK|}}};{{{transliteration IAST|}}}
  |+sep=;
  |+sep=;
}}<!--  
}}<!--  
Line 107: Line 110:
   Article section -->
   Article section -->
<div style="font-variant: small-caps; font-weight: bold; font-size: 120%;">{{#if: {{{term to show|}}}
<div style="font-variant: small-caps; font-weight: bold; font-size: 120%;">{{#if: {{{term to show|}}}
  | {{{term to show}}} {{#set: CTD term to show={{{term to show|}}}}}
  | {{#var:term to show}} {{#set: CTD term to show={{#var:term to show}}}}
  | {{{term|}}} {{#set: CTD term to show={{{term|}}}}}
  | {{{term|}}} {{#set: CTD term to show={{{term|}}}}}
}}</div><!--
}}</div><!--


  if term is a name of a person
-->{{#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:Name={{{term}}}}} {{#if: {{{term to show|}}}| {{#set: Full name={{{term to show|}}}}} | {{#set: Full name={{{term|}}}}} }}[[Category: Persons]]
  | yes = {{#set: Name={{{term}}}|Short name={{{person shortly}}}}} {{#if: {{{term to show|}}}| {{#set: Full name={{{term to show|}}}}} | {{#set: Full name={{{term|}}}}} }}[[Category: Persons]]
  | default = [[Category: CTD terms]]
  | default = [[Category: CTD terms]]
}}<!--  
}}<!--  

Revision as of 07:47, 20 October 2022

This template is used by form «CTD article» to create or edit an article of Comprehensive Theosophical Dictionary.

  • To create a new article use form «CTD article».
  • Pages that use this template are placed in category «CTD articles» and other categories, named in "categories" parameter.
To copy Description
{{CTD article
 | term = 
 | term to show = 
 | 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 = 
 | ctd rus = 
 | tsw en = 
 | wikipedia = 
}}
Name:
  • term -- term or name in sortable form, i.e. without diacritical marks and if it is a name, it should be in following order: Last Name, Other Names, for example: Blavatsky, Helena Petrovna or Blavatsky, H.P. (consider comma after last name); [[CTD term sortable]], [[CTD term]]
  • term to show -- 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; [[CTD term to show]], [[CTD term]]
  • 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 to show parameter or equals term otherwise
  • person shortly -- short version of name for bibliography, i.e. Blavatsky, H. P. or Slaughter, Rev. W. B.; [[Short name]]
  • origin -- spelling in original language, original meaning, etymology; [[CTD term origin]]
  • variations -- different spellings (list separated by ";"); [[CTD term variations]], [[CTD term]]
  • transliteration SD ed.1 -- spelling in The Secret Doctrine as in 1st edition of 1888 (if used); [[CTD term SD]], [[CTD term]]
  • transliteration SD ed.3 -- spelling in The Secret Doctrine as in 3d edition of 1893 (if used); [[CTD term SD]], [[CTD term]]
  • transliteration HK -- spelling without diacritical marks; [[CTD term HK]], [[CTD term]]
  • transliteration IAST -- spelling according to International Alphabet of Sanskrit Transliteration; [[CTD term IAST]], [[CTD term]]


Description, relationship:

  • description -- description of a term, the article itself; [[CTD term description]]
  • short description -- short description of a term, optional; if empty, set to first 100 chars from description; [[CTD term short description]]
  • image -- filename of an image; [[CTD term image]]
  • image description -- for person, if this parameter is not set, there will be automatic description generated from name and dates of life; [[CTD 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 ";"); [[CTD 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
  • ctd 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