Difference between revisions of "How to use the scripture function"

From Theonomy Wiki
(Created page with "<noinclude><languages />{{:Navleft|<translate>Templates Reference</translate>}}</noinclude> <translate>We use a wiki extension for quoting scripture. It provides the followin...")
 
(moving documentation out of the talk section, so that it can be translated)
Line 16: Line 16:
 
As Jesus said, {{#scripture: Matthew 5:17}}</translate>
 
As Jesus said, {{#scripture: Matthew 5:17}}</translate>
  
===Adding the scripture reference===
+
<translate>===Adding the scripture reference===
  
If you want the reference listed, you can write:
+
If you want the reference listed, you can write:</translate>
  
  <nowiki>As Jesus said, {{#scripture: Matthew 5:17|scriptrefstyle=paren}}</nowiki>
+
  <nowiki><translate>As Jesus said, {{#scripture: Matthew 5:17|scriptrefstyle=paren}}</translate></nowiki>
  
which outputs:
+
<translate>which outputs:
  
As Jesus said, {{#scripture: Matthew 5:17|scriptrefstyle=paren}}
+
As Jesus said, {{#scripture: Matthew 5:17|scriptrefstyle=paren}}</translate>
  
  
===Hiding the verse numbers===
+
<translate>===Hiding the verse numbers===
If you want to hide the verse numbers, use the following:
+
If you want to hide the verse numbers, use the following:</translate>
  
  <nowiki>As Jesus said, {{#scripture: Matthew 5:17|vsnumstyle=hidevsnum|scriptrefstyle=paren}}</nowiki>
+
  <nowiki><translate>As Jesus said, {{#scripture: Matthew 5:17|vsnumstyle=hidevsnum|scriptrefstyle=paren}}</translate></nowiki>
  
which produces:
+
<translate>which outputs:
  
As Jesus said, {{#scripture: Matthew 5:17|vsnumstyle=hidevsnum|scriptrefstyle=paren}}
+
As Jesus said, {{#scripture: Matthew 5:17|vsnumstyle=hidevsnum|scriptrefstyle=paren}}</translate>
  
===Selecting a specific translation/version===
+
<translate>===Selecting a specific translation/version===
If you want a specific version (perhaps because the wording is more accurate?), use the following:
+
If you want a specific version (perhaps because the wording is more accurate?), use the following:</translate>
  
  <nowiki>As Jesus said, {{#scripture: Matthew 5:17|vsnumstyle=hidevsnum|scriptrefstyle=paren|ver=KJV}}</nowiki>
+
  <nowiki><translate>As Jesus said, {{#scripture: Matthew 5:17|vsnumstyle=hidevsnum|scriptrefstyle=paren|ver=KJV}}</translate></nowiki>
  
which produces:
+
<translate>which outputs:
  
As Jesus said, {{#scripture: Matthew 5:17|vsnumstyle=hidevsnum|scriptrefstyle=paren|ver=KJV}}
+
As Jesus said, {{#scripture: Matthew 5:17|vsnumstyle=hidevsnum|scriptrefstyle=paren|ver=KJV}}</translate>
 +
 
 +
[[Category:Documentation]]

Revision as of 17:03, 10 August 2020

Other languages:
English • ‎español • ‎italiano • ‎suomi • ‎svenska • ‎íslenska • ‎հայերեն • ‎বাংলা • ‎한국어

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:

<translate>As Jesus said, {{#scripture: Matthew 5:17|scriptrefstyle=paren}}</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


Hiding the verse numbers

If you want to hide the verse numbers, use the following:

<translate>As Jesus said, {{#scripture: Matthew 5:17|vsnumstyle=hidevsnum|scriptrefstyle=paren}}</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

Selecting a specific translation/version

If you want a specific version (perhaps because the wording is more accurate?), use the following:

<translate>As Jesus said, {{#scripture: Matthew 5:17|vsnumstyle=hidevsnum|scriptrefstyle=paren|ver=KJV}}</translate>

which outputs:

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