Template:CTD article: Difference between revisions
(updated Data block) |
mNo edit summary |
||
| Line 3: | Line 3: | ||
* To create a new article use form {{f|CTD article}}. | * To create a new article use form {{f|CTD article}}. | ||
* Pages that use this template are placed in category {{c|CTD articles}} and other categories, named in "categories" parameter. | * Pages that use this template are placed in category {{c|CTD articles}} and other categories, named in "categories" parameter. | ||
* [[Module:CTD|Module CTD]] with some additional functions. | |||
{| class=wikitable | {| class=wikitable | ||
| Line 95: | Line 96: | ||
}}<!-- | }}<!-- | ||
set lifetime; priority for approximate value | set lifetime; priority for approximate value | ||
-->{{#vardefine:lifetime|}}<!-- | -->{{#vardefine:lifetime|}}<!-- set it empty, initialize | ||
-->{{#if: {{{start|}}} | {{#vardefine: | -->{{#if: {{{start|}}} | {{#vardefine:lifetime|{{#time: Y | {{{start|}}}}}-{{#time: Y | {{{end|}}}}} }} |}}<!-- | ||
-->{{#if: {{{approximate duration|}}} | {{#vardefine:lifetime| {{{approximate duration}}} }} |}}<!-- | -->{{#if: {{{approximate duration|}}} | {{#vardefine:lifetime| {{{approximate duration}}} }} |}}<!-- | ||
-->{{#set: Lifetime={{#var:lifetime}} }}<!-- | -->{{#set: Lifetime={{#var:lifetime}} }}<!-- | ||
Glossary HEADER --> | Glossary HEADER --> | ||
{{CTD header}} | {{CTD header}} | ||
| Line 189: | Line 191: | ||
<p style="text-indent: 5px; font-size: 80%;">'''{{tip|DATA|Some important data for semantic requests}}'''</p> | <p style="text-indent: 5px; font-size: 80%;">'''{{tip|DATA|Some important data for semantic requests}}'''</p> | ||
<p style="text-indent: 0px;">To show: <b>{{#var:term to show}}</b>; sortable: <b>{{{term|}}}</b>; short sortable: <b>{{{short name|}}}</b><br> | <p style="text-indent: 0px;">To show: <b>{{#var:term to show}}</b>; sortable: <b>{{{term|}}}</b>; short sortable: <b>{{{short name|}}}</b><br> | ||
Lifetime: <b></b> <br> | Lifetime: <b>{{#var:lifetime}}</b><br> | ||
{{tip|Shortly|Short description used in footnotes and popup information.}}: <b>[[CTD term short description::{{#invoke: CTD |shortly| short_text = {{{short description|}}} | long_text = {{{description|}}}}}]]</b> | {{tip|Shortly|Short description used in footnotes and popup information.}}: <b>[[CTD term short description::{{#invoke: CTD |shortly| short_text = {{{short description|}}} | long_text = {{{description|}}}}}]]</b> | ||
</p> | </p> | ||
Revision as of 23:55, 10 June 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 =
| 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