Difference between revisions of "How to use the Scriptblock template"

From Theonomy Wiki
(Marked this version for translation)
(Removed page from translation)
Line 1: Line 1:
<noinclude><languages />{{:Navup|Templates Reference|<translate><!--T:1--> Templates Reference</translate>}}
+
<noinclude>{{:Navup|Templates Reference|Templates Reference}}
  
{{:Navleft|Category:Documentation|<translate><!--T:2--> All Documentation</translate>}}
+
{{:Navleft|Category:Documentation|All Documentation}}
 
</noinclude>
 
</noinclude>
<translate><!--T:3-->
 
 
This template provides an abstraction layer for the scriptblock class/style.
 
This template provides an abstraction layer for the scriptblock class/style.
  
<!--T:4-->
+
Example:
Example:</translate>
 
  
<translate> <!--T:5--> <nowiki>{{:Scriptblock|Genesis 1:1-2}}</nowiki></translate>  
+
<nowiki>{{:Scriptblock|Genesis 1:1-2}}</nowiki>  
  
<translate><!--T:6--> which outputs:</translate>
+
which outputs:
  
<translate><!--T:7--> {{:Scriptblock|Genesis 1:1-2}}</translate>
+
{{:Scriptblock|Genesis 1:1-2}}
  
<translate><!--T:8--> If you want to specify a particular version, use the code for the [[:Scripture versions|version]] you want:</translate>
+
If you want to specify a particular version, use the code for the [[:Scripture versions|version]] you want:
  
<translate> <!--T:9--> <nowiki>{{:Scriptblock|Genesis 1:1-2|ver=KJV}}</nowiki></translate>  
+
<nowiki>{{:Scriptblock|Genesis 1:1-2|ver=KJV}}</nowiki>  
  
<translate><!--T:10--> which outputs:</translate>
+
which outputs:
  
<translate><!--T:11--> {{:Scriptblock|Genesis 1:1-2|ver=KJV}}</translate>
+
{{:Scriptblock|Genesis 1:1-2|ver=KJV}}
  
<translate><!--T:12--> If you don't want to display the verse numbers, write:</translate>
+
If you don't want to display the verse numbers, write:
  
<translate> <!--T:13--> <nowiki>{{:Scriptblock|Genesis 1:1-2|2=vsnumstyle=hidevsnum }}</nowiki> </translate>
+
<nowiki>{{:Scriptblock|Genesis 1:1-2|2=vsnumstyle=hidevsnum }}</nowiki>  
  
<translate><!--T:14--> which outputs:</translate>
+
which outputs:
  
<translate><!--T:15--> {{:Scriptblock|Genesis 1:1-2|2=vsnumstyle=hidevsnum }}</translate>
+
{{:Scriptblock|Genesis 1:1-2|2=vsnumstyle=hidevsnum }}
  
<translate><!--T:16--> If you don't want to display the scripture reference, write:</translate>
+
If you don't want to display the scripture reference, write:
  
<translate> <!--T:17--> <nowiki>{{:Scriptblock|Genesis 1:1-2|2=scriptrefstyle=hidescriptref }}</nowiki> </translate>
+
<nowiki>{{:Scriptblock|Genesis 1:1-2|2=scriptrefstyle=hidescriptref }}</nowiki>  
  
<translate><!--T:18--> which outputs:</translate>
+
which outputs:
  
<translate><!--T:19--> {{:Scriptblock|Genesis 1:1-2|2=scriptrefstyle=hidescriptref }}</translate>
+
{{:Scriptblock|Genesis 1:1-2|2=scriptrefstyle=hidescriptref }}
  
<translate><!--T:20--> For no verse numbers and no scripture reference, write:</translate>
+
For no verse numbers and no scripture reference, write:
  
<translate> <!--T:21--> <nowiki>{{:Scriptblock|Genesis 1:1-2|2=scriptrefstyle=hidescriptref|3=vsnumstyle=hidevsnum }}</nowiki> </translate>
+
<nowiki>{{:Scriptblock|Genesis 1:1-2|2=scriptrefstyle=hidescriptref|3=vsnumstyle=hidevsnum }}</nowiki>  
  
<translate><!--T:22--> which outputs:</translate>
+
which outputs:
  
<translate><!--T:23--> {{:Scriptblock|Genesis 1:1-2|2=scriptrefstyle=hidescriptref|3=vsnumstyle=hidevsnum }}</translate>
+
{{:Scriptblock|Genesis 1:1-2|2=scriptrefstyle=hidescriptref|3=vsnumstyle=hidevsnum }}

Revision as of 22:24, 26 August 2020

Templates Reference

All Documentation

This template provides an abstraction layer for the scriptblock class/style.

Example:

{{:Scriptblock|Genesis 1:1-2}} 

which outputs:

1 In the beginning, God created the heavens and the earth. 2 The earth was formless and empty. Darkness was on the surface of the deep and God’s Spirit was hovering over the surface of the waters. Genesis 1:1-2WEB

If you want to specify a particular version, use the code for the version you want:

{{:Scriptblock|Genesis 1:1-2|ver=KJV}} 

which outputs:

1 In the beginning God created the heaven and the earth. 2 And the earth was without form, and void; and darkness was upon the face of the deep. And the Spirit of God moved upon the face of the waters.Genesis 1:1-2KJV

If you don't want to display the verse numbers, write:

{{:Scriptblock|Genesis 1:1-2|2=vsnumstyle=hidevsnum }} 

which outputs:

1 In the beginning, God created the heavens and the earth. 2 The earth was formless and empty. Darkness was on the surface of the deep and God’s Spirit was hovering over the surface of the waters. Genesis 1:1-2WEB

If you don't want to display the scripture reference, write:

{{:Scriptblock|Genesis 1:1-2|2=scriptrefstyle=hidescriptref }} 

which outputs:

1 In the beginning, God created the heavens and the earth. 2 The earth was formless and empty. Darkness was on the surface of the deep and God’s Spirit was hovering over the surface of the waters. Genesis 1:1-2WEB

For no verse numbers and no scripture reference, write:

{{:Scriptblock|Genesis 1:1-2|2=scriptrefstyle=hidescriptref|3=vsnumstyle=hidevsnum }} 

which outputs:

1 In the beginning, God created the heavens and the earth. 2 The earth was formless and empty. Darkness was on the surface of the deep and God’s Spirit was hovering over the surface of the waters. Genesis 1:1-2WEB