Template:CTD periodical: Difference between revisions

m
+subtitle
mNo edit summary
m (+subtitle)
 
(5 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 foot notes, optional; if empty, set to first 100 chars from ''description''; {{p|CTD term short description}}
* '''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>{{#set: Lifetime={{{approximate lifetime}}}}}
  | <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> {{#set: Lifetime={{#time: Y | {{{first issue|}}}}}-{{#time: Y | {{{last issue|}}}}} }}
  | <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|}}}
  | {{#var:title to show}} {{#set: CTD term to show={{#var:title to show}}}}
  | [[CTD term to show::{{{title to show|}}}]]
  | {{{title|}}} {{#set: CTD term to show={{{title|}}}}}
  | [[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: {{{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>
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%;">'''TERM DATA'''</p>
<p style="text-indent: 5px; font-size: 80%;">'''DATA'''</p>
<p style="text-indent: 5px;">To show: <b>{{#var:title to show}}</b>; Full sortable: <b>{{{title|}}}</b></p>
<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>