Template:HPB-SB-volume: Difference between revisions
m (+HPB SB volume number sortable) |
m (+link to title pages) |
||
Line 69: | Line 69: | ||
}}<!-- | }}<!-- | ||
Создаём описание тома из нескольких свойств | Создаём описание тома из нескольких свойств | ||
-->{{#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|}}}]] |
Revision as of 01:27, 11 September 2024
This template is used in HPB Scrapbooks to create a volume page, and add it to category «HPB SB volume TOC».
Templates used:
- {{HPB-SB-navigation}}
- {{HPB-SB TOC records}}
Properties set:
- [[HPB SB volume number]]
- [[HPB SB volume number sortable]]
- [[HPB SB volume period]]
- [[HPB SB volume title]]
- [[HPB SB volume pages total]]
- [[HPB SB volume title pages]]
- [[HPB SB volume absent pages]]
- [[HPB SB volume pages with inlay]]
- [[HPB SB volume note]]
- [[HPB SB volume description]]
- [[HPB SB volume link]]
Properties used in request:
- [[HPB SB volume]]
- [[HPB SB page item]]
Usage:
{{HPB-SB-volume | volume = | period = | title = | pages = | title pages = | absent pages = | pages with inlay = | notes = }}