Template:CTD article: Difference between revisions
mNo edit summary |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 43: | Line 43: | ||
* '''term''' -- term or name in full length 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 ''Monier-Williams, Sir Monier'' (consider comma after last name); {{p|CTD term sortable}}, {{p|CTD term}} | * '''term''' -- term or name in full length 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 ''Monier-Williams, Sir Monier'' (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}}, {{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}}, {{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}}, {{p|Full name}} and {{p|Short 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}}, {{p|Full name}}, {{p|Short name}} and {{p|Short name regular}} are set; ''full name'' is a name set in ''term to show'' parameter or equals ''term'' otherwise | ||
* '''short name''' -- short version of name or family name (surname) for bibliography, i.e. ''Blavatsky'' or ''Avicenna''; {{p|Short name}} | * '''short name''' -- short version of name or family name (surname) for bibliography, i.e. ''Blavatsky'' or ''Avicenna''; {{p|Short name}} | ||
* '''initials''' -- initials to add to surname for bibliography and short references; if set, then '''short name''' is interpreted as surname and two properties are set: | * '''initials''' -- initials to add to surname for bibliography and short references; if set, then '''short name''' is interpreted as surname and two properties are set: | ||
Line 99: | Line 99: | ||
set short name according to initials value | set short name according to initials value | ||
-->{{#if: {{{initials|}}} | -->{{#if: {{{initials|}}} | ||
| | | {{#vardefine:short name|{{{short name|}}}, {{{initials|}}}}} {{#vardefine:short name regular|{{{initials|}}} {{{short name|}}}}} | ||
| | | {{#vardefine:short name|{{{short name|}}}}} | ||
}}<!-- | }}<!-- | ||
Line 138: | Line 138: | ||
-->{{#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|}}}|Short name={{{short name | | yes = {{#set: Name={{{term|}}} | Short name={{#var:short name}} | Short name regular={{#var:short name regular}} }} {{#if: {{{term to show|}}}| {{#set: Full name={{{term to show|}}}}} | {{#set: Full name={{{term|}}}}} }}[[Category: Persons]] | ||
| default = [[Category: CTD terms]] | | default = [[Category: CTD terms]] | ||
}}<!-- | }}<!-- |
Latest revision as of 01:01, 1 October 2023
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.
- Module CTD with some additional functions.
To copy | Description |
---|---|
{{CTD article | term = | term to show = | person = | short name = | initials = | origin = | variations = | transliteration SD ed.1 = | transliteration SD ed.3 = | transliteration HK = | transliteration IAST = | description = | short description = | image = | image description = | categories = | related terms = | start = | end = | approximate duration = | library pages = | quotes hpb = | ctd rus = | tsw en = | wikipedia = | other resources = }} |
Name:
Semantic property [[Lifetime]] is set if at least one of the above is not empty.
|
See also
- Понятие БТС -- corresponding template in Russian section