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

From Theonomy Wiki
(Marked this version for translation)
(add to Documenation category)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude><languages />{{:Navup|Templates Reference|<translate><!--T:1--> Templates Reference</translate>}}
+
<noinclude><languages />{{:Navup|Templates Reference|{{:TemplatesReferencename/{{:UIlang}}}}}}
 +
[[Category:Documentation]]
  
{{:Navleft|Category:Documentation|<translate><!--T:2--> All Documentation</translate>}}
+
{{:Navleft|Category:Documentation|{{:Alldocumentationname/{{:UIlang}}}}}}
 
</noinclude>
 
</noinclude>
<translate><!--T:3-->
+
<translate><!--T:24--> The Scriptblock template provides a way to nicely format scripture passages.</translate>
This template provides an abstraction layer for the scriptblock class/style.
 
  
<!--T:4-->
+
<translate><!--T:25--> Example:</translate>
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>
+
<translate><!--T:26--> which outputs:</translate>
  
<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>
+
<translate><!--T:27--> If you want to specify a particular version, use the code for the [[:Scripture versions|version]] you want:</translate>
  
<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>
+
<translate><!--T:28--> which outputs:</translate>
  
<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>
+
<translate><!--T:29--> If you do not want to display the verse numbers, write:</translate>
  
<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>
+
<translate><!--T:30--> which outputs:</translate>
  
<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>
+
<translate><!--T:31--> If you don't want to display the scripture reference, write:</translate>
  
<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>
+
<translate><!--T:32--> which outputs:</translate>
  
<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>
+
<translate><!--T:33--> For no verse numbers and no scripture reference, write:</translate>
  
<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>
+
<translate><!--T:34--> which outputs:</translate>
  
<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 }}
 +
[[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