Template:SD-page: Difference between revisions
(Created page with "<noinclude>This template provides the link to the page in "The Secret Doctrine" by H. P. Blavatsky. Numbers follow first 1888 edition. Link created by semantic que...") |
mNo edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude>This template provides the link to the page in "[[HPB-SD|The Secret Doctrine]]" by H. P. Blavatsky. Numbers follow first 1888 edition. | <noinclude>{{Style P-No indent|This template provides the link to the page in "[[HPB-SD|The Secret Doctrine]]" by H. P. Blavatsky. Numbers follow first 1888 edition.}} | ||
Link created by semantic query: | {{Style P-No indent|Link created by semantic query and template:}} | ||
* {{p|SD volume}} – set in template {{t|HPB-SD-header}} | * {{p|SD volume}} – set in template {{t|HPB-SD-header}} | ||
* {{p|Page number}} – set in template {{t|Page}} | * {{p|Page number}} – set in template {{t|Page}} | ||
* {{p|SD edition}} – set in template {{t|HPB-SD-header}} | * {{p|SD edition}} – set in template {{t|HPB-SD-header}} | ||
* {{t|SD page link}} – design template | |||
'''To copy''': | '''To copy''': | ||
<pre>{{SD-page|v=|p=|ed=|text=}}</pre> | <pre>{{SD-page|v=|p=|ed=|text=}}</pre> | ||
{{Page/doc}} | |||
[[Category:Templates for SD]] | [[Category:Templates for SD]] | ||
[[Category:Templates for references]] | |||
[[t-ru-lib:Шаблон:ТД-стр]] | [[t-ru-lib:Шаблон:ТД-стр]] | ||
</noinclude><includeonly><!-- | </noinclude><includeonly><!-- | ||
Line 16: | Line 21: | ||
-->{{#vardefine:edition|{{#if: {{{ed|}}}|{{{ed}}}|ed.1}}}}<!-- | -->{{#vardefine:edition|{{#if: {{{ed|}}}|{{{ed}}}|ed.1}}}}<!-- | ||
set link text; use @@ as a parameter separator | |||
-->{{#if: {{{text|}}}| {{#vardefine:link_text|{{{p|}}}@@{{{text|}}}}} | {{#vardefine:link_text|{{{p|}}}}} }}<!-- | -->{{#if: {{{text|}}}| {{#vardefine:link_text|{{{p|}}}@@{{{text|}}}}} | {{#vardefine:link_text|{{{p|}}}}} }}<!-- | ||
make a request and design the output with template 'SD page link' | |||
-->{{#ask: [[SD volume::{{{v|}}}]] [[Page number::{{{p|}}}]] [[SD edition::{{#var:edition}}]] | -->{{#ask: [[SD volume::{{{v|}}}]] [[Page number::{{{p|}}}]] [[SD edition::{{#var:edition}}]] | ||
|?SD volume = volume | |?SD volume = volume |
Latest revision as of 04:51, 11 March 2024
This template provides the link to the page in "The Secret Doctrine" by H. P. Blavatsky. Numbers follow first 1888 edition.
Link created by semantic query and template:
- [[SD volume]] – set in template {{HPB-SD-header}}
- [[Page number]] – set in template {{Page}}
- [[SD edition]] – set in template {{HPB-SD-header}}
- {{SD page link}} – design template
To copy:
{{SD-page|v=|p=|ed=|text=}}
Pagination related templates and properties:
- {{Page}} – places book page number with bookmark (anchor); provides visual split of pages
- [[Page number]] – sets this semantic property
- {{Page continues}} – same as above, but do not set semantic property
- {{Page aside}} – places page number aside the text, sets semantic property [[Page number]]; no visual split
- {{Page aside continues}} – same as above, but without semantic property
- {{Page/doc}} – this description
Link to certain page of original text:
- {{SD-page|v=|p=|ed=|text=}} – Sectet Doctrine; uses:
- {{SD page link}} – design template
- {{SD-p-toc}} – link in table of contents
- {{IU-page|v=|p=|text=}} – Isis Unveiled; uses:
- {{IU page link}} – design template
- {{IU-p-toc}} – link in table of contents
- {{BCW-page|v=|p=|text=}} – H. P. Blavatsky Collected Writings
- {{BCW page link}} – design template
- {{SB-page|v=|p=|text=}} – H. P. Blavatsky's Scrapbooks
- {{SB add link}} – convert text in format Volume:Page into link.