Difference between revisions of "Template:Bible ref"

From Conservapedia
Jump to navigation Jump to search
(Use standard documentation format)
m (plural)
Line 5: Line 5:
 
{{Parm|book|Bible book|yes|see note about books with spaces}}
 
{{Parm|book|Bible book|yes|see note about books with spaces}}
 
{{Parm|chap|Chapter(s)|yes|}}
 
{{Parm|chap|Chapter(s)|yes|}}
−
{{Parm|verses|verse(s)|no|Defaults to entire chapter}}
+
{{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)}}
 
}}
 
}}

Revision as of 14:08, 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 (i.e. ICorinthians and 1Corinthians both 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}}.