Difference between revisions of "Template:Bible ref"

From Conservapedia
Jump to navigation Jump to search
(Song of Solomon as well; not just numbered books; copyedits)
Line 3: Line 3:
 
{{Parms|
 
{{Parms|
 
{{Parm|language|English, etc.|no|Defaults to English}}
 
{{Parm|language|English, etc.|no|Defaults to English}}
−
{{Parm|book|Bible book|yes|see note about books with spaces}}
+
{{Parm|book|Bible book|yes|see note A about books with spaces}}
 
{{Parm|chap|Chapter(s)|yes|}}
 
{{Parm|chap|Chapter(s)|yes|}}
 
{{Parm|verses|verse(s)|no|Defaults to entire chapter(s)}}
 
{{Parm|verses|verse(s)|no|Defaults to entire chapter(s)}}
−
{{Parm|version|Translation|no|Defaults to NIV (see note)}}
+
{{Parm|version|Translation|no|Defaults to NIV (see note B)}}
 
}}
 
}}
 
This template sets up the external link to [http://www.biblegateway.com/ BibleGateway] for providing a chapter or chapter and verse reference for any passage in the Bible, in any version in any language.
 
This template sets up the external link to [http://www.biblegateway.com/ BibleGateway] for providing a chapter or chapter and verse reference for any passage in the Bible, in any version in any language.
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, 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 A:'''  Books which have spaces in the name (such as Song of Solomon or I & II Corinthians) must be solid set (spaces omitted), or with the spaces replaced with underscores (_). (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 be shown.  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.  
+
'''NOTE C:''' This template does ''not'' "substitute" well. It tends to leave the "if" statements in place.  
  
 
'''Alternative:'''
 
'''Alternative:'''
  
 
For framed quotes, use {{tl|Bible quote}}.</noinclude>
 
For framed quotes, use {{tl|Bible quote}}.</noinclude>

Revision as of 02:29, June 7, 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 A 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 B)

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 spaces in the name (such as Song of Solomon or I & II Corinthians) must be solid set (spaces omitted), or with the spaces replaced with underscores (_). (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 be shown. To show that the link is to the NIV, supply NIV to the version parameter.

NOTE C: This template does not "substitute" well. It tends to leave the "if" statements in place.

Alternative:

For framed quotes, use {{Bible quote}}.