Difference between pages "File:SB-02-100.jpg" and "Template:HPB-Caves-header"
(Difference between pages)
Jump to navigation
Jump to search
(Uploaded in batch mode to [[:Category:HPB_Scrapbooks_pages{{!}}HPB Scrapbooks pages]] category.) |
m |
||
Line 1: | Line 1: | ||
− | {{HPB- | + | <noinclude>This template creates header for pages of [[HPB-Caves|«From the Caves and Jungles of Hindustan»]] by H. P. Blavatsky. Semantic property {{p|HPB Caves letter}} is set for those pages that use it. |
+ | |||
+ | |||
+ | '''To copy:''' | ||
+ | <pre> | ||
+ | {{HPB-Caves-header | ||
+ | | letter = | ||
+ | }} | ||
+ | </pre> | ||
+ | |||
+ | '''Example:''' | ||
+ | <pre> | ||
+ | {{HPB-Caves-header | ||
+ | | letter = 23 | ||
+ | }}</pre> | ||
+ | |||
+ | [[Category: Templates]] | ||
+ | </noinclude><includeonly>{{Hide title}} [[Category: Blavatsky H.P. - From the Caves and Jungles of Hindustan]] | ||
+ | __NOFACTBOX__<!-- | ||
+ | |||
+ | SET SEMANTIC PROPERTIES | ||
+ | -->{{#set: HPB Caves letter={{{letter|}}} }}<!-- | ||
+ | |||
+ | DEFINE VARIABLES | ||
+ | |||
+ | track first and last letters | ||
+ | -->{{#switch: {{{letter|}}} | ||
+ | | 1 = {{#vardefine:prev|}} | ||
+ | | 36 = {{#vardefine:next|}} | ||
+ | | #default = {{#vardefine:prev| {{#expr:{{{letter|0}}} - 1}} }} {{#vardefine:next| {{#expr:{{{letter|0}}} + 1}} }} | ||
+ | }}<!-- | ||
+ | |||
+ | PAGE OUTPUT | ||
+ | --><div style="width:100%; min-width: 300px; font-size: 90%; font-family: 'Droid Sans', sans-serif; display: block;"> | ||
+ | <div style="float:right; font-size: 90%;">[[Template:HPB-Caves-header|T]]</div> | ||
+ | <div style=" width:100%; background: #EAECF0; border: 1px solid #A2A9B1; padding: 5px 5px 10px 5px; {{css|border-radius|5}}"> | ||
+ | {{Style P-Book|From the Caves and Jungles of Hindustan}} | ||
+ | {{Style P-Author|by H. P. Blavatsky}} | ||
+ | {{Style P-Subtitle|Letter {{{letter|}}} }} | ||
+ | |||
+ | <!-- navigation bar on book --> | ||
+ | <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 chapter | ||
+ | -->[[HPB-Caves-{{#var:prev}}|<<]]<!-- | ||
+ | table of contents | ||
+ | --> [[Blavatsky H.P. - From the Caves and Jungles of Hindustan (contents)|☰]] <!-- | ||
+ | next chapter | ||
+ | -->[[HPB-Caves-{{#var:next}}|>>]] | ||
+ | </div><!-- | ||
+ | |||
+ | navigation bar on languages | ||
+ | --><div style="float: right; background: #EAECF0; border: 1px solid #A2A9B1; padding: 0 5px 0 5px; margin: 0px 5px 0 0px; {{css|border-radius|5}}"><!-- | ||
+ | page in English | ||
+ | --><span title="Eglinsh">[[HPB-Caves-{{{letter|}}}|eng]]</span> • <!-- | ||
+ | page in Russian | ||
+ | --><span title="Russian">[[:t-ru-lib:Блаватская Е.П. - Письма из пещер и дебрей Индостана, гл.{{{letter|}}}|рус]]</span> | ||
+ | </div> | ||
+ | </div> | ||
+ | </includeonly> |
Revision as of 18:08, 8 June 2021
This template creates header for pages of «From the Caves and Jungles of Hindustan» by H. P. Blavatsky. Semantic property [[HPB Caves letter]] is set for those pages that use it.
To copy:
{{HPB-Caves-header | letter = }}
Example:
{{HPB-Caves-header | letter = 23 }}
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 10:26, 28 May 2021 | 3,537 × 2,842 (4.1 MB) | Pavel Malakhov (addition | contribs) | Uploaded in batch mode to [[:Category:HPB_Scrapbooks_pages{{!}}HPB Scrapbooks pages]] category. |
You cannot overwrite this file.
File usage
The following page uses this file: