Template:Path item: Difference between revisions

From Teopedia
No edit summary
No edit summary
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.  


{| class="wikitable"
{{Style P-No indent|It creates semantic subobject with the following properties:}}
|- valign=top
* {{p|Path item ID}}
! To copy:
* {{p|Path item volume}}
! Comment
* {{p|Path item number}}
|- valign=top
* {{p|Path item month}}
|<pre>
* {{p|Path item year}}
{{ Path item
* {{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 23: Line 39:
}}
}}
</pre>
</pre>
|
 
* '''id''' – unique item number in format: '''volume-page-item''', with leading zeros to fit pattern: 00-000-00
* '''type''' – article, review, maxima, note, etc.
|}
[[Category: Templates]]
[[Category: Templates]]
<!-- Table fields:
[[Category: Templates for periodicals]]
! Place
! Date
! Author
! Signed
! Title, links, comments
 
TODO: Create semantic subobject for external queries and query from Russian section of Teopedia.
-->
</noinclude><includeonly>
</noinclude><includeonly>
|- valign=top
|- valign=top
| v.{{{volume|-}}}, n.{{{number|-}}}, p.{{{page|-}}}
| vol. {{{volume|}}}, no. {{{number|}}}, {{{month|}}}, {{{year|}}}, p. {{{page|}}}
<p style="text-indent: 0; font-size: 80%; color: grey;">ID: {{{id|}}}</p>
<p style="text-indent: 0; line-height: 110%; font-size: 80%; color: grey;">ID: {{{id|}}}</p>
| {{{year|-}}}, {{{month|-}}}
 
| {{#if: {{{author|}}}| {{{author}}}|}}
| {{{title|}}}
| {{#if: {{{author signed|}}}|<span style="color: grey;">{{{author signed}}}</span>|}}
<p style="text-indent: 0; line-height: 110%; font-size: 80%; color: grey;">{{#if: {{{links to text|}}}|Read at: <span class="plainlinks">{{{links to text}}}</span>|}}<!--
| {{{title|-}}} <!--
-->{{#if: {{{in russian|}}}|Russian: <span class="plainlinks">{{{in russian}}}</span>|}}<!--
-->{{#if: {{{links to text|}}}|<br><span class="plainlinks" style="font-size: 80%; color: grey;">Read at: {{{links to text|}}}</span>|}}<!--
-->{{#if: {{{comment|}}}|{{{comment}}}|}}
-->{{#if: {{{in russian|}}}|<br><span class="plainlinks" style="font-size: 80%; color: grey;">Read in: {{{in russian}}}</span>|}}<!--
</p>
-->{{#if: {{{comment|}}}|<br><span style="color: grey;">{{{comment|}}}</span>|}}
 
</includeonly>
| {{{author|}}}
{{#if: {{{author signed|}}}|<p style="text-indent: 0; color: grey;">{{{author signed}}}</p>|}}
<!--
  set SUBOBJECT with semantic properties -->
{{#subobject: Path item {{{id|}}}
| Path item ID    ={{{id|}}}
| Path item volume ={{{volume|}}}
| Path item number ={{{number|}}}
| Path item month  ={{{month|}}}
| Path item year  ={{{year|}}}
| Path item page  ={{{page|}}}
| Path item title  ={{{title|}}}
| Path item author ={{{author|}}}|+sep=;
| 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>

Revision as of 06:25, 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    = 
}}