Templates Reference
We use several custom templates which help you to format your contributions to the wiki:
Quote template
This is a template for standardizing blockquotes.
Example:
Henry van Til wrote: {{:Quote|Culture is not something neutral, without ethical or religious connotation. Human achievement is not purposeless but seeks to achieve certain ends, which are either good or bad. Since man is a moral being, his culture cannot be a-moral. Because man is a religious being, his culture too, must be religiously oriented. There is no pure culture in the sense of being neutral religiously, or without positive or negative value ethically.<ref>Henry van Til, ''Calvinistic Concept of Culture'', 27</ref>}}
which outputs:
Henry van Til wrote:
Culture is not something neutral, without ethical or religious connotation. Human achievement is not purposeless but seeks to achieve certain ends, which are either good or bad. Since man is a moral being, his culture cannot be a-moral. Because man is a religious being, his culture too, must be religiously oriented. There is no pure culture in the sense of being neutral religiously, or without positive or negative value ethically.[1]
Notice that the <ref> tag will create an automatically numbered footnote at the bottom of the page.
#scripture function
We use a wiki extension for quoting scripture. It provides the following benefits:
- It standardizes the scripture references (because the translations are stored in a database)
- It makes inserting scripture references more convenient for contributors.
- It allows users to choose their preferred translation [to be implemented soon].
- It makes rendering the wiki into other languages easier and more consistent.
Basic use
So, if you want to quote a scripture passage, you simply write:
As Jesus said, {{#scripture: Matthew 5:17}}
which outputs:
As Jesus said, 17 “Don’t think that I came to destroy the law or the prophets. I didn’t come to destroy, but to fulfill. Matthew 5:17WEB
Adding the scripture reference
If you want the reference listed, you can write:
As Jesus said, {{#scripture: Matthew 5:17|scriptrefstyle=paren}}
which outputs:
As Jesus said, 17 “Don’t think that I came to destroy the law or the prophets. I didn’t come to destroy, but to fulfill. Matthew 5:17WEB
Hiding the verse numbers
If you want to hide the verse numbers, use the following:
As Jesus said, {{#scripture: Matthew 5:17|vsnumstyle=hidevsnum|scriptrefstyle=paren}}
which outputs:
As Jesus said, “Don’t think that I came to destroy the law or the prophets. I didn’t come to destroy, but to fulfill. Matthew 5:17WEB
Selecting a specific translation/version
If you want a specific version (perhaps because the wording is more accurate?), use the following:
As Jesus said, {{#scripture: Matthew 5:17|vsnumstyle=hidevsnum|scriptrefstyle=paren|ver=KJV}}
which outputs:
As Jesus said, Think not that I am come to destroy the law, or the prophets: I am not come to destroy, but to fulfil.Matthew 5:17KJV
Scriptblock
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:
In the beginning, God created the heavens and the earth. 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.
For no verse numbers and no scripture reference, write:
{{:Scriptblock|Genesis 1:1-2|2=scriptrefstyle=hidescriptref|3=vsnumstyle=hidevsnum }}
which outputs:
In the beginning, God created the heavens and the earth. 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.
Scriptblockformat
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
And if you want to add the scripture label to the quote, do this:
{{:Scriptblockformat|{{:Erasesentencefromend|{{#scripture:Genesis 1:28|scriptrefstyle=scriptrefblock}}|1| ...}}}}
which outputs:
28 God blessed them. God said to them, “Be fruitful, multiply, fill the earth, and subdue it. ...” Genesis 1:28WEB
Or, if you need to set a custom scripture reference, you can do it as a parameter named 'scriptref':
{{:Scriptblockformat|{{:Erasesentencefromend|{{#scripture:Genesis 1:28|1| ...}}|scriptref=Gen. 1:28}}
which outputs:
28 God blessed them. God said to them, “Be fruitful, multiply, fill the earth, and subdue it. ...” Genesis 1:28WEBGen. 1:28
Erasesentence
This template erases one or more sentences from the beginning of the first parameter, based upon the number specified in the second parameter (default 1). It will insert the text of the third parameter in place of the erased sentence. Note that the matching algorithm will skip an initial <span> tag, and an initial spanned number (scripture verse), before erasing.
The purpose is to be able to partially quote a verse of scripture, but allow for input from the different translations.
Example:
{{:Erasesentence|{{#scripture:Exodus 34:19-20}}|1|...}}
Input: 19 “All that opens the womb is mine; and all your livestock that is male, the firstborn of cow and sheep. 20 You shall redeem the firstborn of a donkey with a lamb. If you will not redeem it, then you shall break its neck. You shall redeem all the firstborn of your sons. No one shall appear before me empty. Exodus 34:19-20WEB
Output: 19 ... and all your livestock that is male, the firstborn of cow and sheep. 20 You shall redeem the firstborn of a donkey with a lamb. If you will not redeem it, then you shall break its neck. You shall redeem all the firstborn of your sons. No one shall appear before me empty. Exodus 34:19-20WEB
See also: Erasesentencefromend which does the same thing from the end of the input, and Extractsentence which allows extraction of one of the sentences in the input.
Erasesentencefromend
This template erases one or more sentences from the end of the first parameter, based upon the number specified in the second parameter (default 1). The third parameter is optional text used to replace the sentences.
The purpose is to be able to partially quote a verse of scripture, but allow for input from the different translations.
Example:
{{:Erasesentencefromend|{{#scripture:Exodus 34:19-20}}|1|...}}
Input: 19 “All that opens the womb is mine; and all your livestock that is male, the firstborn of cow and sheep. 20 You shall redeem the firstborn of a donkey with a lamb. If you will not redeem it, then you shall break its neck. You shall redeem all the firstborn of your sons. No one shall appear before me empty. Exodus 34:19-20WEB
Output: 19 “All that opens the womb is mine; and all your livestock that is male, the firstborn of cow and sheep. 20 You shall redeem the firstborn of a donkey with a lamb. If you will not redeem it, then you shall break its neck. You shall redeem all the firstborn of your sons.... Exodus 34:19-20WEB
See also: Erasesentence which does the same thing from the beginning of the input.
Extractsentence
This template extracts a particular sentence from the input of the first parameter, based upon the number specified in the second parameter (default 1).
The purpose is to be able to partially quote a verse of scripture, but allow for input from the different translations.
Example:
<sup>20</sup> {{:Extractsentence|{{#scripture:Exodus 34:20}}|2}}...
Input: 20 You shall redeem the firstborn of a donkey with a lamb. If you will not redeem it, then you shall break its neck. You shall redeem all the firstborn of your sons. No one shall appear before me empty. Exodus 34:20WEB
Output: 20 ...If you will not redeem it, then you shall break its neck.
See also: Erasesentence which erases one or more sentences from the beginning of the input and Erasesentencefromend which does the same thing from the end of the input.
Chiasm
This template allows you to create a chiasm structure. Each level of the chiasm is formatted on its own line. The first parameter is the label (e.g. A, B, C'). The second parameter is the indent level. The third parameter is the scripture text.
Example:
{{:Chiasm|A|1|{{#scripture:Lev 24:17}}}} {{:Chiasm|B|2|{{#scripture:Lev 24:18}}}} {{:Chiasm|C|3|{{#scripture:Lev 24:19}}}} {{:Chiasm|D|4|{{:Erasesentencefromend|{{#scripture:Lev 24:20}}|1}}}} {{:Chiasm|C'|3|{{:Erasesentence|{{#scripture:Lev 24:20}}|1|...}}}} {{:Chiasm|B'|2|{{:Erasesentencefromend|{{#scripture:Lev 24:21}}|1|...}}}} {{:Chiasm|A'|1|{{:Erasesentence|{{#scripture:Lev 24:21}}|1|...}}}}
Which outputs: A 17 “‘He who strikes any man mortally shall surely be put to death. Leviticus 24:17WEB B 18 He who strikes an animal mortally shall make it good, life for life. Leviticus 24:18WEB C 19 If anyone injures his neighbor, it shall be done to him as he has done: Leviticus 24:19WEB D 20 fracture for fracture, eye for eye, tooth for tooth. Leviticus 24:20WEB C' 20 ... It shall be done to him as he has injured someone. Leviticus 24:20WEB B' 21 He who kills an animal shall make it good;... Leviticus 24:21WEB A' 21 ... and he who kills a man shall be put to death. Leviticus 24:21WEB
View more examples at the Feature: Chiasm page.
- ↑ Henry van Til, Calvinistic Concept of Culture, 27