Template:Bible quote: Difference between revisions

From ReformedWiki.org, the wiki for Reformed Christianity
Maury (talk | contribs)
No edit summary
Maury (talk | contribs)
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>[http://www.biblegateway.com/cgi-bin/bible?language={{{language|english}}}&passage={{anchorencode:{{{book}}}}}+{{{chap}}}{{#if:{{{verses|{{{verse|}}}}}}|%3A{{{verses|{{{verse}}}}}}|}}&version={{#switch: {{anchorencode:{{{book}}}}}|Tobit|Judith|1Maccabees|1_Maccabees|2Maccabees|2_Maccabees|Wisdom|Sirach|Baruch=63|{{{version|NIV}}}}} {{{book}}} {{{chap}}}{{#if:{{{verses|{{{verse|}}}}}}|<nowiki>:</nowiki>{{{verses|{{{verse}}}}}}|}}] {{#switch: {{anchorencode:{{{book}}}}}|Tobit|Judith|1Maccabees|1_Maccabees|2Maccabees|2_Maccabees|Wisdom|Sirach|Baruch=(Douay-Rheims)|{{#if:{{{version|}}}|({{{version}}})|}}}}</includeonly><noinclude>
<includeonly><blockquote style="background: #F9F9F9; border: 1px solid #AAAAAA; padding: .3em;">
[[de:Vorlage:Bibelstelle]]
{{{1}}} {{bible ref|language={{{language|english}}}|book={{{book}}}|chap={{{chap}}}|verses={{{verses|{{{verse|}}}}}}|version={{{version|}}}}}
[[es:Plantilla:Biblia ref]]
</blockquote></includeonly><noinclude>
[[fr:Modèle:Bible ref]]
[[pt:Predefinição:Biblia ref]]


The '''<nowiki>{{Bible ref}}</nowiki>''' template sets up the external link to [[Outside_home::http://www.biblegateway.com/|BibleGateway]] for providing a chapter and verse reference for any book of the Bible, in any version in any language. Use it without a verse parameter for entire chapters. For framed quotes of Bible verses, use the [[template:Bible quote|Bible quote template]].


To use, specify the following parameters (only book and chapter are required; the others have defaults).
The '''<nowiki>{{Bible quote}}</nowiki>''' template creates a grey box that is the preferred format for quoting scripture. The template also incorporates the [[Template:Bible ref|Bible ref template]] for linking the scripture reference to [http://www.biblegateway.com/ BibleGateway].


'''Example input: <nowiki>{{Bible ref|book=1 Corinthians|chap=1|verses=1-18|version=ASV}}</nowiki>'''
To use, specify the following parameters (only book and chapter are required; the others have defaults).
 
'''Example: <nowiki>{{Bible quote|place quote here|book=Matthew|chap=1|verses=1-18|version=ASV}}</nowiki>'''


* language = the language you want the quote in. Default is English.
* language = the language you want the quote in. Default is English.
Line 15: Line 14:
* chap = the number of the chapter. Required.
* chap = the number of the chapter. Required.
* verses = one verse or a range of verses. Default is the entire chapter.
* verses = one verse or a range of verses. Default is the entire chapter.
* version = the version you want the quote in. Default is NIV&mdash;but if it is not specified, it will not be displayed. If you are quoting explicitly from any given version of the Bible, including the NIV, please specify it explicitly.
* version = the version you want the quote in. Default is NIV--but if it is not specified, it will not be specifically mentioned. If you are quoting explicitly from any given version of the Bible, including the NIV, please so specify explicitly.


'''Example output: {{Bible ref|book=1 Corinthians|chap=1|verses=1-18|version=ASV}}'''
Note: this template does ''not'' "substitute" well. It tends to leave the "if" statements in place.


This template also supports the Douay-Rheims English-language Catholic Bible, with its seven [[deuterocanonical books]]. If you specify Tobit, Judith, 1&nbsp;Maccabees, 2&nbsp;Maccabees, Wisdom, Sirach, or Baruch as the "book" parameter, the template will link to the Douay-Rheims and will ignore any version specification. The version number for the Douay-Rheims is 63.
Also note that books which have multiple volumes (such as I & II Corintians) must be specified with no space between the book number and book name (i.e. ICorinthians and 1Corinthians both work, but (I Corinthians) does not.)


'''Update''': This template now supports the Douay-Rheims English-language Catholic Bible, with its seven [[deuterocanonical books]]. If you specify Tobit, Judith, 1_Maccabees, 2_Maccabees, Wisdom, Sirach, or Baruch as the "book" parameter, the template will call upon the Douay-Rheims and will ignore any version specification. The version code for the Douay-Rheims is DRA.


[[Category:Template|{{PAGENAME}}]]
[[Category:Template|{{PAGENAME}}]]</noinclude>
</noinclude>

Latest revision as of 02:37, 31 March 2026


The {{Bible quote}} template creates a grey box that is the preferred format for quoting scripture. The template also incorporates the Bible ref template for linking the scripture reference to BibleGateway.

To use, specify the following parameters (only book and chapter are required; the others have defaults).

Example: {{Bible quote|place quote here|book=Matthew|chap=1|verses=1-18|version=ASV}}

  • language = the language you want the quote in. Default is English.
  • book = the book of the Bible. Required.
  • chap = the number of the chapter. Required.
  • verses = one verse or a range of verses. Default is the entire chapter.
  • version = the version you want the quote in. Default is NIV--but if it is not specified, it will not be specifically mentioned. If you are quoting explicitly from any given version of the Bible, including the NIV, please so specify explicitly.

Note: this template does not "substitute" well. It tends to leave the "if" statements in place.

Also note that books which have multiple volumes (such as I & II Corintians) must be specified with no space between the book number and book name (i.e. ICorinthians and 1Corinthians both work, but (I Corinthians) does not.)

Update: This template now supports the Douay-Rheims English-language Catholic Bible, with its seven deuterocanonical books. If you specify Tobit, Judith, 1_Maccabees, 2_Maccabees, Wisdom, Sirach, or Baruch as the "book" parameter, the template will call upon the Douay-Rheims and will ignore any version specification. The version code for the Douay-Rheims is DRA.