Template:Path item: Difference between revisions

From Teopedia
mNo edit summary
mNo edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>This template creates one record for the [[Path, The/TOC|table of contents of ''The Path'']] magazine.
<noinclude>This template creates a line in table of contents for ''[[Path, The|The Path]]'' magazine.  


To copy:
{{Style P-No indent|It creates semantic subobject with the following properties:}}
<pre>
* {{p|Path item ID}}
{{ Path item
* {{p|Path item volume}}
* {{p|Path item number}}
* {{p|Path item month}}
* {{p|Path item year}}
* {{p|Path item page}}
* {{p|Path item title}}
* {{p|Path item author}} -- list
* {{p|Path item author signed}} -- list
* {{p|Path item comment}}
* {{p|Path item type}}
* {{p|Path item links to text}} -- list
* {{p|Path item in Russian}} -- list
Lists have “;” as separator.
 
{{Style P-No indent|'''Related templates:'''}}
* {{t|Path volume}} – a header for one volume, which consists of 12 numbers
* {{t|Path number}} – a header for one number, which consists of several items
* {{t|Path item}} – one item, which could be an article, review, report, and so on
 
{{Style P-No indent|'''To copy:'''}}
<pre>{{Path item
  | id            =  
  | id            =  
| year          =
  | volume        =  
  | volume        =  
  | number        =  
  | number        =  
  | month        =  
  | month        =  
| year          =
  | page          =  
  | page          =  
  | title        =  
  | title        =  
Line 14: Line 34:
  | author signed =  
  | author signed =  
  | comment      =  
  | comment      =  
| type          =
  | links to text =  
  | links to text =  
  | in russian    =  
  | in russian    =  
}}
}}
</pre>
</pre>
[[Category: Templates]]
[[Category: Templates]]
<!-- Table fields:
[[Category: Templates for periodicals]]
! Place
</noinclude><includeonly>
! Date
|- valign=top
! Author
| vol. {{{volume|}}}, no. {{{number|}}}, {{{month|}}}, {{{year|}}}, p. {{{page|}}}
! Title, links, comments
<p style="text-indent: 0; line-height: 110%; font-size: 80%; color: grey;">ID: {{{id|}}}</p>


id = volume-page-item (there could be several items on page)
| {{{title|}}}
id = 01-025-01
<p style="text-indent: 0; line-height: 110%; font-size: 80%; color: grey;">{{#if: {{{type|}}}|({{{type}}}) <br>|}}<!--
-->{{#if: {{{links to text|}}}|Read at: <span class="plainlinks">{{{links to text}}}</span>|}}<!--
-->{{#if: {{{in russian|}}}|Russian: <span class="plainlinks">{{{in russian}}}</span>|}}<!--
-->{{#if: {{{comment|}}}|<br>{{{comment}}}|}}
</p>


TODO: Create semantic subobject for external queries and query from Russian section of Teopedia.
| {{{author|}}}
line-height: 110%;
{{#if: {{{author signed|}}}|<p style="text-indent: 0; color: grey;">{{{author signed}}}</p>|}}
-->
<!-- 
</noinclude><includeonly>
  set SUBOBJECT with semantic properties -->
|- valign=top
{{#subobject: Path item {{{id|}}}
| v.{{{volume|-}}}, n.{{{number|-}}}, p.{{{page|-}}}
| Path item ID    ={{{id|}}}
| {{{year|-}}}, {{{month|-}}}
| Path item volume ={{{volume|}}}
| {{#if: {{{author|}}}| {{{author}}}|}}
| Path item number ={{{number|}}}
{{#if: {{{author signed|}}}|<p style="text-indent: 0; font-size: 80%; color: grey;">{{{author signed}}}</p>|}}
| Path item month  ={{{month|}}}
| {{{title|-}}} <!--
| Path item year  ={{{year|}}}
-->{{#if: {{{links to text|}}}|<p style="text-indent: 0; font-size: 80%; color: grey;">Read at: <span class="plainlinks">{{{links to text|}}}</span></p>|}}<!--
| Path item page  ={{{page|}}}
-->{{#if: {{{in russian|}}}|<p style="text-indent: 0; font-size: 80%; color: grey;">Read in: <span class="plainlinks">{{{in russian}}}</span></p>|}}<!--
| Path item title  ={{{title|}}}
-->{{#if: {{{comment|}}}|<p style="text-indent: 0; font-size: 100%; color: grey;">{{{comment|}}}</p>|}}
| Path item author ={{{author|}}}|+sep=;
</includeonly>
| Path item author signed ={{{author signed|}}}|+sep=;
| Path item comment={{{comment|}}}
| Path item type  ={{{type|}}}
| Path item links to text ={{{links to text|}}}|+sep=;
| Path item in Russian    ={{{in russian|}}}|+sep=;
}}</includeonly>

Latest revision as of 07:35, 14 November 2024

This template creates a line in table of contents for The Path magazine.

It creates semantic subobject with the following properties:

Lists have “;” as separator.

Related templates:

  • {{Path volume}} – a header for one volume, which consists of 12 numbers
  • {{Path number}} – a header for one number, which consists of several items
  • {{Path item}} – one item, which could be an article, review, report, and so on

To copy:

{{Path item
 | id            = 
 | volume        = 
 | number        = 
 | month         = 
 | year          = 
 | page          = 
 | title         = 
 | author        = 
 | author signed = 
 | comment       = 
 | type          = 
 | links to text = 
 | in russian    = 
}}