Template:HPB-SB-header: Difference between revisions
mNo edit summary |
m (links for prev and next pages creating automatically) |
||
Line 12: | Line 12: | ||
| image = | | image = | ||
| notes = | | notes = | ||
}} | }} | ||
</pre> | </pre> | ||
Line 22: | Line 20: | ||
* '''image''' -- page image (file name) | * '''image''' -- page image (file name) | ||
* '''notes''' -- notes to the page {{p|HPB SB page notes}} | * '''notes''' -- notes to the page {{p|HPB SB page notes}} | ||
Links to the previous and next pages are created automatically. Images and text of the inlays should be placed on the page to which they are attached. Their images should be placed in a thumbnail to the right of the text. | |||
|} | |} | ||
Line 77: | Line 75: | ||
навигация по альбому | навигация по альбому | ||
--><div style="float: left; background: #EAECF0; border: 1px solid #A2A9B1; padding: 0 5px 0 5px; margin: 0px 0px 0 5px; {{css|border-radius|5}}"><!-- | --><div style="float: left; background: #EAECF0; border: 1px solid #A2A9B1; padding: 0 5px 0 5px; margin: 0px 0px 0 5px; {{css|border-radius|5}}"><!-- | ||
previous page | |||
-->[[HPB-SB-{{{volume|}}}-{{ | -->{{#if: {{{prev|}}} | ||
| {{#vardefine:prev| {{{prev}}} }} | |||
| {{#vardefine:prev| {{#expr:{{{page|1}}} - 1}} }} | |||
}}[[HPB-SB-{{{volume|}}}-{{#var:prev}}|<<]]<!-- | |||
table of contents | |||
--> [[Blavatsky H.P. Scrapbooks (contents)|☰]] <!-- | --> [[Blavatsky H.P. Scrapbooks (contents)|☰]] <!-- | ||
next page | |||
-->[[HPB-SB-{{{volume|}}}-{{ | -->{{#if: {{{next|}}} | ||
| {{#vardefine:next| {{{next}}} }} | |||
| {{#vardefine:next| {{#expr:{{{page|0}}} + 1}} }} | |||
}}[[HPB-SB-{{{volume|}}}-{{#var:next}}|>>]] | |||
</div><!-- | </div><!-- | ||
Revision as of 03:33, 21 October 2022
This template creates header on pages of «H. P. Blavatsky Scrapbooks».
To copy | Note |
---|---|
{{HPB-SB-header | volume = | page = | image = | notes = }} |
Links to the previous and next pages are created automatically. Images and text of the inlays should be placed on the page to which they are attached. Their images should be placed in a thumbnail to the right of the text. |