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

From Teopedia library
Jump to navigation Jump to search
m (+scrapbooks)
Line 18: Line 18:
 
  | alternatives =  
 
  | alternatives =  
 
  | translations =  
 
  | translations =  
 +
| scrapbooks  =
 
}}
 
}}
 
</pre>
 
</pre>
Line 31: Line 32:
 
* '''alternatives''' -- list of links to the same text on other internet websites; {{p|BCW item internet resources}}
 
* '''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}}
 
* '''translations''' -- list of links to translation of this text; {{p|BCW item translations}}
 +
* '''scrapbooks''' -- 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}}
 
|}
 
|}
  
Line 60: Line 62:
 
  |BCW item internet resources={{{alternatives|}}}|+sep=;
 
  |BCW item internet resources={{{alternatives|}}}|+sep=;
 
  |BCW item translations={{{translations|}}}|+sep=;
 
  |BCW item translations={{{translations|}}}|+sep=;
 +
|BCW item scrapbooks reference={{{scrapbooks|}}}|+sep=;
 
}}<!--  
 
}}<!--  
  
Line 73: Line 76:
 
<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;"><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>
 
<p style="text-indent: 0;">In other languages: <span class="plainlinks">{{{translations|}}}</span> </p>
 +
{{#if: {{{scrapbooks|}}}
 +
| <p style="text-indent: 0;">In <span class="H. P. Blavatsky's Scrapbooks">Scrapbooks</span>: {{#arraymap:{{{scrapbooks|}}}|;|@@|[[HPB-SB-{{#explode:@@|:|0}}-{{#explode:{{#explode:@@|:|1}}|-|0}}|@@]]}}</p>
 +
|}}
 
<!--  navigation bar on book -->
 
<!--  navigation bar on book -->
 
</div>
 
</div>

Revision as of 12:47, 28 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 = 
 | previous     = 
 | next         = 
 | alternatives = 
 | translations = 
 | scrapbooks   = 
}}
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]]
  • 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]]
  • scrapbooks -- 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; [[BCW item scrapbooks reference]]

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