Jump to content

Template:Lucifer item: Difference between revisions

Add optional simple layout for Lucifer volume 1; preserve legacy layout
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|}}}