Jump to content

Template:CTD periodical: Difference between revisions

no edit summary
mNo edit summary
No edit summary
Line 50: Line 50:
* '''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 86: Line 86:
<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 97:
   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|}}}
  | {{{title to show|}}} {{#set: CTD term to show={{{title to show|}}}}}
  | [[CTD term to show::{{{title to show|}}}]]
  | {{{title|}}} {{#set: CTD term to show={{{title|}}}}}
  | [[CTD term to show::{{{title|}}}]]
}}</div><!--
}}</div><!--


Line 114: Line 114:
|}}<!--
|}}<!--
   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>