Template:HPB-CW-header: Difference between revisions

From Teopedia
mNo edit summary
mNo edit summary
 
(10 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»]].  




Line 14: Line 14:
  | pages        =  
  | pages        =  
  | publications =  
  | publications =  
  | scrapbook   =  
  | scrapbook   =  
  | previous    =  
  | previous    =  
  | next        =  
  | next        =  
Line 28: Line 28:
* '''pages''' -- item place in the volume, first and last pages, f.e.: 606-614; {{p|BCW item pages}}
* '''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}}
* '''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 list: 4:44-51; 5:15-22; {{p|BCW item scrapbooks reference}}
* '''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)
* '''previous''' -- previous item (article)
* '''next''' -- next  item (article)
* '''next''' -- next  item (article)
Line 59: Line 59:
  |BCW volume number={{{volume|}}}
  |BCW volume number={{{volume|}}}
  |BCW item pages={{{pages|}}}
  |BCW item pages={{{pages|}}}
  |BCW item publications={{{publications|}}}|+sep=;
  |BCW item publications={{{publications|}}}
  |BCW item internet resources={{{alternatives|}}}|+sep=;
  |BCW item internet resources={{{alternatives|}}}
  |BCW item translations={{{translations|}}}|+sep=;
  |BCW item translations={{{translations|}}}
  |BCW item scrapbooks reference={{{scrapbook|}}}|+sep=;
  |BCW item scrapbooks reference={{{scrapbook|}}}
}}<!--  
}}<!--  


Line 70: 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>
<div style="font-size: 85%;"><!-- additional information -->
<div style="font-size: 85%;"><!-- additional information -->
<p style="text-indent: 0;">Publications: <span class="plainlinks">{{{publications|}}}</span> </p>
<p style="text-indent: 0;">Publications: <span class="plainlinks">{{{publications|}}}</span> </p>
Line 77: Line 77:
<p style="text-indent: 0;">In other languages: <span class="plainlinks">{{{translations|}}}</span> </p>
<p style="text-indent: 0;">In other languages: <span class="plainlinks">{{{translations|}}}</span> </p>
{{#if: {{{scrapbook|}}}
{{#if: {{{scrapbook|}}}
  | <p style="text-indent: 0;">In <span class="H. P. Blavatsky's Scrapbooks">Scrapbooks</span>: {{#arraymap:{{{scrapbook|}}}|;|@@|[[HPB-SB-{{#explode:@@|:|0}}-{{#explode:{{#explode:@@|:|1}}|-|0}}|@@]]}}</p>
  | <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 -->

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]
}}