Template:HPB-SB-volume: Difference between revisions

From Teopedia
No edit summary
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 8: Line 8:
Properties set:
Properties set:
* {{p|HPB SB volume number}}
* {{p|HPB SB volume number}}
* {{p|HPB SB volume number sortable}}
* {{p|HPB SB volume period}}
* {{p|HPB SB volume period}}
* {{p|HPB SB volume title}}
* {{p|HPB SB volume title}}
Line 39: Line 40:


[[Category: Templates for HPB SB]]
[[Category: Templates for HPB SB]]
[[t-ru-lib:ЕПБ-ЛА-том]]
[[t-ru-lib:Шаблон:ЕПБ-Альбомы. Том]]
</noinclude><includeonly>{{HPB-SB-navigation}} [[t-ru-lib:ЕПБ-ЛА-{{{volume|}}}]] [[Category: HPB SB volume TOC]]
</noinclude><includeonly>{{HPB-SB-navigation}} [[t-ru-lib:ЕПБ-Альбомы-{{{volume|}}}]] [[Category: HPB SB volume TOC]]
{{Style P-Title|Volume {{{volume|}}}}}
{{Style P-Title|Volume {{{volume|}}}}}
<center>'''({{{period|}}})'''</center>
<center>'''({{{period|}}})'''</center>
Line 61: Line 62:
  | HPB SB volume pages with inlay = {{{pages with inlay|}}}
  | HPB SB volume pages with inlay = {{{pages with inlay|}}}
  | HPB SB volume link            = [[HPB-SB-{{{volume|}}}|{{{volume|}}}]]
  | HPB SB volume link            = [[HPB-SB-{{{volume|}}}|{{{volume|}}}]]
}}<!--
  set volume number in 2 digits format for sorting
-->{{#ifexpr: {{{volume|}}} < 10
| {{#set: HPB SB volume number sortable = 0{{{volume|}}}}}
| {{#set: HPB SB volume number sortable = {{{volume|}}}}}
}}<!--
}}<!--
   Создаём описание тома из нескольких свойств
   Создаём описание тома из нескольких свойств
-->{{#set: HPB SB volume description = {{{notes|}}} {{#if: {{{title pages|}}}| Title pages: {{{title pages}}}.|}} {{#if: {{{absent pages|}}}| Absent pages: {{#arraymap:{{{absent pages|}}}|,|@@|[[HPB-SB-{{{volume|}}}-@@|@@]]}}. |}} {{#if: {{{pages with inlay|}}}| Pages with inlay: {{#arraymap:{{{pages with inlay|}}}|,|@@|[[HPB-SB-{{{volume|}}}-@@|@@]]}}. |}} }}<!--
-->{{#set: HPB SB volume description = {{{notes|}}} {{#if: {{{title pages|}}}| Title pages: {{#arraymap:{{{title pages|}}}|,|@@|[[HPB-SB-{{{volume|}}}-@@|@@]]}}. |}} {{#if: {{{absent pages|}}}| Absent pages: {{#arraymap:{{{absent pages|}}}|,|@@|[[HPB-SB-{{{volume|}}}-@@|@@]]}}. |}} {{#if: {{{pages with inlay|}}}| Pages with inlay: {{#arraymap:{{{pages with inlay|}}}|,|@@|[[HPB-SB-{{{volume|}}}-@@|@@]]}}. |}} }}<!--
   создаём и показываем оглавление
   создаём и показываем оглавление
-->{{#ask: [[HPB SB page item::+]] [[HPB SB volume::{{{volume|}}}]]
-->{{#ask: [[HPB SB page item::+]] [[HPB SB volume::{{{volume|}}}]]

Latest revision as of 14:53, 1 October 2024

This template is used in HPB Scrapbooks to create a volume page, and add it to category «HPB SB volume TOC».

Templates used:


Properties set:


Properties used in request:


Usage:

{{HPB-SB-volume
 | volume = 
 | period = 
 | title = 
 | pages = 
 | title pages = 
 | absent pages = 
 | pages with inlay = 
 | notes = 
}}