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

From Theonomy Wiki
(re-add translate tags)
(add to Documenation category)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude><languages />{{:Navup|Templates Reference|{{:TemplatesReferencename/{{:UIlang}}}}}}
 
<noinclude><languages />{{:Navup|Templates Reference|{{:TemplatesReferencename/{{:UIlang}}}}}}
 +
[[Category:Documentation]]
  
{{:Navleft|Category:Documentation|{{:AllDocumentationname/{{:UIlang}}}}}}
+
{{:Navleft|Category:Documentation|{{:Alldocumentationname/{{:UIlang}}}}}}
 
</noinclude>
 
</noinclude>
<translate>The Scriptblock template provides a way to nicely format scripture passages.</translate>
+
<translate><!--T:24--> The Scriptblock template provides a way to nicely format scripture passages.</translate>
  
<translate>Example:</translate>
+
<translate><!--T:25--> Example:</translate>
  
 
  <nowiki>{{:Scriptblock|Genesis 1:1-2}}</nowiki>  
 
  <nowiki>{{:Scriptblock|Genesis 1:1-2}}</nowiki>  
  
<translate>which outputs:</translate>
+
<translate><!--T:26--> which outputs:</translate>
  
 
{{:Scriptblock|Genesis 1:1-2}}
 
{{:Scriptblock|Genesis 1:1-2}}
  
<translate>If you want to specify a particular version, use the code for the [[:Scripture versions|version]] you want:</translate>
+
<translate><!--T:27--> If you want to specify a particular version, use the code for the [[:Scripture versions|version]] you want:</translate>
  
 
  <nowiki>{{:Scriptblock|Genesis 1:1-2|ver=KJV}}</nowiki>  
 
  <nowiki>{{:Scriptblock|Genesis 1:1-2|ver=KJV}}</nowiki>  
  
<translate>which outputs:</translate>
+
<translate><!--T:28--> which outputs:</translate>
  
 
{{:Scriptblock|Genesis 1:1-2|ver=KJV}}
 
{{:Scriptblock|Genesis 1:1-2|ver=KJV}}
  
<translate>If you do not want to display the verse numbers, write:</translate>
+
<translate><!--T:29--> If you do not want to display the verse numbers, write:</translate>
  
 
  <nowiki>{{:Scriptblock|Genesis 1:1-2|2=vsnumstyle=hidevsnum }}</nowiki>  
 
  <nowiki>{{:Scriptblock|Genesis 1:1-2|2=vsnumstyle=hidevsnum }}</nowiki>  
  
<translate>which outputs:</translate>
+
<translate><!--T:30--> which outputs:</translate>
  
 
{{:Scriptblock|Genesis 1:1-2|2=vsnumstyle=hidevsnum }}
 
{{:Scriptblock|Genesis 1:1-2|2=vsnumstyle=hidevsnum }}
  
<translate>If you don't want to display the scripture reference, write:</translate>
+
<translate><!--T:31--> If you don't want to display the scripture reference, write:</translate>
  
 
  <nowiki>{{:Scriptblock|Genesis 1:1-2|2=scriptrefstyle=hidescriptref }}</nowiki>  
 
  <nowiki>{{:Scriptblock|Genesis 1:1-2|2=scriptrefstyle=hidescriptref }}</nowiki>  
  
<translate>which outputs:</translate>
+
<translate><!--T:32--> which outputs:</translate>
  
 
{{:Scriptblock|Genesis 1:1-2|2=scriptrefstyle=hidescriptref }}
 
{{:Scriptblock|Genesis 1:1-2|2=scriptrefstyle=hidescriptref }}
  
<translate>For no verse numbers and no scripture reference, write:</translate>
+
<translate><!--T:33--> For no verse numbers and no scripture reference, write:</translate>
  
 
  <nowiki>{{:Scriptblock|Genesis 1:1-2|2=scriptrefstyle=hidescriptref|3=vsnumstyle=hidevsnum }}</nowiki>  
 
  <nowiki>{{:Scriptblock|Genesis 1:1-2|2=scriptrefstyle=hidescriptref|3=vsnumstyle=hidevsnum }}</nowiki>  
  
<translate>which outputs:</translate>
+
<translate><!--T:34--> which outputs:</translate>
  
 
{{:Scriptblock|Genesis 1:1-2|2=scriptrefstyle=hidescriptref|3=vsnumstyle=hidevsnum }}
 
{{:Scriptblock|Genesis 1:1-2|2=scriptrefstyle=hidescriptref|3=vsnumstyle=hidevsnum }}
 +
[[Category:Documentation]]

Latest revision as of 23:17, 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