Difference between revisions of "Template:CTD periodical"
Jump to navigation
Jump to search
m |
m (+subtitle) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 13: | Line 13: | ||
| title = | | title = | ||
| title to show = | | title to show = | ||
− | | origin = | + | | subtitle = |
− | | variations = | + | | origin = |
− | | description = | + | | variations = |
− | | short description = | + | | description = |
+ | | short description = | ||
| image = | | image = | ||
| image description = | | image description = | ||
− | | categories = | + | | categories = |
− | | related terms = | + | | related terms = |
| first issue = | | first issue = | ||
| last issue = | | last issue = | ||
Line 34: | Line 35: | ||
* '''title''' -- full title in sortable form, i.e. article is after the main part, for example: ''Daily Graphic, The''; {{p|CTD term sortable}}, {{p|CTD term}} | * '''title''' -- full title in sortable form, i.e. article is after the main part, for example: ''Daily Graphic, The''; {{p|CTD term sortable}}, {{p|CTD term}} | ||
* '''title to show''' -- full title in regular order, for example: ''The Daily Graphic''; {{p|CTD term to show}}, {{p|CTD term}} | * '''title to show''' -- full title in regular order, for example: ''The Daily Graphic''; {{p|CTD term to show}}, {{p|CTD term}} | ||
+ | * '''subtitle''' -- subtitle, moto or short description if it placed along the title, for example ''Religio-Philosophical Journal'' has the following along its title: "Harmonial Philosophy. The Arts and Sciences, Literature. Romance and General Reform. Devoted to Spiritual Philosophy"; {{p|CTD subtitle}} | ||
* '''origin''' -- city and country of origin, spelling in original language; {{p|CTD term origin}} | * '''origin''' -- city and country of origin, spelling in original language; {{p|CTD term origin}} | ||
* '''variations''' -- different spellings (list separated by ";"); {{p|CTD term variations}}, {{p|CTD term}} | * '''variations''' -- different spellings (list separated by ";"); {{p|CTD term variations}}, {{p|CTD term}} | ||
Line 39: | Line 41: | ||
''Description, relationship:'' | ''Description, relationship:'' | ||
* '''description''' -- description of a periodical, its history, editorial and so on; {{p|CTD term description}} | * '''description''' -- description of a periodical, its history, editorial and so on; {{p|CTD term description}} | ||
− | * '''short description''' -- short version for | + | * '''short description''' -- short version for footnotes, optional; if empty, set to first 100 chars from ''description''; {{p|CTD term short description}} |
* '''image''' -- title page or logo; filename of an image; {{p|CTD term image}} | * '''image''' -- title page or logo; filename of an image; {{p|CTD term image}} | ||
* '''image description''' -- some words about the image, optional; {{p|CTD term image}} | * '''image description''' -- some words about the image, optional; {{p|CTD term image}} | ||
Line 50: | Line 52: | ||
* '''last issue''' -- the exact date; {{p|Date of disappearance}} | * '''last issue''' -- the exact date; {{p|Date of disappearance}} | ||
* '''approximate lifetime''' -- set this '''only''' if the exact dates above is unknown, f.e.: ''1875-1881'' | * '''approximate lifetime''' -- set this '''only''' if the exact dates above is unknown, f.e.: ''1875-1881'' | ||
− | Semantic property {{p|Lifetime}} is set if at least one of the above is not empty. | + | {{Style P-No indent|Semantic property {{p|Lifetime}} is set if at least one of the above is not empty.}} |
Line 61: | Line 63: | ||
* '''tsw en''' -- article in English section of [[:tsw-en:|Theosophy.wiki]] | * '''tsw en''' -- article in English section of [[:tsw-en:|Theosophy.wiki]] | ||
* '''wikipedia''' -- article in [[:wp:|Wikipedia]] | * '''wikipedia''' -- article in [[:wp:|Wikipedia]] | ||
− | * '''other resources''' -- any other Internet resources in format: [URL1 text1]; [URL2 text2] | + | * '''other resources''' -- any other Internet resources (where one can download or read this periodical) in format: [URL1 text1]; [URL2 text2] |
|} | |} | ||
Line 86: | Line 88: | ||
<div style="text-align: center;">{{{title to show|}}}</div> | <div style="text-align: center;">{{{title to show|}}}</div> | ||
{{#if: {{{approximate lifetime|}}} | {{#if: {{{approximate lifetime|}}} | ||
− | | <div style="text-align: center; >{{{approximate lifetime}}}</div> | + | | <div style="text-align: center; >{{{approximate lifetime}}}</div> |
|}}<!-- | |}}<!-- | ||
-->{{#if: {{{first issue|}}} | -->{{#if: {{{first issue|}}} | ||
− | | <div style="text-align: center; >{{#time: Y | {{{first issue|}}}}}-{{#time: Y | {{{last issue|}}}}}</div> | + | | <div style="text-align: center; >{{#time: Y | {{{first issue|}}}}}-{{#time: Y | {{{last issue|}}}}}</div> |
|}}<!-- | |}}<!-- | ||
-->{{#if: {{{image description|}}}| <center>{{{image description}}}</center>|}} | -->{{#if: {{{image description|}}}| <center>{{{image description}}}</center>|}} | ||
Line 97: | Line 99: | ||
Article section --> | Article section --> | ||
<div style="font-variant: small-caps; font-weight: bold; font-size: 120%;">{{#if: {{{title to show|}}} | <div style="font-variant: small-caps; font-weight: bold; font-size: 120%;">{{#if: {{{title to show|}}} | ||
− | | | + | | [[CTD term to show::{{{title to show|}}}]] |
− | | | + | | [[CTD term to show::{{{title|}}}]] |
}}</div><!-- | }}</div><!-- | ||
− | + | add subtitle if exist | |
+ | -->{{#if: {{{subtitle|}}} | <div style="font-variant: small-caps; font-size: 90%;">{{{subtitle|}}}</div> |}}<!-- | ||
set variable {{#var:variants}}, with all the variations | set variable {{#var:variants}}, with all the variations | ||
-->{{#if: {{{variations|}}} | -->{{#if: {{{variations|}}} | ||
Line 114: | Line 117: | ||
|}}<!-- | |}}<!-- | ||
duration and lifetime | duration and lifetime | ||
− | -->{{#if: {{{first issue|}}} | {{Style P-No indent|({{#time:j xg Y|{{{first issue}}}}} − {{#time:j xg Y|{{{last issue}}}}})}} {{#set: Date of appearance={{{first issue|}}} | Date of disappearance={{{last issue|}}}}} |}}<!-- | + | -->{{#if: {{{first issue|}}} | {{Style P-No indent|({{#time:j xg Y|{{{first issue}}}}} − {{#time:j xg Y|{{{last issue}}}}})}} {{#set: Date of appearance={{{first issue|}}} | Date of disappearance={{{last issue|}}} | Lifetime={{#time: Y | {{{first issue|}}}}}-{{#time: Y | {{{last issue|}}}}} }} |}}<!-- |
− | -->{{#if: {{{approximate lifetime|}}}| {{Style P-No indent|({{{approximate lifetime}}})}} |}} | + | -->{{#if: {{{approximate lifetime|}}}| {{Style P-No indent|([[Lifetime::{{{approximate lifetime}}}]])}} |}} |
</div> | </div> | ||
<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: {{{related terms|}}}| <hr> | {{#if: {{{related terms|}}}| <hr> | ||
Line 146: | Line 145: | ||
<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; font-size: 80%;">''' | + | <p style="text-indent: 5px; font-size: 80%;">'''DATA'''</p> |
− | <p style="text-indent: 5px;">To show: <b>{{ | + | <p style="text-indent: 5px;">To show: <b>{{{title to show|}}}</b>; sortable: <b>{{{title|}}}</b></p> |
+ | <p style="text-indent: 5px;">{{tip|Short description|for popup hints and footnotes}}: <b>{{#if: {{{short description|}}} | ||
+ | | [[CTD term short description::{{{short description}}}]] | ||
+ | | [[CTD term short description::{{#sub:{{{description|}}}|0|100}}{{#ifexpr: {{#len:{{{description|}}}}} > 100 |...}}]] | ||
+ | }}</b></p> | ||
</div> | </div> | ||
{{#arraymap:{{{categories|}}}|;|@@| [[Category:@@]] | }} | {{#arraymap:{{{categories|}}}|;|@@| [[Category:@@]] | }} | ||
[[Category: CTD periodicals]] | [[Category: CTD periodicals]] | ||
− | [[Category: CTD-{{#sub:{{{title|}}}|0|1}}]] | + | <!-- do not mix with other terms |
+ | [[Category: CTD-{{#sub:{{{title|}}}|0|1}}]] --> | ||
</includeonly> | </includeonly> |
Latest revision as of 07:19, 11 July 2023
This template is used by form «CTD periodical» to create or edit an article of Comprehensive Theosophical Dictionary on periodical.
- To create a new article use form «CTD periodical».
- Pages that use this template are placed in category «CTD periodicals» and other categories, named in "categories" parameter.
To copy | Description |
---|---|
{{CTD periodical | title = | title to show = | subtitle = | origin = | variations = | description = | short description = | image = | image description = | categories = | related terms = | first issue = | last issue = | approximate lifetime = | library pages = | ctd rus = | tsw en = | wikipedia = | other resources = }} |
Title:
Description, relationship:
Semantic property [[Lifetime]] is set if at least one of the above is not empty.
|
See also
- Периодика БТС -- corresponding template in Russian section