Template:CTD article: Difference between revisions
(Fix broken {{trim:@@}} call (undefined function) in "quotes" parameter link generation — use @@ directly, since #arraymap items need no extra trimming here) |
(Support the mentioned in field for reviewed CTD entries) |
||
| Line 24: | Line 24: | ||
| transliteration IAST = | | transliteration IAST = | ||
| description = | | description = | ||
| mentioned in = | |||
| short description = | | short description = | ||
| image = | | image = | ||
| Line 60: | Line 61: | ||
''Description, relationship:'' | ''Description, relationship:'' | ||
* '''description''' -- description of a term, the article itself; {{p|CTD term description}} | * '''description''' -- description of a term, the article itself; {{p|CTD term description}} | ||
* '''mentioned in''' – works in which this term, person, literary work or periodical is mentioned. Enter work titles as hyperlinks, separated by semicolons. Each item is stored as a separate value of the Text property {{p|CTD mentioned in}} | |||
* '''short description''' -- short description, used in footnotes and popup information; optional; if empty, set to first 100 chars from ''description''; {{p|CTD term short description}} | * '''short description''' -- short description, used in footnotes and popup information; optional; if empty, set to first 100 chars from ''description''; {{p|CTD term short description}} | ||
* '''image''' -- filename of an image; {{p|CTD term image}} | * '''image''' -- filename of an image; {{p|CTD term image}} | ||
| Line 173: | Line 175: | ||
</div> | </div> | ||
<div style="white-space: pre-wrap;">{{{description|}}}</div> | <div style="white-space: pre-wrap;">{{{description|}}}</div> | ||
{{#if: {{{mentioned in|}}} | |||
|{{#set: CTD mentioned in={{{mentioned in|}}}|+sep=;}} | |||
<p style="font-weight: bold; text-indent: 0; margin-top: 1em;">Mentioned in:</p> | |||
<ul>{{#arraymap:{{{mentioned in|}}}|;|@@|<li>@@</li>|}}</ul> | |||
|}} | |||
{{#set: CTD term origin={{{origin|}}}|CTD term description={{{description|}}}}} | {{#set: CTD term origin={{{origin|}}}|CTD term description={{{description|}}}}} | ||
{{#if: {{{related terms|}}}| <hr> | {{#if: {{{related terms|}}}| <hr> | ||
Revision as of 09:42, 15 October 2026
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 =
| mentioned in =
| short description =
| image =
| image description =
| categories =
| related terms =
| start =
| end =
| approximate duration =
| library links =
| library pages =
| quotes =
| 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