Template:HPB-CW-header: Difference between revisions

No edit summary
mNo edit summary
 
(25 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>This template creates header for pages of [[HPB-CW|«H.P. Blavatsky Collected Writtings»]].  
<noinclude>This template creates header for pages of [[HPB-CW|«H. P. Blavatsky Collected Writtings»]].  




'''To copy:'''
{| class=wikitable
<pre>
|-
! width=200px | To copy
! Note
|- valign=top
| <pre>
{{HPB-CW-header
{{HPB-CW-header
  | item title  =  
  | item title  =  
Line 10: Line 14:
  | pages        =  
  | pages        =  
  | publications =  
  | publications =  
| scrapbook    =
  | previous    =  
  | previous    =  
  | next        =  
  | next        =  
Line 17: Line 22:
</pre>
</pre>


|  Use semicolon (;) as a divider in a list.
* '''item title''' -- title of an article or note; {{p|BCW item title}}
* '''item author''' -- it's either “Blavatsky H.P.” or “Zirkoff B.”; this also add an item to appropriate category: {{c|Blavatsky H.P. (works)}} or {{c|Zirkoff B. (works)}}; {{p|BCW item author}}
* '''volume''' -- volume number; {{p|BCW volume number}}
* '''pages''' -- item place in the volume, first and last pages, f.e.: 606-614; {{p|BCW item pages}}
* '''publications''' -- list of publications in chronological order; this refers to the item, not to the BCW, so it can include publications before and after BCW;; {{p|BCW item publications}}
* '''scrapbook''' -- list of references to HPB's Scrapbooks in format: volume:first_page-last_page; for example: 1:5 or 7:250-253 or for the list: 4:44-51; 5:15-22; {{p|BCW item scrapbooks reference}}
* '''previous''' -- previous item (article)
* '''next''' -- next  item (article)
* '''alternatives''' -- list of links to the same text on other internet websites; {{p|BCW item internet resources}}
* '''translations''' -- list of links to translation of this text; {{p|BCW item translations}}
|}


'''Example:'''
'''Example:'''
Line 34: Line 51:


[[Category: Templates]]
[[Category: Templates]]
</noinclude><includeonly>{{Hide title}} [[Category: HPB Collected Writtings]]
[[Category: Templates for HPB CW]]
__NOFACTBOX__<!--
</noinclude><includeonly>__NOFACTBOX__
{{Hide title}} [[Category: HPB CW]] [[Category: {{{item author|}}} (works)]] <!--
  set semantic propertiesy
-->{{#set: BCW item title={{{item title|}}}
|BCW item author={{{item author|}}}
|BCW volume number={{{volume|}}}
|BCW item pages={{{pages|}}}
|BCW item publications={{{publications|}}}
|BCW item internet resources={{{alternatives|}}}
|BCW item translations={{{translations|}}}
|BCW item scrapbooks reference={{{scrapbook|}}}
}}<!--  


     PAGE OUTPUT
     PAGE OUTPUT
Line 42: Line 70:
<div style=" width:100%; background: #EAECF0; border: 1px solid #A2A9B1; padding: 5px 5px 10px 5px; {{css|border-radius|5}}">
<div style=" width:100%; background: #EAECF0; border: 1px solid #A2A9B1; padding: 5px 5px 10px 5px; {{css|border-radius|5}}">
{{Style P-Book|{{{item title|}}}}}
{{Style P-Book|{{{item title|}}}}}
{{Style P-Author|by {{{item author|}}}}}
{{Style P-Author|by {{CTD show name|{{{item author|}}}|mode=full FL}} }}
<center>[[HPB-CW|H.P. Blavatsky Collected Writtings]], vol. {{{volume|}}}, page(s) {{{pages|}}}</center>
<center>[[HPB-CW|H. P. Blavatsky Collected Writtings]], vol. {{{volume|}}}, page(s) {{{pages|}}}</center>
{{Style P-No indent|<span title="This text is also available on other websites">Also at:</span> {{{alternatives|}}}}}
<div style="font-size: 85%;"><!-- additional information -->
<p style="text-indent: 0;">Publications: <span class="plainlinks">{{{publications|}}}</span> </p>
<p style="text-indent: 0;"><span style="border-bottom:1px dotted gray; cursor:help;" title="This text is also available on the following websites">Also at:</span>  <span class="plainlinks">{{{alternatives|}}}</span> </p>
<p style="text-indent: 0;">In other languages: <span class="plainlinks">{{{translations|}}}</span> </p>
{{#if: {{{scrapbook|}}}
| <p style="text-indent: 0;">In <span style="border-bottom:1px dotted gray; cursor:help;" title="H. P. Blavatsky's Scrapbooks has a reference to this text">Scrapbooks</span>: {{SB add link|{{{scrapbook|}}}}}</p>
|}}
<!--  navigation bar on book -->
<!--  navigation bar on book -->
</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}}"><!--
<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 item
   previous item
Line 53: Line 88:
   next item
   next item
-->[[{{{next|}}}|>>]]
-->[[{{{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}}">
<span class="plainlinks">{{#arraymap:{{{translations|}}}|;|@@|@@|&#32;•}}</span>
</div>
</div>
</div>
</div>
</div>
</div>
</includeonly>
</includeonly>

Latest revision as of 01:43, 30 September 2023

This template creates header for pages of «H. P. Blavatsky Collected Writtings».


To copy Note
{{HPB-CW-header
 | item title   = 
 | item author  = 
 | volume       = 
 | pages        = 
 | publications = 
 | scrapbook    = 
 | previous     = 
 | next         = 
 | alternatives = 
 | translations = 
}}
Use semicolon (;) as a divider in a list.
  • item title -- title of an article or note; [[BCW item title]]
  • item author -- it's either “Blavatsky H.P.” or “Zirkoff B.”; this also add an item to appropriate category: «Blavatsky H.P. (works)» or «Zirkoff B. (works)»; [[BCW item author]]
  • volume -- volume number; [[BCW volume number]]
  • pages -- item place in the volume, first and last pages, f.e.: 606-614; [[BCW item pages]]
  • publications -- list of publications in chronological order; this refers to the item, not to the BCW, so it can include publications before and after BCW;; [[BCW item publications]]
  • scrapbook -- list of references to HPB's Scrapbooks in format: volume:first_page-last_page; for example: 1:5 or 7:250-253 or for the list: 4:44-51; 5:15-22; [[BCW item scrapbooks reference]]
  • previous -- previous item (article)
  • next -- next item (article)
  • alternatives -- list of links to the same text on other internet websites; [[BCW item internet resources]]
  • translations -- list of links to translation of this text; [[BCW item translations]]

Example:

{{HPB-CW-header
 | item title   = Chelas and Lay Chelas
 | item author  = Blavatsky H.P.
 | volume       = 4
 | pages        = 606-614
 | publications = The Theosophist, Vol. IV, Supplement to No. 10, July, 1883, p. 12
 | previous     = Blavatsky H.P. - The prince convert
 | next         = Blavatsky H.P. - Note to A Description of the Tantrik Mystic Rites
 | alternatives = [http://www.katinkahesselink.net/blavatsky/articles/v4/y1883_095.htm KHL]
 | translations = [https://ru.teopedia.org/lib/Блаватская_Е.П._-_Чела_и_мирские_чела Russian]
}}