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

From Teopedia library
Jump to navigation Jump to search
m (1888 --> ed.1)
m (+link to Russian text)
 
(5 intermediate revisions by the same user not shown)
Line 37: Line 37:
 
* '''previous''' -- previous page; to this value the edition prefix is added
 
* '''previous''' -- previous page; to this value the edition prefix is added
 
* '''next''' -- next page; --"--
 
* '''next''' -- next page; --"--
* '''edition''' -- text edition {{p|SD edition}}; possible values: {{tip|ed.1|Verbatim first edition, 1888}}, <!--  
+
* '''edition''' -- text edition {{p|SD edition}}; possible values: {{tip|ed.1|Verbatim first edition, vols. 1, 2 (1888), vol. 3 (1893)}}, <!--  
 
-->{{tip|ed.3|Third edition by A. Bezant and J. Mead, 1923}}, <!--  
 
-->{{tip|ed.3|Third edition by A. Bezant and J. Mead, 1923}}, <!--  
 
-->{{tip|21c|Twenty first century edition}}, <!--  
 
-->{{tip|21c|Twenty first century edition}}, <!--  
Line 44: Line 44:
  
 
[[Category: Templates for SD]]
 
[[Category: Templates for SD]]
 +
[[t-ru-lib:Шаблон:ЕПБ-ТД шапка]]
 +
 
</noinclude><includeonly>{{Hide title}}<!--
 
</noinclude><includeonly>{{Hide title}}<!--
  
Line 60: Line 62:
 
       -->{{#vardefine:vol|wm-{{{volume|}}}}}<!-- volumes in Würzburg manuscript had a different content sequence, as to 1888 edition -->
 
       -->{{#vardefine:vol|wm-{{{volume|}}}}}<!-- volumes in Würzburg manuscript had a different content sequence, as to 1888 edition -->
 
  | ed.1 = {{#vardefine:book_address|HPB-SD(ed.1)}}<!--
 
  | ed.1 = {{#vardefine:book_address|HPB-SD(ed.1)}}<!--
       --> {{#vardefine:text_edition|Verbatim first edition, 1888}}
+
       --> {{#vardefine:text_edition|Verbatim first edition}}
 
  | ed.3 = {{#vardefine:book_address|HPB-SD(ed.3)}}<!--
 
  | ed.3 = {{#vardefine:book_address|HPB-SD(ed.3)}}<!--
 
       -->{{#vardefine:text_edition|Third edition by A. Bezant and J. Mead, 1923}}
 
       -->{{#vardefine:text_edition|Third edition by A. Bezant and J. Mead, 1923}}
Line 68: Line 70:
 
   chapter address (position) in the book
 
   chapter address (position) in the book
 
-->{{#vardefine:chapter_address| v.{{{volume|}}}{{#if: {{{part|}}}|&#32;p.{{{part}}}|}}{{#if: {{{stanza|}}}|&#32;st.{{{stanza}}}|}}{{#if: {{{sloka|}}}|&#32;sl.{{{sloka}}}|}}{{#if: {{{section|}}}|&#32;sec.{{{section}}}|}}{{#if: {{{chapter|}}}|&#32;ch.{{{chapter}}}|}}}}<!--
 
-->{{#vardefine:chapter_address| v.{{{volume|}}}{{#if: {{{part|}}}|&#32;p.{{{part}}}|}}{{#if: {{{stanza|}}}|&#32;st.{{{stanza}}}|}}{{#if: {{{sloka|}}}|&#32;sl.{{{sloka}}}|}}{{#if: {{{section|}}}|&#32;sec.{{{section}}}|}}{{#if: {{{chapter|}}}|&#32;ch.{{{chapter}}}|}}}}<!--
 +
    chapter address in volume 3 in Russian text
 +
-->{{#vardefine:chapter_address_rus_v3| т.{{{volume|}}}{{#if: {{{section|}}}|&#32;отд.{{{section}}}|}}{{#if: {{{chapter|}}}|&#32;гл.{{{chapter}}}|}}}}<!--
 
    
 
    
 
   volume title; Würzburg manuscript has prefix "wm-";  
 
   volume title; Würzburg manuscript has prefix "wm-";  
Line 84: Line 88:
 
  | 1:1 = {{#vardefine:part|'''part&nbsp;1'''&nbsp;Cosmic Evolution}}
 
  | 1:1 = {{#vardefine:part|'''part&nbsp;1'''&nbsp;Cosmic Evolution}}
 
  | 1:2 = {{#vardefine:part|'''part&nbsp;2'''&nbsp;Evolution of Symbolism}}
 
  | 1:2 = {{#vardefine:part|'''part&nbsp;2'''&nbsp;Evolution of Symbolism}}
  | 1:3 = {{#vardefine:part|'''part&nbsp;3'''&nbsp;Addenda. Science and the Secret Doctrine Contrasted}}
+
  | 1:3 = {{#vardefine:part|'''part&nbsp;3'''&nbsp;Science and the Secret Doctrine Contrasted}}
 
  | 2:1 = {{#vardefine:part|'''part&nbsp;1'''&nbsp;Anthropogenesis}}
 
  | 2:1 = {{#vardefine:part|'''part&nbsp;1'''&nbsp;Anthropogenesis}}
 
  | 2:2 = {{#vardefine:part|'''part&nbsp;2'''&nbsp;Archaic Symbolism of the World-Religions}}
 
  | 2:2 = {{#vardefine:part|'''part&nbsp;2'''&nbsp;Archaic Symbolism of the World-Religions}}
  | 2:3 = {{#vardefine:part|'''part&nbsp;3'''&nbsp;Addenda. Science and the Secret Doctrine Contrasted}}
+
  | 2:3 = {{#vardefine:part|'''part&nbsp;3'''&nbsp;Science and the Secret Doctrine Contrasted}}
 
}}<!--
 
}}<!--
  
 
   PAGE OUTPUT
 
   PAGE OUTPUT
 
   Header: author, book title, edition note
 
   Header: author, book title, edition note
-->{{Style P-Author|Helena Petrovna Blavatsky}}
+
-->{{Style P-Book|The Secret Doctrine}}
{{Style P-Book|The Secret Doctrine}}
 
 
{{Style P-Subtitle|The Synthesis of Science, Religion, and Philosophy}}
 
{{Style P-Subtitle|The Synthesis of Science, Religion, and Philosophy}}
 +
{{Style P-Author|<small>by</small> Helena Petrovna Blavatsky}}
 
<center><span style="color: grey;">{{#var:text_edition}}</span></center>
 
<center><span style="color: grey;">{{#var:text_edition}}</span></center>
 
<!--
 
<!--
Line 105: Line 109:
 
-->{{#if: {{{stanza|}}}|, '''stanza&nbsp;{{{stanza|}}}''' {{{stanza title|}}}|}}<!--
 
-->{{#if: {{{stanza|}}}|, '''stanza&nbsp;{{{stanza|}}}''' {{{stanza title|}}}|}}<!--
 
-->{{#if: {{{sloka|}}}|, '''sloka&nbsp;{{{sloka}}}''' {{{sloka title|}}}|}}<!--
 
-->{{#if: {{{sloka|}}}|, '''sloka&nbsp;{{{sloka}}}''' {{{sloka title|}}}|}}<!--
-->{{#if: {{{section|}}}|, '''section&nbsp;{{{section}}}''' {{{section title|}}}|}}<!--
+
  consider volume 3, where section might consist of words, not numbers
 +
-->{{#if: {{{section|}}} | {{#if: {{{section show just title|}}}
 +
|, '''section''' {{{section title|}}}
 +
|, '''section&nbsp;{{{section}}}''' {{{section title|}}}
 +
}} |}}<!--
 
-->{{#if: {{{chapter|}}}|, '''chapter'''&nbsp;{{#if: {{{chapter title|}}}| {{{chapter title}}} | {{{chapter}}}}} |}}
 
-->{{#if: {{{chapter|}}}|, '''chapter'''&nbsp;{{#if: {{{chapter title|}}}| {{{chapter title}}} | {{{chapter}}}}} |}}
 
__TOC__
 
__TOC__
Line 129: Line 137:
 
-->[[:t-ru-lib:Блаватская Е.П. - ТД (ред.21в) {{#var:chapter_address}}|rus]] <!-- Russian translation-->
 
-->[[:t-ru-lib:Блаватская Е.П. - ТД (ред.21в) {{#var:chapter_address}}|rus]] <!-- Russian translation-->
 
  | 3 = [[HPB-SD(WM) {{#var:chapter_address}}|WM]]&#32;• <!-- Würzburg manuscript
 
  | 3 = [[HPB-SD(WM) {{#var:chapter_address}}|WM]]&#32;• <!-- Würzburg manuscript
-->[[:t-ru-lib:Блаватская Е.П. - ТД (ред.21в) {{#var:chapter_address}}|rus]] <!-- Russian translation-->
+
-->[[:t-ru-lib:Блаватская Е.П. - ТД (ред.21в) {{#var:chapter_address_rus_v3}}|rus]] <!-- Russian translation-->
 
}}
 
}}
 
</div>
 
</div>
 
</div>
 
</div>
 
</includeonly>
 
</includeonly>

Latest revision as of 11:34, 26 November 2022

This template is used on The Secret Doctrine pages.

To copy Note
{{HPB-SD-header
 | volume = 1
 | part = 
 | stanza = 
 | stanza title= 
 | sloka = 
 | sloka title= 
 | section = 
 | section title = 
 | chapter = 
 | chapter title = 
 | previous = 
 | next     = 
 | edition = 
}}
  • volume -- volume number [[SD volume]]
  • part -- part number [[SD part]]
  • stanza -- stanza number [[SD stanza]]
  • stanza title -- [[SD stanza title]]
  • sloka -- sloka number [[SD sloka]]
  • sloka title -- [[SD sloka title]]
  • section -- section number, just number, for references [[SD sloka]]
  • section title full section title -- [[SD section title]]
  • chapter -- short chapter title for references [[SD chapter]]
  • chapter title -- full chapter title; can be omitted if equals the short one in chapter parameter [[SD chapter title]]
  • previous -- previous page; to this value the edition prefix is added
  • next -- next page; --"--
  • edition -- text edition [[SD edition]]; possible values: ed.1, ed.3, 21c, wm