Template:HPB-SD-header: Difference between revisions

From Teopedia
mNo edit summary
mNo edit summary
 
(6 intermediate revisions by the same user not shown)
Line 8: Line 8:
| <pre>
| <pre>
{{HPB-SD-header
{{HPB-SD-header
  | volume = 1
  | volume =  
  | part =  
  | part =  
  | stanza =  
  | stanza =  
Line 31: Line 31:
* '''sloka''' -- sloka number {{p|SD sloka}}
* '''sloka''' -- sloka number {{p|SD sloka}}
* '''sloka title''' -- {{p|SD sloka title}}
* '''sloka title''' -- {{p|SD sloka title}}
* '''section''' -- section number, just number, for references {{p|SD sloka}}
* '''section''' -- section number, just number, for references {{p|SD section}}
* '''section title''' full section title -- {{p|SD section title}}
* '''section title''' full section title -- {{p|SD section title}}
* '''chapter''' -- short chapter title for references {{p|SD chapter}}
* '''chapter''' -- short chapter title for references {{p|SD chapter}}
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 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 116: Line 124:
-->&nbsp;&nbsp; [[{{#var:book_address}}|☰]] &nbsp;&nbsp;<!--
-->&nbsp;&nbsp; [[{{#var:book_address}}|☰]] &nbsp;&nbsp;<!--
   next wiki page
   next wiki page
-->[[{{#var:book_address}} {{{next|}}}|>>]]
-->[[{{#var:book_address}} {{{next|}}}|>>]]&nbsp;&nbsp;<!--
  link to
-->| [[Special:RunQuery/SD page info|page]]
</div><!--
</div><!--


Line 129: Line 139:
-->[[: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 09:31, 20 October 2024

This template is used on The Secret Doctrine pages.

To copy Note
{{HPB-SD-header
 | volume = 
 | 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 section]]
  • 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