Difference between revisions of "Template:HPB-SB TOC records all volumes"
Jump to navigation
Jump to search
(Created page with "<pre>{{#explode:string|delimiter|position|limit}}</pre> * Vol : {{#explode:HPB-SB-2-16|-|2}} * Page: {{#explode:HPB-SB-2-16|-|3}} * Link: {{#explode:HPB SB 2 16| |1|3}} <noin...") |
|||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
<noinclude>This template is used to create a table of contents (TOC) for [[HPB-SB|H.P.Blavatsky's Scrapbook]]. | <noinclude>This template is used to create a table of contents (TOC) for [[HPB-SB|H.P.Blavatsky's Scrapbook]]. | ||
* {{t|HPB-SB TOC header}} | * {{t|HPB-SB TOC header}} | ||
Line 13: | Line 8: | ||
</noinclude><includeonly>{{#vardefine:volume| {{#explode:{{{wiki page|}}}|-|2}} }} | </noinclude><includeonly>{{#vardefine:volume| {{#explode:{{{wiki page|}}}|-|2}} }} | ||
|- valign=top | |- valign=top | ||
− | | [[{{{wiki page|}}}| | + | | {{#var:volume}} |
+ | | [[{{{wiki page|}}}|{{{page|}}}]]{{#if: {{{continues|}}}|, {{#arraymap:{{{continues|}}}|,|@@|[[HPB-SB-{{#var:volume}}-@@|@@]]}} |}} | ||
| <!-- an item could be untitled in two ways: (1) parameter 'untitled' set to 'yes'; (2) parameter 'title' is empty. In first case parameter 'title' holds a few first words from text. | | <!-- an item could be untitled in two ways: (1) parameter 'untitled' set to 'yes'; (2) parameter 'title' is empty. In first case parameter 'title' holds a few first words from text. | ||
-->{{#if: {{{title|}}}| {{#vardefine:title|{{{title|}}}}} | {{#vardefine:title|<untitled>}} }}{{#switch: {{{status|}}} | -->{{#if: {{{title|}}}| {{#vardefine:title|{{{title|}}}}} | {{#vardefine:title|<untitled>}} }}{{#switch: {{{status|}}} |
Revision as of 11:22, 31 May 2021
This template is used to create a table of contents (TOC) for H.P.Blavatsky's Scrapbook.
- {{HPB-SB TOC header}}
- {{HPB-SB TOC records}} or {{HPB-SB TOC records all volumes}}
- {{HPB-SB table ending}}