Template:HPB-SB-volume: Difference between revisions

From Teopedia
mNo edit summary
mNo edit summary
Line 21: Line 21:


Properties used in request:
Properties used in request:
* {{p|HPB SB volume}}
* {{p|HPB SB item ID}}
* {{p|HPB SB page item}}
* {{p|HPB SB page item}}


Line 71: Line 71:
-->{{#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|}}}-@@|@@]]}}. |}} }}<!--
-->{{#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 item ID::~{{padleft:{{{volume|}}}|2|0}}-*]]
  |?HPB SB item ID      = ID
  |?HPB SB item ID      = ID
  |?HPB SB volume page  = page
  |?HPB SB volume page  = page

Revision as of 23:24, 31 July 2026

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 = 
}}