Template:HPB-SB-header: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 25: Line 25:


[[Category: Templates for HPB SB]]
[[Category: Templates for HPB SB]]
[[t-ru-lib:Шаблон:ЕПБ-Альбомы. Шапка тома]]
[[t-ru-lib:Шаблон:ЕПБ-ЛА шапка]]
</noinclude><includeonly>{{Hide title}} [[Category: HPB Scrapbooks pages]]
</noinclude><includeonly>{{Hide title}} [[Category: HPB Scrapbooks pages]]
__NOFACTBOX__<!--
__NOFACTBOX__<!--
Line 52: Line 52:
<div style="float:right; font-size: 90%;">[[Template:HPB-SB-header|T]] [[Template:HPB-SB-item|i]]</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}}">
<!-- Page preview -->
[[File:{{{image|}}}|150x150px|left|thumb|vol. '''{{{volume|}}}''', p. '''{{{page|}}}''']]
[[File:{{{image|}}}|150x150px|left|thumb|vol. '''{{{volume|}}}''', p. '''{{{page|}}}''']]
<!-- Title -->
{{Style P-Subtitle|{{#var:volume}} }}
{{Style P-Subtitle|{{#var:volume}}}}
<div style="border-top: 1px solid #A2A9B1; margin-left: 135px; margin-right: 5px;">{{{notes|}}}&nbsp;</div>
<center>page {{{page|}}}</center>
 
<!-- Legend -->
<!-- Table of Contents, notes and legend-->
<div style="font-size: 80%; width:160px; border: 1px solid #A2A9B1; padding-left: 5px; background: white; position: relative; float: right; margin-left: 10px;" class="mw-collapsible mw-collapsed" data-collapsetext="^" data-expandtext="v">
<div class="header-nav-m" style="display: flex; justify-content: space-between; padding-bottom: 10px;">
<div>__TOC__</div>
 
<!--пояснение к условному форматированию -->
<div style="font-size: 80%; width:160px; border: 1px solid #A2A9B1; padding-left: 5px; background: white; position: relative;">
<div style="float: right; margin-right: 3px;">[[:Category:Templates for HPB SB|SBT]], [[:Category:Design_templates|DT]]</div>
<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>
<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>
<div class="mw-collapsible-content">
<div style="float: right; margin-right: 3px;">[[:Category:Templates for HPB SB|SBT]], [[:Category:Design_templates|DT]]</div>
* <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="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 highlighted by H.P. Blavatsky">{{Style S-HPB SB. HPB highlighted|HPB highlighted}}</span>
Line 70: Line 72:
* <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 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>
* <span style="cursor:help;" title="Text was lost but found somewhere else and restored">{{Style S-HPB SB. Restored|Restored}}</span>
</div></div>
</div>
<!-- Notes and comments -->
</div>
<p style="text-indent: 0px; margin-left: 135px; margin-right: 5px;">{{{notes|}}}</p>
<!-- navigation throgh current album -->
<!-- Add some space before navigation bar -->
<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 class="header-nav-m" style="display: flex; justify-content: space-between; padding-bottom: 10px;"></div><!--
  навигация по альбому
--><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
   previous page
-->{{#if: {{{prev|}}}
-->{{#if: {{{prev|}}}
Line 90: Line 88:
  | {{#vardefine:next| {{#expr:{{{page|0}}} + 1}} }}  
  | {{#vardefine:next| {{#expr:{{{page|0}}} + 1}} }}  
}}[[HPB-SB-{{{volume|}}}-{{#var:next}}|>>]]
}}[[HPB-SB-{{{volume|}}}-{{#var:next}}|>>]]
</div><!--
</div>
 
<!-- navigation bar on languages -->
  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}}"><!--
--><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
   page in English
--><span title="Eglinsh">[[HPB-SB-{{{volume|}}}-{{{page|}}}|eng]]</span>&#32;• <!--
--><span title="Eglinsh">[[HPB-SB-{{{volume|}}}-{{{page|}}}|eng]]</span>&#32;• <!--