Difference between revisions of "Template:SB add link"

From Teopedia library
Jump to navigation Jump to search
(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
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 creates link(s) to the formated reference to [[HPB-CW|«H.P. Blavatsky Collected Writtings»]]. 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}} – convert text in format Volume:Page into link.
 +
  
 
[[Category: Templates]]
 
[[Category: Templates]]
 
[[Category: Templates for HPB CW]]
 
[[Category: Templates for HPB CW]]
 
</noinclude><includeonly>{{#arraymap:{{{1|}}}|;|@@|[[HPB-SB-{{#explode:@@|:|0}}-{{#explode:{{#explode:@@|:|1}}|-|0}}|@@]]}}</includeonly>
 
</noinclude><includeonly>{{#arraymap:{{{1|}}}|;|@@|[[HPB-SB-{{#explode:@@|:|0}}-{{#explode:{{#explode:@@|:|1}}|-|0}}|@@]]}}</includeonly>

Revision as of 02:47, 30 September 2023

This template creates link(s) to the formated reference to «H.P. Blavatsky Collected Writtings». 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}} – convert text in format Volume:Page into link.