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

From Theonomy Wiki
m (added version selection)
m (added translate tags)
Line 1: Line 1:
<noinclude>{{:Navleft|Templates Reference}}</noinclude>
+
<noinclude><languages />{{:Navleft|<translate>Templates Reference</translate>}}</noinclude>
  
We use a wiki extension for quoting scripture. It provides the following benefits:
+
<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>
  
===Basic use===
+
<translate>===Basic use===
So, if you want to quote a scripture passage, you simply write:
+
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}}
+
As Jesus said, {{#scripture: Matthew 5:17}}</translate>
  
 
===Adding the scripture reference===
 
===Adding the scripture reference===

Revision as of 16:55, 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