Template:CTD article: Difference between revisions
(Add Short name for categories: compact short name (no comma, no spaces in initials) for author category names) |
m (Move 'mentioned in' into a collapsible 'Mentions' block before DATA (parity with CTD literature / Литература БТС)) |
||
| Line 178: | Line 178: | ||
{{#if: {{{mentioned in|}}} | {{#if: {{{mentioned in|}}} | ||
|{{#set: CTD mentioned in={{{mentioned in|}}}|+sep=;}} | |{{#set: CTD mentioned in={{{mentioned in|}}}|+sep=;}} | ||
|}} | |}} | ||
| Line 207: | Line 205: | ||
-->{{#if: {{{other resources|}}}|<li>Other resources: {{#arraymap:{{{other resources|}}}|;|@@|@@}}</li>|}} | -->{{#if: {{{other resources|}}}|<li>Other resources: {{#arraymap:{{{other resources|}}}|;|@@|@@}}</li>|}} | ||
</ul>|}} | </ul>|}} | ||
<!-- | |||
MENTIONS: collapsible block, collapsed by default; shown only if filled. | |||
Placed before the DATA block. | |||
-->{{#if: {{{mentioned in|}}} | |||
| <table class="mw-collapsible mw-collapsed" style="background:#f8f9fa;border:1px solid grey;width:100%;margin-top:1em;"> | |||
<tr><td style="font-weight:bold;padding:3px 5px;">Mentions</td></tr> | |||
<tr><td style="padding:0 8px 8px 8px;"> | |||
<p style="font-weight: bold; text-indent: 0; margin-top: 1em;">Mentioned in:</p> | |||
<ul>{{#arraymap:{{{mentioned in|}}}|;|@@|<li>@@</li>|}}</ul> | |||
</td></tr> | |||
</table> | |||
}} | |||
<!-- Some important data for semantic requests --> | <!-- Some important data for semantic requests --> | ||
Revision as of 03:40, 27 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