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

From Teopedia library
Jump to navigation Jump to search
m
m
Line 76: 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|}}}
+
{{#if: {{{scrapbook|}}}
  | <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>
+
  | <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>
 
  |}}
 
  |}}
 
<!--  navigation bar on book -->
 
<!--  navigation bar on book -->

Revision as of 13:13, 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 = 
 | 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 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]
}}