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

From Theonomy Wiki
(Updating to match new version of source page)
 
(Updating to match new version of source page)
Line 1: Line 1:
<noinclude><languages />{{:Navup|Templates Reference|Templates Reference}}
+
<noinclude><languages />{{:Navup|Templates Reference|{{:TemplatesReferencename/{{:UIlang}}}}}}
  
{{:Navleft|Category:Documentation|All Documentation}}
+
{{:Navleft|Category:Documentation|{{:Alldocumentationname/{{:UIlang}}}}}}
 
</noinclude>
 
</noinclude>
This template provides an abstraction layer for the scriptblock class/style.
+
The Scriptblock template provides a way to nicely format scripture passages.
  
 
Example:
 
Example:
Line 21: Line 21:
 
{{:Scriptblock|Genesis 1:1-2|ver=KJV}}
 
{{:Scriptblock|Genesis 1:1-2|ver=KJV}}
  
If you don't want to display the verse numbers, write:
+
If you do not want to display the verse numbers, write:
  
 
  <nowiki>{{:Scriptblock|Genesis 1:1-2|2=vsnumstyle=hidevsnum }}</nowiki>  
 
  <nowiki>{{:Scriptblock|Genesis 1:1-2|2=vsnumstyle=hidevsnum }}</nowiki>  

Revision as of 22:38, 26 August 2020

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

Templates Reference

All documentation

The Scriptblock template provides a way to nicely format scripture passages.

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 do not 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