Template:CTD article: Difference between revisions
mNo edit summary |
m (+short description) |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 22: | Line 22: | ||
| transliteration IAST = | | transliteration IAST = | ||
| description = | | description = | ||
| short description = | |||
| image = | | image = | ||
| image description = | | image description = | ||
| Line 82: | Line 83: | ||
[[Category: Templates with forms]] | [[Category: Templates with forms]] | ||
[[Category: Templates for CTD]] | [[Category: Templates for CTD]] | ||
[[t-ru-lib:Шаблон:Понятие БТС]] | |||
</noinclude><includeonly><!-- consider compatibility with old parameters | </noinclude><includeonly><!-- consider compatibility with old parameters | ||
-->{{#vardefine:term to show| {{{term to show|}}} }}<!-- new name | -->{{#vardefine:term to show| {{{term to show|}}} }}<!-- new name | ||
| Line 124: | Line 127: | ||
set variable {{#var:variants}}, with all the variations | set variable {{#var:variants}}, with all the variations | ||
-->{{#if: {{{variations|}}} | -->{{#if: {{{variations|}}} | ||
|{{#vardefine:variants| • {{#arraymap:{{{variations|}}}| | |{{#vardefine:variants| • {{#arraymap:{{{variations|}}}|;|@@|[[CTD term::@@]]| • }} }} | ||
|}}<!-- | |}}<!-- | ||
-->{{#if: {{{transliteration SD|}}} | -->{{#if: {{{transliteration SD|}}} | ||
| Line 152: | Line 155: | ||
<div style="white-space: pre-wrap;">{{{description|}}}</div> | <div style="white-space: pre-wrap;">{{{description|}}}</div> | ||
{{#set: CTD term origin={{{origin|}}}|CTD term description={{{description|}}}}} | {{#set: CTD term origin={{{origin|}}}|CTD term description={{{description|}}}}} | ||
{{#if: {{{short description|}}} | |||
|<p style="font-weight: bold; text-indent: 0; margin-top: 1em;">{{tip|Shortly|Short text for popup hints and footnotes; main meaning in several words.}}:</p>{{{short description}}} {{#set: CTD term short description={{{short description|}}}}} | |||
| {{#set: CTD term short description={{#sub:{{{description|}}}|0|100}}{{#ifexpr: {{#len:{{{description|}}}}} > 100 |...}}}} | |||
}} | |||
{{#if: {{{related terms|}}}| <hr> | {{#if: {{{related terms|}}}| <hr> | ||
<div style="font-size: 90%;">'''See also:''' {{#arraymap:{{{related terms|}}}|;|@@| {{#set:CTD related term=@@}} {{#formredlink:target=@@|form=CTD article}} }}</div> |}}<!-- | <div style="font-size: 90%;">'''See also:''' {{#arraymap:{{{related terms|}}}|;|@@| {{#set:CTD related term=@@}} {{#formredlink:target=@@|form=CTD article}} }}</div> |}}<!-- | ||
| Line 176: | Line 184: | ||
<div style="border: 1px grey solid; background:#f8f8ff; width: 100%; font-size: 90%; color: grey; margin-top: 2em;"> | <div style="border: 1px grey solid; background:#f8f8ff; width: 100%; font-size: 90%; color: grey; margin-top: 2em;"> | ||
<p style="text-indent: 5px;">'''TERM DATA'''</p> | <p style="text-indent: 5px; font-size: 80%;">'''TERM DATA'''</p> | ||
<p style="text-indent: 5px;">To show: | <p style="text-indent: 5px;">To show: <b>{{#var:term to show}}</b>; Full sortable: <b>{{{term|}}}</b>; Short sortable: <b>{{{short name|}}}</b></p> | ||
{{#if: {{{term diacritical|}}}| <p style="text-indent: 5px; color: #9b111e;">'''! Template needs update !''' some parameters have been changed, see [[Template:CTD_article|description]].</p> [[Category:Pages to update template]]|}} | |||
</div> | </div> | ||
Revision as of 10:13, 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 =
| short name =
| 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 =
}}
|
Name:
Semantic property [[Lifetime]] is set if at least one of the above is not empty.
|
See also
- Понятие БТС -- corresponding template in Russian section