Template:Bible ref: Difference between revisions

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}}}}}}|}}]</includeonly>
<includeonly>[https://www.biblegateway.com/passage/?search={{anchorencode:{{{book}}}}}+{{{chap}}}{{#if:{{{verses|{{{verse|}}}}}}|%3A{{{verses|{{{verse}}}}}}|}}&version={{#switch: {{anchorencode:{{{book}}}}}|Tobit|Judith|1Maccabees|1_Maccabees|2Maccabees|2_Maccabees|Wisdom|Sirach|Baruch=DRA|{{{version|NIV}}}}} {{{book}}} {{{chap}}}{{#if:{{{verses|{{{verse|}}}}}}|<nowiki>:</nowiki>{{{verses|{{{verse}}}}}}|}}]</includeonly>
<noinclude>
<noinclude>


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]].
The '''<nowiki>{{Bible ref}}</nowiki>''' template sets up the external link to [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).
To use, specify the following parameters (only book and chapter are required; the others have defaults).
Line 17: Line 17:


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.
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.
'''Example input (Deuterocanonical books): <nowiki>{{Bible ref|book=Wisdom|chap=3|verses=1|version=DRA}}</nowiki>'''
'''Example output (Deuterocanonical books): {{Bible ref|book=Wisdom|chap=3|verses=1|version=DRA}}'''




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