Difference between revisions of "Template:Bible ref"
| Line 12: | Line 12: | ||
'''Example: <nowiki>{{Bible ref|book=1Corinthians|chap=1|verses=1-18|version=ASV}}</nowiki>''' | '''Example: <nowiki>{{Bible ref|book=1Corinthians|chap=1|verses=1-18|version=ASV}}</nowiki>''' | ||
| − | '''NOTE A:''' 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 | + | '''NOTE A:''' Books which have multiple volumes (such as I & II Corintians) must be specified with no space between the book number and book name, or with an underscore (_) between the book number and name. (i.e. ICorinthians and 1Corinthians and I_Corinthians and 1_Corinthians all work, but (I Corinthians) does not.) |
'''NOTE B:''' If the version is not supplied, the link will be to the NIV, but the version will not show. To show that the link is to the NIV, supply NIV to the ''version'' parameter. | '''NOTE B:''' If the version is not supplied, the link will be to the NIV, but the version will not show. To show that the link is to the NIV, supply NIV to the ''version'' parameter. | ||
Revision as of 16:19, June 6, 2007
| Template: Bible ref | |
|---|---|
| Use on | Articles (mainly) |
| Use for | Linking to a Bible passage |
| Category template applies to page | (none) |
| Template Parameters (See using templates). | |||
|---|---|---|---|
| Name | Purpose | Required? | Comment |
| language | English, etc. | no | Defaults to English |
| book | Bible book | yes | see note about books with spaces |
| chap | Chapter(s) | yes | |
| verses | verse(s) | no | Defaults to entire chapter(s) |
| version | Translation | no | Defaults to NIV (see note) |
This template sets up the external link to BibleGateway for providing a chapter or chapter and verse reference for any passage in the Bible, in any version in any language.
Example: {{Bible ref|book=1Corinthians|chap=1|verses=1-18|version=ASV}}
NOTE A: Books which have multiple volumes (such as I & II Corintians) must be specified with no space between the book number and book name, or with an underscore (_) between the book number and name. (i.e. ICorinthians and 1Corinthians and I_Corinthians and 1_Corinthians all work, but (I Corinthians) does not.)
NOTE B: If the version is not supplied, the link will be to the NIV, but the version will not show. To show that the link is to the NIV, supply NIV to the version parameter.
Note: this template does not "substitute" well. It tends to leave the "if" statements in place.
Alternative:
For framed quotes, use {{Bible quote}}.