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

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

Revision as of 21:51, 10 August 2020

Other languages:
Bahasa Indonesia • ‎Deutsch • ‎English • ‎español • ‎français • ‎italiano • ‎português • ‎íslenska • ‎русский • ‎հայերեն • ‎বাংলা • ‎한국어

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