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

From Theonomy Wiki
m
m
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 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|vsnumstyle=hidevsnum}}</nowiki>  
  
 
which outputs:
 
which outputs:
  
{{:Scriptblock|Genesis 1:1|vsnumstyle=hidevsnum}}
+
{{:Scriptblock|Genesis 1:1-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|scriptrefstyle=hidescriptref}}</nowiki>  
  
 
which outputs:
 
which outputs:
  
{{:Scriptblock|Genesis 1:1|scriptrefstyle=hidescriptref}}
+
{{:Scriptblock|Genesis 1:1-2|scriptrefstyle=hidescriptref}}

Revision as of 22:57, 24 July 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 don't want to display the verse numbers, write:

{{:Scriptblock|Genesis 1:1-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|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