Difference between revisions of "Thread:Talk:Scriptblock/How to use this template"

From Theonomy Wiki
m
m
 
(8 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
Example:
 
Example:
  
  <nowiki>{{:Scriptblock|Genesis 1:1}}</nowiki>  
+
  <nowiki>{{:Scriptblock|Genesis 1:1-2}}</nowiki>  
  
 
which outputs:
 
which outputs:
  
{{:Scriptblock|Genesis 1:1}}
+
{{:Scriptblock|Genesis 1:1-2}}
 +
 
 +
If you want to specify a particular version, use the code for the [[:Scripture versions|version]] you want:
 +
 
 +
<nowiki>{{:Scriptblock|Genesis 1:1-2|ver=KJV}}</nowiki>
 +
 
 +
which outputs:
 +
 
 +
{{:Scriptblock|Genesis 1:1-2|ver=KJV}}
  
 
If you don't want to display the verse numbers, write:
 
If you don't want to display the verse numbers, write:
  
  <nowiki>{{:Scriptblock|Genesis 1:1|vsnumstyle=hidevsnum}}</nowiki>  
+
  <nowiki>{{:Scriptblock|Genesis 1:1-2|2=vsnumstyle=hidevsnum }}</nowiki>  
  
 
which outputs:
 
which outputs:
  
{{:Scriptblock|Genesis 1:1|vsnumstyle=hidevsnum}}
+
{{:Scriptblock|Genesis 1:1-2|2=vsnumstyle=hidevsnum }}
  
 
If you don't want to display the scripture reference, write:
 
If you don't want to display the scripture reference, write:
  
  <nowiki>{{:Scriptblock|Genesis 1:1|scriptrefstyle=hidescriptref}}</nowiki>  
+
  <nowiki>{{:Scriptblock|Genesis 1:1-2|2=scriptrefstyle=hidescriptref }}</nowiki>
 +
 
 +
which outputs:
 +
 
 +
{{:Scriptblock|Genesis 1:1-2|2=scriptrefstyle=hidescriptref }}
 +
 
 +
For no verse numbers and no scripture reference, write:
 +
 
 +
<nowiki>{{:Scriptblock|Genesis 1:1-2|2=scriptrefstyle=hidescriptref|3=vsnumstyle=hidevsnum }}</nowiki>  
  
 
which outputs:
 
which outputs:
  
{{:Scriptblock|Genesis 1:1|scriptrefstyle=hidescriptref}}
+
{{:Scriptblock|Genesis 1:1-2|2=scriptrefstyle=hidescriptref|3=vsnumstyle=hidevsnum }}

Latest revision as of 00:37, 4 August 2020

Templates Reference

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