Difference between revisions of "Template:HPB-SB-header"

From Teopedia library
Jump to navigation Jump to search
(+Lost)
m
 
(22 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>This template creates header on pages of [[Blavatsky H.P. Scrapbooks (contents)|«H.P.Blavatsky Scrapbooks»]].  
+
<noinclude>This template creates header on pages of [[Blavatsky H.P. Scrapbooks (contents)|«H. P. Blavatsky Scrapbooks»]].  
  
 
{| class=wikitable
 
{| class=wikitable
Line 12: Line 12:
 
  | image =  
 
  | image =  
 
  | notes =  
 
  | notes =  
| prev =
 
| next =
 
 
}}
 
}}
 
</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}}
* '''prev''' -- previous page; just page number, the full page name will be created automatically in format: HPB-SB-1-5, where '''1''' - volume number, and '''5''' - page number in the volume
+
 
* '''next''' -- next page
+
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.
 
|}
 
|}
  
[[Category: Templates for HPB Scrapbooks]]
+
[[Category: Templates for HPB SB]]
</noinclude><includeonly>{{Hide title}}
+
[[t-ru-lib:Шаблон:ЕПБ-ЛА шапка]]
 +
</noinclude><includeonly>{{Hide title}} [[Category: HPB Scrapbooks pages]]
 
__NOFACTBOX__<!--
 
__NOFACTBOX__<!--
  
Line 40: Line 39:
 
  | 2 = {{#vardefine:volume|'''vol.&nbsp;2'''&nbsp;(January 1874 - April 1878)}}
 
  | 2 = {{#vardefine:volume|'''vol.&nbsp;2'''&nbsp;(January 1874 - April 1878)}}
 
  | 3 = {{#vardefine:volume|'''vol.&nbsp;3'''&nbsp;(1875-1878)}}
 
  | 3 = {{#vardefine:volume|'''vol.&nbsp;3'''&nbsp;(1875-1878)}}
  | 4 = {{#vardefine:volume|'''vol.&nbsp;4'''&nbsp;(1875-1878). Msc}}
+
  | 4 = {{#vardefine:volume|'''vol.&nbsp;4'''&nbsp;(1875-1878)}}
  | 5 = {{#vardefine:volume|'''vol.&nbsp;5'''&nbsp;(1875-1878)}}
+
  | 5 = {{#vardefine:volume|'''vol.&nbsp;5'''&nbsp;(1875-1878). Miscellaneous Scraps from January 1st 1878}}
 
  | 6 = {{#vardefine:volume|'''vol.&nbsp;6'''&nbsp;(1878-1880). Articles from Russian newspapers}}
 
  | 6 = {{#vardefine:volume|'''vol.&nbsp;6'''&nbsp;(1878-1880). Articles from Russian newspapers}}
 
  | 7 = {{#vardefine:volume|'''vol.&nbsp;7'''&nbsp;(March-September 1878)}}
 
  | 7 = {{#vardefine:volume|'''vol.&nbsp;7'''&nbsp;(March-September 1878)}}
Line 50: Line 49:
 
     PAGE OUTPUT
 
     PAGE OUTPUT
 
--><div style="width:100%; min-width: 300px; font-size: 90%; font-family: 'Droid Sans', sans-serif; display: block;">
 
--><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-SB-header|T]]</div>
+
<div style="float:right; font-size: 90%;">[[Template:HPB-SB-header|T]] [[Template:HPB-SB-item|i]]</div>
 
<div style=" width:100%; min-height: 200px; background: #EAECF0; border: 1px solid #A2A9B1; padding: 5px 5px 10px 5px; {{css|border-radius|5}}">
 
<div style=" width:100%; min-height: 200px; background: #EAECF0; border: 1px solid #A2A9B1; padding: 5px 5px 10px 5px; {{css|border-radius|5}}">
 
[[File:{{{image|}}}|150x150px|left|thumb|vol. '''{{{volume|}}}''', p. '''{{{page|}}}''']]
 
[[File:{{{image|}}}|150x150px|left|thumb|vol. '''{{{volume|}}}''', p. '''{{{page|}}}''']]
{{Style P-Book|H.P.Blavatsky Scrapbooks}}
+
{{Style P-Book|[[HPB-SB|H. P. Blavatsky Scrapbooks]]}}
{{Style P-Subtitle|from Adyar arhives of the International Theosophical Society}}
+
{{Style P-Subtitle|from Adyar archives of the International Theosophical Society}}
 
{{Style P-Subtitle|{{#var:volume}} }}
 
{{Style P-Subtitle|{{#var:volume}} }}
<div style="border-top: 1px solid #A2A9B1; margin-left: 150px; margin-right: 30px;">&nbsp;</div>
+
<div style="border-top: 1px solid #A2A9B1; margin-left: 135px; margin-right: 5px;">{{{notes|}}}&nbsp;</div>
  
<!-- Table of Contents -->
+
<!-- Table of Contents, notes and legend-->
 
<div class="header-nav-m" style="display: flex; justify-content: space-between; padding-bottom: 10px;">
 
<div class="header-nav-m" style="display: flex; justify-content: space-between; padding-bottom: 10px;">
 
<div>__TOC__</div>
 
<div>__TOC__</div>
  
 
<!--пояснение к условному форматированию -->
 
<!--пояснение к условному форматированию -->
<div style="font-size: 80%; width:160px; border: 1px solid #A2A9B1; padding-left: 5px; background: white; position: relative;">'''Legend''' {{#info: There are some '''special styles''' used in text.<br> Move over the names to get more information}}
+
<div style="font-size: 80%; width:160px; border: 1px solid #A2A9B1; padding-left: 5px; background: white; position: relative;">
* <span style="cursor:help;" title="Handwritten text added by H.P.Blavatsky">{{Style S-HPB SB. HPB note|HPB note}}</span>
+
<div style="float: right; margin-right: 3px;">[[:Category:Templates for HPB SB|SBT]], [[:Category:Design_templates|DT]]</div>
* <span style="cursor:help;" title="Text underlined by H.P.Blavatsky">{{Style S-HPB SB. HPB underlined|HPB underlined}}</span>
+
<p style="text-indent: 0px;">'''{{tip|Legend|There are some special styles used in the text. Move over the names to get more information, or click DT to see all design templates}}'''</p>
* <span style="cursor:help;" title="Text crossed out by H.P.Blavatsky">{{Style S-HPB SB. HPB crossed out|HPB crossed out}}</span>
+
* <span style="cursor:help;" title="Handwritten text added by H.P. Blavatsky">{{Style S-HPB SB. HPB note|HPB note}}</span>
 +
* <span style="cursor:help;" title="Text highlighted by H.P. Blavatsky">{{Style S-HPB SB. HPB highlighted|HPB highlighted}}</span>
 +
* <span style="cursor:help;" title="Text underlined by H.P. Blavatsky">{{Style S-HPB SB. HPB underlined|HPB underlined}}</span>
 +
* <span style="cursor:help;" title="Text crossed out by H.P. Blavatsky">{{Style S-HPB SB. HPB crossed out|HPB crossed out}}</span>
 
* <span style="cursor:help;" title="Note by editor of electronic edition, absent in hardcopy">{{Style S-HPB SB. Editors note|Editors note}}</span>
 
* <span style="cursor:help;" title="Note by editor of electronic edition, absent in hardcopy">{{Style S-HPB SB. Editors note|Editors note}}</span>
* <span style="cursor:help;" title="Note by Adyar archivist, made after the Scribebooks were arhived">{{Style S-HPB SB. Archivist note|Archivist note}}</span>
+
* <span style="cursor:help;" title="Note by Adyar archivist, made after the Scribebooks were archived">{{Style S-HPB SB. Archivist note|Archivist note}}</span>
* <span style="cursor:help;" title="Text is lost or unreadable.">{{Style S-HPB SB. Lost|Lost}}</span>
+
* <span style="cursor:help;" title="Text is lost or unclear">{{Style S-HPB SB. Lost|Lost or unclear}}</span>
 +
* <span style="cursor:help;" title="Text was lost but found somewhere else and restored">{{Style S-HPB SB. Restored|Restored}}</span>
 
</div>
 
</div>
 
</div><!--
 
</div><!--
Line 75: Line 78:
 
   навигация по альбому
 
   навигация по альбому
 
--><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|}}}-{{{prev|}}}|<<]]<!--
+
-->{{#if: {{{prev|}}}
   содержание
+
| {{#vardefine:prev| {{{prev}}} }}
-->&nbsp;&nbsp; [[Blavatsky H.P. Scrapbooks (contents)|☰]] &nbsp;&nbsp;<!--
+
| {{#vardefine:prev| {{#expr:{{{page|1}}} - 1}} }}
   следующая страница
+
}}[[HPB-SB-{{{volume|}}}-{{#var:prev}}|<<]]<!--
-->[[HPB-SB-{{{volume|}}}-{{{next|}}}|>>]]
+
   table of contents
 +
-->&nbsp;&nbsp; [[HPB-SB-{{{volume|}}}|☰]] &nbsp;&nbsp;<!--
 +
   next page
 +
-->{{#if: {{{next|}}}
 +
| {{#vardefine:next| {{{next}}} }}
 +
| {{#vardefine:next| {{#expr:{{{page|0}}} + 1}} }}
 +
}}[[HPB-SB-{{{volume|}}}-{{#var:next}}|>>]]
 
</div><!--
 
</div><!--
  

Latest revision as of 04:28, 8 May 2023

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.