Template:HPB-SD-header: Difference between revisions
m (+link to Russian text) |
(исправление навигации тома III) |
||
| (10 intermediate revisions by 2 users not shown) | |||
| Line 8: | Line 8: | ||
| <pre> | | <pre> | ||
{{HPB-SD-header | {{HPB-SD-header | ||
| volume = | | volume = | ||
| part = | | part = | ||
| stanza = | | stanza = | ||
| Line 20: | Line 20: | ||
| previous = | | previous = | ||
| next = | | next = | ||
| ed1 target = | |||
| rus target = | |||
| edition = | | edition = | ||
}} | }} | ||
| Line 31: | Line 33: | ||
* '''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 39: | ||
* '''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; --"-- | ||
* '''ed1 target''' -- exact first-edition article and page anchor when its article name differs from the current third-edition article; optional | |||
* '''rus target''' -- exact Russian page title for the volume 3 translation link; optional; omit the interwiki prefix; if empty, the existing generated address is used | |||
* '''edition''' -- text edition {{p|SD edition}}; possible values: {{tip|ed.1|Verbatim first edition, vols. 1, 2 (1888), vol. 3 (1893)}}, <!-- | * '''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 | -->{{tip|ed.3|Third and revised edition prepared by Annie Besant and G. R. S. Mead, 1893}}, <!-- | ||
-->{{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 64: | Line 68: | ||
--> {{#vardefine:text_edition|Verbatim first edition}} | --> {{#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 | -->{{#vardefine:text_edition|Third and revised edition prepared by Annie Besant and G. R. S. Mead, 1893}} | ||
| #default = {{#vardefine:text_edition|{{{edition|}}}}} | | #default = {{#vardefine:text_edition|{{{edition|}}}}} | ||
}}<!-- | }}<!-- | ||
| Line 96: | Line 100: | ||
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|[[Blavatsky H.P. - The Secret Doctrine|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}} | {{Style P-Author|<small>by</small> Helena Petrovna Blavatsky}} | ||
| Line 122: | Line 126: | ||
-->[[{{#var:book_address}} {{{previous|}}}|<<]]<!-- | -->[[{{#var:book_address}} {{{previous|}}}|<<]]<!-- | ||
table of contents | table of contents | ||
--> [[{{#var:book_address}}|☰]] <!-- | --> [[{{#ifeq:{{{edition|}}}:{{{volume|}}}|ed.3:2|HPB-SD(ed.3) v.2|{{#var:book_address}}}}|☰]] <!-- | ||
next wiki page | next wiki page | ||
-->[[{{#var:book_address}} {{{next|}}}|>>]] | -->[[{{#var:book_address}} {{{next|}}}|>>]] <!-- | ||
link to SD page info form | |||
-->| [[Special:RunQuery/SD page info|page]] | |||
</div><!-- | </div><!-- | ||
| Line 132: | Line 138: | ||
-->{{#switch: {{{volume|}}} | -->{{#switch: {{{volume|}}} | ||
| 1 | | 1 | ||
| 2 = [[HPB-SD(ed.1) {{#var:chapter_address}}|ed.1]] • <!-- 1st edition | | 2 = [[{{{ed1 target|HPB-SD(ed.1) {{#var:chapter_address}}}}}|ed.1]] • <!-- 1st edition | ||
-- >[[HPB-SD(ed.3) {{#var:chapter_address}}|ed.3]] • <!-- 3rd edition | -->{{#ifexist:HPB-SD(ed.3) {{#var:chapter_address}}|[[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 | ||
-->[[: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]] • <!-- Würzburg manuscript | | 3 = {{#ifexist:HPB-SD(WM) {{#var:chapter_address}}|[[HPB-SD(WM) {{#var:chapter_address}}|WM]] •|}} <!-- Würzburg manuscript | ||
-->[[:t-ru-lib:Блаватская Е.П. - ТД (ред.21в) {{#var:chapter_address_rus_v3}}|rus]] <!-- Russian translation--> | -->[[:t-ru-lib:{{#if: {{{rus target|}}}|{{{rus target}}}|Блаватская Е.П. - ТД (ред.21в) {{#var:chapter_address_rus_v3}}}}|rus]] <!-- Russian translation--> | ||
}} | }} | ||
</div> | </div> | ||
</div> | </div> | ||
</includeonly> | </includeonly> | ||
Latest revision as of 16:39, 20 October 2026
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 =
| ed1 target =
| rus target =
| edition =
}}
|
|