Template:Lucifer item: Difference between revisions

From Teopedia
mNo edit summary
(Add optional simple layout for Lucifer volume 1; preserve legacy layout)
Line 39: 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 is unchanged. In this mode, use language-labelled links in <code>in russian</code>, e.g. <code>Russian</code> or <code>Russian 1</code>, <code>Russian 2</code>.


[[Category: Templates]]
[[Category: Templates]]
Line 47: 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>}}


| <span style="font-variant-caps: small-caps;">{{{title|}}}</span>{{#if: {{{subtitle|}}}|<br> {{{subtitle}}}|}}
| {{#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|}}}

Revision as of 15:24, 23 October 2026

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

It creates semantic subobject with the following properties:

Lists have “;” as separator.

Related templates:

  • {{Lucifer volume}} – a header for one volume, which consists of 12 numbers
  • {{Lucifer number}} – a header for one number, which consists of several items
  • {{Lucifer item}} – one item, which could be an article, review, report, filler and so on; particular type set in type parameter (default = article)

To copy:

{{Lucifer 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 is unchanged. In this mode, use language-labelled links in in russian, e.g. Russian or Russian 1, Russian 2.