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

From Theonomy Wiki
(New thread: How to use the #scripture parsefunction)
 
m
Line 7: Line 7:
 
So, if you want to quote a scripture passage, you simply write:
 
So, if you want to quote a scripture passage, you simply write:
  
  <nowiki>As Jesus said, "{{#scripture: Matthew 5:17}}"</nowiki>
+
  <nowiki>As Jesus said, {{#scripture: Matthew 5:17}}</nowiki>
  
 
which outputs:
 
which outputs:
  
As Jesus said, "{{#scripture: Matthew 5:17}}"
+
As Jesus said, {{#scripture: Matthew 5:17}}
 +
 
 +
If you want the reference listed, you can write:
 +
 
 +
nowiki>As Jesus said, {{#scripture: Matthew 5:17|scriptrefstyle=paren}}</nowiki>
 +
 
 +
which outputs:
 +
 
 +
As Jesus said, {{#scripture: Matthew 5:17|scriptrefstyle=paren}}

Revision as of 18:04, 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.

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

If you want the reference listed, you can write:

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

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