Difference between revisions of "Template:Bible ref"

From Conservapedia
Jump to navigation Jump to search
m (typo)
m (Reverted edits by RickAstley (Talk); changed back to last version by Philip J. Rayment)
Line 1: Line 1:
−
<div style="line-height:150px; font-size:+100px;">
+
<includeonly>[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}}})|}}</includeonly><noinclude>
−
<div style="text-decoration:blink;color:red;text-align:center;font-size:1.8em;">EBAUM'S WORLD WELCOMES YOU FAGGOTS TO BANTOWN</div>
+
{{TemplateDoc|pages=Articles (mainly)|purpose=Linking to a Bible passage|cat=}}
−
<div style="text-decoration:blink;color:orange;text-align:center;font-size:2.5em;">EBAUM'S WORLD WELCOMES YOU FAGGOTS TO BANTOWN</div>
+
{{Parms|
−
<div style="text-decoration:blink;color:yellow;text-align:center;font-size:3em;">EBAUM'S WORLD WELCOMES YOU FAGGOTS TO BANTOWN</div>
+
{{Parm|language|English, etc.|no|Defaults to English}}
−
<div style="text-decoration:blink;color:green;text-align:center;font-size:4em;">EBAUM'S WORLD WELCOMES YOU FAGGOTS TO BANTOWN</div>
+
{{Parm|book|Bible book|yes|see note A about books with spaces}}
−
<div style="text-decoration:blink;color:blue;text-align:center;font-size:5em">EBAUM'S WORLD WELCOMES YOU FAGGOTS TO BANTOWN</div>
+
{{Parm|chap|Chapter(s)|yes|}}
−
<div style="text-decoration:blink;color:indigo;text-align:center;font-size:6em;">EBAUM'S WORLD WELCOMES YOU FAGGOTS TO BANTOWN</div>
+
{{Parm|verses|verse(s)|no|Defaults to entire chapter(s)}}
−
<div style="text-decoration:blink;color:purple;text-align:center;white-space:nowrap;font-size:7em;">EBAUM'S WORLD WELCOMES YOU FAGGOTS TO BANTOWN</div>
+
{{Parm|version|Translation|no|Defaults to NIV (see note B)}}
−
</div>
+
}}
 +
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.
 +
 
 +
'''Example: <nowiki>{{Bible ref|book=1Corinthians|chap=1|verses=1-18|version=ASV}}</nowiki>'''
 +
 
 +
'''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 {{tl|Bible quote}}.</noinclude>

Revision as of 11:50, July 23, 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}}.