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

From Theonomy Wiki
m (Protected "Thread:Talk:Templates Reference/How to use the scripture parsefunction" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite) [Post replies=Allow only administrators] (indefinite)))
m
Line 5: Line 5:
 
# It makes rendering the wiki into other languages easier and more consistent.
 
# 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:
 
So, if you want to quote a scripture passage, you simply write:
  
Line 12: Line 13:
  
 
As Jesus said, {{#scripture: Matthew 5:17}}
 
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 23:
  
 
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}}

Revision as of 18:38, 24 July 2020

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:

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