Template:HPB-SB-volume: Difference between revisions
No edit summary |
m (+HPB SB volume number sortable) |
||
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 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|}}}}} | |||
}}<!-- | }}<!-- | ||
Создаём описание тома из нескольких свойств | Создаём описание тома из нескольких свойств |
Revision as of 03:54, 20 April 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 = }}