| Line 1: |
Line 1: |
| | <includeonly><blockquote style="background: #F9F9F9; border: 1px solid #AAAAAA; padding: .3em;{{#if:{{{rmargin|}}}|margin-right:{{{rmargin}}}}}"> | | <includeonly><blockquote style="background: #F9F9F9; border: 1px solid #AAAAAA; padding: .3em;{{#if:{{{rmargin|}}}|margin-right:{{{rmargin}}}}}"> |
| − | {{{1}}} [http://www.biblegateway.com/cgi-bin/bible?language={{{language|english}}}&passage={{{book}}}+{{{chap}}}{{#if:{{{verses|}}}|%3A{{{verses}}}|}}&version={{{version|NIV}}} {{{book}}} {{{chap}}}{{#if:{{{verses|}}}|<nowiki>:</nowiki>{{{verses}}}|}}] {{#if:{{{version|}}}|({{{version}}})|}} | + | {{{1}}} [http://www.biblegateway.com/cgi-bin/bible?language={{{language|english}}}&passage={{{book}}}+{{{chap}}}{{#if:{{{verses|}}}|%3A{{{verses}}}|}}&version={{#switch: {{{book}}}|Tobit|Judith|1Maccabees|1_Maccabees|2Maccabees|2_Maccabees|Wisdom|Sirach|Baruch=63|{{{version|NIV}}}}} {{{book}}} {{{chap}}}{{#if:{{{verses|}}}|<nowiki>:</nowiki>{{{verses}}}|}}] {{#switch: {{{book}}}|Tobit|Judith|1Maccabees|1_Maccabees|2Maccabees|2_Maccabees|Wisdom|Sirach|Baruch=(Douay-Rheims)|{{#if:{{{version|}}}|({{{version}}})|}}}} |
| | </blockquote></includeonly><noinclude> | | </blockquote></includeonly><noinclude> |
| | {{TemplateDoc|pages=Articles (mainly)|purpose=Linking to a Bible passage|cat=}} | | {{TemplateDoc|pages=Articles (mainly)|purpose=Linking to a Bible passage|cat=}} |
| Line 28: |
Line 28: |
| | Note: this template does ''not'' "substitute" well. It tends to leave the "if" statements in place. | | 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.)</noinclude> | + | 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 number for the Douay-Rheims is 63. |
| | + | |
| | + | </noinclude> |