Difference between revisions of "Template:SB add link"

(Created page with "<noinclude>This template creates link(s) to the reference to «H.P. Blavatsky Collected Writtings». Use desh for range and semicolon to separe volumes. '''To cop...")
 
m
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>This template creates link(s) to the reference to [[HPB-CW|«H.P. Blavatsky Collected Writtings»]]. Use desh for range and semicolon to separe volumes.
+
<noinclude>This template converts formated text to a link to [[HPB-SB|H. P. Blavatsky's Scrapbooks]]. Use desh for range and semicolon to separe volumes. See examples below.
  
  
 
'''To copy''':
 
'''To copy''':
<pre>{{HPB-SB add link|}}</pre>
+
<pre>{{SB add link|}}</pre>
  
  
Line 11: Line 11:
 
! Result
 
! Result
 
|-
 
|-
| <nowiki>{{HPB-SB add link|1:5}}</nowiki>
+
| <nowiki>{{SB add link|1:5}}</nowiki>
| {{HPB-SB add link|1:5}}
+
| {{SB add link|1:5}}
 
|-
 
|-
| <nowiki>{{HPB-SB add link|3:20-24}}</nowiki>
+
| <nowiki>{{SB add link|3:20-24}}</nowiki>
| {{HPB-SB add link|3:20-24}}
+
| {{SB add link|3:20-24}}
 
|-
 
|-
| <nowiki>{{HPB-SB add link|1:41-5; 3:241-5}}</nowiki>
+
| <nowiki>{{SB add link|1:41-5; 3:241-5}}</nowiki>
| {{HPB-SB add link|1:41-5; 3:241-5}}
+
| {{SB add link|1:41-5; 3:241-5}}
 
|}
 
|}
 +
 +
'''Related templates''':
 +
* {{t|SB-page}} – add link to any text
 +
  
 
[[Category: Templates]]
 
[[Category: Templates]]
[[Category: Templates for HPB CW]]
+
[[Category: Templates for references]]
</noinclude><includeonly>{{#arraymap:{{{1|}}}|;|@@|[[HPB-SB-{{#explode:@@|:|0}}-{{#explode:{{#explode:@@|:|1}}|-|0}}|@@]]}}</includeonly>
+
[[Category: Templates for HPB SB]]
 +
</noinclude><includeonly>{{#arraymap:{{{1|}}}|;|@@|[[HPB-SB-{{#explode:@@|:|0}}-{{#explode:{{#explode:@@|:|1}}|-|0}}|@@]]|;&#32;}}</includeonly>

Latest revision as of 04:43, 30 September 2023

This template converts formated text to a link to H. P. Blavatsky's Scrapbooks. Use desh for range and semicolon to separe volumes. See examples below.


To copy:

{{SB add link|}}


Examples
Wiki text Result
{{SB add link|1:5}} 1:5
{{SB add link|3:20-24}} 3:20-24
{{SB add link|1:41-5; 3:241-5}} 1:41-5; 3:241-5

Related templates:

  • {{SB-page}} – add link to any text