Template:SD-page: Difference between revisions

From Teopedia
(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:


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


Link to certain page of original text: