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

From Theonomy Wiki
m (Protected "Thread:Talk:Scriptblockformat/How to use this template" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite) [Post replies=Allow only administrators] (indefinite)))
m
Line 13: Line 13:
  
 
{{:Scriptblockformat|In the beginning, God created the heavens and the earth.}}
 
{{:Scriptblockformat|In the beginning, God created the heavens and the earth.}}
 +
 +
This is helpful when you are quoting a scripture partially, but want to use the standardized scriptblock format. For example:
 +
 +
<nowiki>{{:Scriptblockformat|{{:Erasesentencefromend|{{#scripture:Genesis 1:28}}|1| ...}}}}</nowiki>
 +
 +
which outputs:
 +
 +
{{:Scriptblockformat|{{:Erasesentencefromend|{{#scripture:Genesis 1:28}}|1| ...}}}}

Revision as of 17:29, 24 July 2020

This template provides an abstraction layer for the scriptblock class, but it allows you to use any input, not just a label for scripture lookup. If you just want to provide a scripture label, then use

{{:Scriptblock|Genesis 1:1}} 

which outputs:

1 In the beginning, God created the heavens and the earth. Genesis 1:1WEB

Otherwise, use:

{{:Scriptblockformat|In the beginning, God created the heavens and the earth.}}

which outputs:

In the beginning, God created the heavens and the earth.

This is helpful when you are quoting a scripture partially, but want to use the standardized scriptblock format. For example:

{{:Scriptblockformat|{{:Erasesentencefromend|{{#scripture:Genesis 1:28}}|1| ...}}}}

which outputs:

28 God blessed them. God said to them, “Be fruitful, multiply, fill the earth, and subdue it. ...” Genesis 1:28WEB