Template:Path volume: Difference between revisions

From Teopedia
m (Добавлена ссылка «authors» в общую шапку журнала и постоянная ссылка «Electronic edition» в шапку тома (Path/VolN/Text), по аналогии с Template:Lucifer volume)
m (В углу добавлены ссылки V/N/i на шаблоны; под названием журнала -- строка contents • electronic edition • authors (вместо authors в списке томов); добавлен параметр mode=text для страницы электронной редакции)
Line 2: Line 2:


<pre>{{Path volume|}}</pre>
<pre>{{Path volume|}}</pre>
Pass <code>mode=text</code> together with the volume number to show the common header and the contents / electronic edition / authors line without repeating the per-volume navigation row (volume title, date range, month anchors, PDF) -- used at the top of the volume's electronic edition page, e.g. <code>{{Path volume|1|mode=text}}</code>.


{{Style P-No indent|'''Related templates:'''}}
{{Style P-No indent|'''Related templates:'''}}
Line 12: Line 14:
</noinclude><includeonly>
</noinclude><includeonly>
<div style="width:100%; min-width: 300px; font-size: 100%; font-family: 'Droid Sans', sans-serif; display: block;">
<div style="width:100%; min-width: 300px; font-size: 100%; font-family: 'Droid Sans', sans-serif; display: block;">
<div style="float:right; font-size: 90%;">[[Template:Path volume|T]]</div>
<div style="float:right; font-size: 90%;">[[Template:Path volume|V]] [[Template:Path number|N]] [[Template:Path item|i]]</div>
<div style=" width:100%; background: #EAECF0; border: 1px solid #A2A9B1; padding: 5px 5px 10px 5px; {{css|border-radius|5}}">
<div style=" width:100%; background: #EAECF0; border: 1px solid #A2A9B1; padding: 5px 5px 10px 5px; {{css|border-radius|5}}">
{{Style P-Book|[[Path, The|The Path]]}}
{{Style P-Book|[[Path, The|The Path]]}}
{{#if: {{{1|}}}
| <p style="text-indent: 0; text-align: center;">[[Path/Vol{{{1}}}|contents]] • [[Path/Vol{{{1}}}/Text|electronic edition]] • [[Path/Authors|authors]]</p>
|
}}
<p style="text-indent: 0; text-align: center;">
<p style="text-indent: 0; text-align: center;">
{{#loop: volume
{{#loop: volume
Line 20: Line 26:
  | 10
  | 10
  | [[Path/Vol{{#var: volume }}|{{#var: volume }}]]&#32;
  | [[Path/Vol{{#var: volume }}|{{#var: volume }}]]&#32;
}} • [[Path/Authors|authors]] </p>
}} </p>
</div></div>
</div></div>
{{#if: {{{1|}}}
{{#if: {{{1|}}}
  | {{Style P-Title level|1|Volume {{{1|0}}}}}
  | {{#ifeq: {{{mode|}}}|text||{{Style P-Title level|1|Volume {{{1|0}}}}}
<center>''April {{#expr: 1885 + {{{1|0}}} }} – March {{#expr: 1886 + {{{1|0}}} }}''</center>
<center>''April {{#expr: 1885 + {{{1|0}}} }} – March {{#expr: 1886 + {{{1|0}}} }}''</center>
<center>[[#n1|Apr]] [[#n2|May]] [[#n3|Jun]] [[#n4|Jul]] [[#n5|Aug]] [[#n6|Sep]] [[#n7|Oct]] [[#n8|Nov]] [[#n9|Dec]] [[#n10|Jan]] [[#n11|Feb]] [[#n12|Mar]] • <small>[[:File:path_v{{padleft: {{{1|-}}}|2|0}}_apr_{{#expr: 1885 + {{{1|0}}} }}_-_mar_{{#expr: 1886 + {{{1|0}}} }}.pdf|PDF]]</small> • [[Path/Vol{{{1|0}}}/Text|Electronic edition]]</center>
<center>[[#n1|Apr]] [[#n2|May]] [[#n3|Jun]] [[#n4|Jul]] [[#n5|Aug]] [[#n6|Sep]] [[#n7|Oct]] [[#n8|Nov]] [[#n9|Dec]] [[#n10|Jan]] [[#n11|Feb]] [[#n12|Mar]] • <small>[[:File:path_v{{padleft: {{{1|-}}}|2|0}}_apr_{{#expr: 1885 + {{{1|0}}} }}_-_mar_{{#expr: 1886 + {{{1|0}}} }}.pdf|PDF]]</small> • [[Path/Vol{{{1|0}}}/Text|Electronic edition]]</center>}}
  |
  |
}}
}}

Revision as of 08:15, 10 November 2026

This template creates volume header for The Path magazine.

{{Path volume|}}

Pass mode=text together with the volume number to show the common header and the contents / electronic edition / authors line without repeating the per-volume navigation row (volume title, date range, month anchors, PDF) -- used at the top of the volume's electronic edition page, e.g.

.

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