Template:HPB-SD-header: Difference between revisions
m (+ grey font for edition) |
mNo edit summary |
||
(11 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
| <pre> | | <pre> | ||
{{HPB-SD-header | {{HPB-SD-header | ||
| volume = | | 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 | * '''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| | * '''edition''' -- text edition {{p|SD edition}}; possible values: {{tip|ed.1|Verbatim first edition, vols. 1, 2 (1888), vol. 3 (1893)}}, <!-- | ||
-->{{tip| | -->{{tip|ed.3|Third edition by A. Bezant and J. Mead, 1923}}, <!-- | ||
-->{{tip|21c|Twenty first century edition}}, <!-- | -->{{tip|21c|Twenty first century edition}}, <!-- | ||
-->{{tip|wm|Würzburg manuscript, 1885-1886}} | -->{{tip|wm|Würzburg manuscript, 1885-1886}} | ||
Line 44: | Line 44: | ||
[[Category: Templates for SD]] | [[Category: Templates for SD]] | ||
[[t-ru-lib:Шаблон:ЕПБ-ТД шапка]] | |||
</noinclude><includeonly>{{Hide title}}<!-- | </noinclude><includeonly>{{Hide title}}<!-- | ||
Line 59: | Line 61: | ||
-->{{#vardefine:text_edition|Würzburg manuscript, 1885-1886}}<!-- | -->{{#vardefine:text_edition|Würzburg manuscript, 1885-1886}}<!-- | ||
-->{{#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)}}<!-- | ||
--> {{#vardefine:text_edition|Verbatim first edition | --> {{#vardefine:text_edition|Verbatim first edition}} | ||
| | | 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}} | ||
| #default = {{#vardefine:text_edition|{{{edition|}}}}} | | #default = {{#vardefine:text_edition|{{{edition|}}}}} | ||
Line 68: | Line 70: | ||
chapter address (position) in the book | chapter address (position) in the book | ||
-->{{#vardefine:chapter_address| v.{{{volume|}}}{{#if: {{{part|}}}| p.{{{part}}}|}}{{#if: {{{stanza|}}}| st.{{{stanza}}}|}}{{#if: {{{sloka|}}}| sl.{{{sloka}}}|}}{{#if: {{{section|}}}| sec.{{{section}}}|}}{{#if: {{{chapter|}}}| ch.{{{chapter}}}|}}}}<!-- | -->{{#vardefine:chapter_address| v.{{{volume|}}}{{#if: {{{part|}}}| p.{{{part}}}|}}{{#if: {{{stanza|}}}| st.{{{stanza}}}|}}{{#if: {{{sloka|}}}| sl.{{{sloka}}}|}}{{#if: {{{section|}}}| sec.{{{section}}}|}}{{#if: {{{chapter|}}}| ch.{{{chapter}}}|}}}}<!-- | ||
chapter address in volume 3 in Russian text | |||
-->{{#vardefine:chapter_address_rus_v3| т.{{{volume|}}}{{#if: {{{section|}}}| отд.{{{section}}}|}}{{#if: {{{chapter|}}}| гл.{{{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 1''' Cosmic Evolution}} | | 1:1 = {{#vardefine:part|'''part 1''' Cosmic Evolution}} | ||
| 1:2 = {{#vardefine:part|'''part 2''' Evolution of Symbolism}} | | 1:2 = {{#vardefine:part|'''part 2''' Evolution of Symbolism}} | ||
| 1:3 = {{#vardefine:part|'''part 3''' | | 1:3 = {{#vardefine:part|'''part 3''' Science and the Secret Doctrine Contrasted}} | ||
| 2:1 = {{#vardefine:part|'''part 1''' Anthropogenesis}} | | 2:1 = {{#vardefine:part|'''part 1''' Anthropogenesis}} | ||
| 2:2 = {{#vardefine:part|'''part 2''' Archaic Symbolism of the World-Religions}} | | 2:2 = {{#vardefine:part|'''part 2''' Archaic Symbolism of the World-Religions}} | ||
| 2:3 = {{#vardefine:part|'''part 3''' | | 2:3 = {{#vardefine:part|'''part 3''' Science and the Secret Doctrine Contrasted}} | ||
}}<!-- | }}<!-- | ||
PAGE OUTPUT | PAGE OUTPUT | ||
Header: author, book title, edition note | Header: author, book title, edition note | ||
--> | -->{{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 {{{stanza|}}}''' {{{stanza title|}}}|}}<!-- | -->{{#if: {{{stanza|}}}|, '''stanza {{{stanza|}}}''' {{{stanza title|}}}|}}<!-- | ||
-->{{#if: {{{sloka|}}}|, '''sloka {{{sloka}}}''' {{{sloka title|}}}|}}<!-- | -->{{#if: {{{sloka|}}}|, '''sloka {{{sloka}}}''' {{{sloka title|}}}|}}<!-- | ||
-->{{#if: {{{section|}}}|, '''section {{{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 {{{section}}}''' {{{section title|}}} | |||
}} |}}<!-- | |||
-->{{#if: {{{chapter|}}}|, '''chapter''' {{#if: {{{chapter title|}}}| {{{chapter title}}} | {{{chapter}}}}} |}} | -->{{#if: {{{chapter|}}}|, '''chapter''' {{#if: {{{chapter title|}}}| {{{chapter title}}} | {{{chapter}}}}} |}} | ||
__TOC__ | __TOC__ | ||
Line 116: | Line 124: | ||
--> [[{{#var:book_address}}|☰]] <!-- | --> [[{{#var:book_address}}|☰]] <!-- | ||
next wiki page | next wiki page | ||
-->[[{{#var:book_address}} {{{next|}}}|>>]] | -->[[{{#var:book_address}} {{{next|}}}|>>]] <!-- | ||
link to | |||
-->| [[Special:RunQuery/SD page info|page]] | |||
</div><!-- | </div><!-- | ||
Line 124: | Line 134: | ||
-->{{#switch: {{{volume|}}} | -->{{#switch: {{{volume|}}} | ||
| 1 | | 1 | ||
| 2 = [[HPB-SD( | | 2 = [[HPB-SD(ed.1) {{#var:chapter_address}}|ed.1]] • <!-- 1st edition | ||
-- >[[HPB-SD( | -- >[[HPB-SD(ed.3) {{#var:chapter_address}}|ed.3]] • <!-- 3rd edition | ||
-- >[[HPB-SD(21c) {{#var:chapter_address}}|21c]] ([[HPB-SD(21c)/Changes|changes]]) • <!-- 21 century edition | -- >[[HPB-SD(21c) {{#var:chapter_address}}|21c]] ([[HPB-SD(21c)/Changes|changes]]) • <!-- 21 century edition | ||
-->[[Блаватская Е.П. - ТД (ред.21в) {{#var:chapter_address}}|rus]] <!-- Russian translation--> | -->[[:t-ru-lib:Блаватская Е.П. - ТД (ред.21в) {{#var:chapter_address}}|rus]] <!-- Russian translation--> | ||
| 3 = [[HPB-SD(WM) {{#var:chapter_address}}| | | 3 = [[HPB-SD(WM) {{#var:chapter_address}}|WM]] • <!-- Würzburg manuscript | ||
-->[[Блаватская Е.П. - ТД (ред.21в) {{#var: | -->[[: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 = }} |
|