Template:Path item: Difference between revisions

From Teopedia
mNo edit summary
m (Add subtitle and format parameters, matching Lucifer item)
 
Line 9: Line 9:
* {{p|Path item page}}
* {{p|Path item page}}
* {{p|Path item title}}
* {{p|Path item title}}
* {{p|Path item subtitle}}
* {{p|Path item author}} -- list  
* {{p|Path item author}} -- list  
* {{p|Path item author signed}} -- list  
* {{p|Path item author signed}} -- list  
Line 31: Line 32:
  | page          =  
  | page          =  
  | title        =  
  | title        =  
| subtitle      =
  | author        =  
  | author        =  
  | author signed =  
  | author signed =  
Line 37: Line 39:
  | links to text =  
  | links to text =  
  | in russian    =  
  | in russian    =  
| format        =
}}
}}
</pre>
</pre>
Set <code>format = simple</code> for the compact table-of-contents layout (plain title, hidden ID and type). This is optional; the default layout now shows the title in small caps.


[[Category: Templates]]
[[Category: Templates]]
Line 45: Line 49:
|- valign=top
|- valign=top
| vol. {{{volume|}}}, no. {{{number|}}}, {{{month|}}}, {{{year|}}}, p. {{{page|}}}
| vol. {{{volume|}}}, no. {{{number|}}}, {{{month|}}}, {{{year|}}}, p. {{{page|}}}
<p style="text-indent: 0; line-height: 110%; font-size: 80%; color: grey;">ID: {{{id|}}}</p>
{{#ifeq: {{{format|}}}|simple||<p style="text-indent: 0; line-height: 110%; font-size: 80%; color: grey;">ID: {{{id|}}}</p>}}


| {{{title|}}}
| {{#ifeq: {{{format|}}}|simple|{{{title|}}}|<span style="font-variant-caps: small-caps;">{{{title|}}}</span>}}{{#if: {{{subtitle|}}}|<br> {{{subtitle}}}|}}
<p style="text-indent: 0; line-height: 110%; font-size: 80%; color: grey;">{{#if: {{{type|}}}|({{{type}}}) <br>|}}<!--
{{#ifeq: {{{format|}}}|simple|<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>&#32;|}}<!--
-->{{#if: {{{in russian|}}}|Translations: <span class="plainlinks">{{{in russian}}}</span>.&#32;|}}<!--
-->{{#if: {{{comment|}}}|{{{comment}}}|}}</p>
|<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: {{{links to text|}}}|Read at: <span class="plainlinks">{{{links to text}}}</span>|}}<!--
-->{{#if: {{{in russian|}}}|Russian: <span class="plainlinks">{{{in russian}}}</span>|}}<!--
-->{{#if: {{{in russian|}}}|Russian: <span class="plainlinks">{{{in russian}}}</span>|}}<!--
-->{{#if: {{{comment|}}}|<br>{{{comment}}}|}}
-->{{#if: {{{comment|}}}|<br>{{{comment}}}|}}
</p>
</p>
}}


| {{{author|}}}
| {{{author|}}}
Line 66: Line 74:
  | Path item page  ={{{page|}}}
  | Path item page  ={{{page|}}}
  | Path item title  ={{{title|}}}
  | Path item title  ={{{title|}}}
| Path item subtitle  ={{{subtitle|}}}
  | Path item author ={{{author|}}}|+sep=;
  | Path item author ={{{author|}}}|+sep=;
  | Path item author signed ={{{author signed|}}}|+sep=;
  | Path item author signed ={{{author signed|}}}|+sep=;

Latest revision as of 04:15, 31 October 2026

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         = 
 | subtitle      = 
 | author        = 
 | author signed = 
 | comment       = 
 | type          = 
 | links to text = 
 | in russian    = 
 | format        = 
}}

Set format = simple for the compact table-of-contents layout (plain title, hidden ID and type). This is optional; the default layout now shows the title in small caps.