Difference between revisions of "Thread:Talk:Templates Reference/How to use the scripture parsefunction"

From Theonomy Wiki
m
m
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
We use a wiki extension for quoting scripture. It provides the following benefits:
+
<noinclude>{{:Navleft|<translate>Templates Reference</translate>}}</noinclude>
 +
 
 +
<translate>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 standardizes the scripture references (because the translations are stored in a database)
 
# It makes inserting scripture references more convenient for contributors.
 
# It makes inserting scripture references more convenient for contributors.
 
# It allows users to choose their preferred translation [to be implemented soon].
 
# It allows users to choose their preferred translation [to be implemented soon].
# It makes rendering the wiki into other languages easier and more consistent.
+
# It makes rendering the wiki into other languages easier and more consistent.</translate>
  
So, if you want to quote a scripture passage, you simply write:
+
<translate>===Basic use===
 +
So, if you want to quote a scripture passage, you simply write:</translate>
  
  <nowiki>As Jesus said, {{#scripture: Matthew 5:17}}</nowiki>
+
  <nowiki><translate>As Jesus said, {{#scripture: Matthew 5:17}}</translate></nowiki>
  
which outputs:
+
<translate>which outputs:
 +
 
 +
As Jesus said, {{#scripture: Matthew 5:17}}</translate>
  
As Jesus said, {{#scripture: Matthew 5:17}}
+
===Adding the scripture reference===
  
 
If you want the reference listed, you can write:
 
If you want the reference listed, you can write:
Line 20: Line 25:
  
 
As Jesus said, {{#scripture: Matthew 5:17|scriptrefstyle=paren}}
 
As Jesus said, {{#scripture: Matthew 5:17|scriptrefstyle=paren}}
 +
 +
 +
===Hiding the verse numbers===
 +
If you want to hide the verse numbers, use the following:
 +
 +
<nowiki>As Jesus said, {{#scripture: Matthew 5:17|vsnumstyle=hidevsnum|scriptrefstyle=paren}}</nowiki>
 +
 +
which produces:
 +
 +
As Jesus said, {{#scripture: Matthew 5:17|vsnumstyle=hidevsnum|scriptrefstyle=paren}}
 +
 +
===Selecting a specific translation/version===
 +
If you want a specific version (perhaps because the wording is more accurate?), use the following:
 +
 +
<nowiki>As Jesus said, {{#scripture: Matthew 5:17|vsnumstyle=hidevsnum|scriptrefstyle=paren|ver=KJV}}</nowiki>
 +
 +
which produces:
 +
 +
As Jesus said, {{#scripture: Matthew 5:17|vsnumstyle=hidevsnum|scriptrefstyle=paren|ver=KJV}}

Latest revision as of 16:57, 10 August 2020

Templates Reference

We use a wiki extension for quoting scripture. It provides the following benefits:

  1. It standardizes the scripture references (because the translations are stored in a database)
  2. It makes inserting scripture references more convenient for contributors.
  3. It allows users to choose their preferred translation [to be implemented soon].
  4. 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:

<translate>As Jesus said, {{#scripture: Matthew 5:17}}</translate>

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 produces:

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

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 produces:

As Jesus said, 17 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