Changes

Jump to navigation Jump to search
273 bytes added ,  10:36, April 22, 2008
Add optional parameter for right margin
Line 1: Line 1: −
<includeonly><blockquote style="background: #F9F9F9; border: 1px solid #AAAAAA; padding: .3em;">  
+
<includeonly><blockquote style="background: #F9F9F9; border: 1px solid #AAAAAA; padding: .3em;{{#if:{{{rmargin|}}}|margin-right:{{{rmargin}}}}}">  
 
{{{1}}} [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}}})|}}
 
{{{1}}} [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}}})|}}
 
</blockquote></includeonly><noinclude>
 
</blockquote></includeonly><noinclude>
 
{{TemplateDoc|pages=Articles (mainly)|purpose=Linking to a Bible passage|cat=}}
 
{{TemplateDoc|pages=Articles (mainly)|purpose=Linking to a Bible passage|cat=}}
 
{{Parms|
 
{{Parms|
−
{{Parm|1|Quoted text|yes|Paste text you are quoting here}}
+
{{Parm|1|Quoted text|yes|Paste text you are quoting here}}
−
{{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 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)}}
 +
{{Parm|rmargin|Right margin|no|Defaults to standard CSS default. See explanation below.}}
 
}}
 
}}
 
The '''<nowiki>{{Bible quote}}</nowiki>''' template creates a grey box that is the preferred format for quoting scripture. The template also incorporates the [[Template:Bible ref|Bible ref template]] for linking the scripture reference to [http://www.biblegateway.com/ BibleGateway].
 
The '''<nowiki>{{Bible quote}}</nowiki>''' template creates a grey box that is the preferred format for quoting scripture. The template also incorporates the [[Template:Bible ref|Bible ref template]] for linking the scripture reference to [http://www.biblegateway.com/ BibleGateway].
Line 22: Line 23:  
* verses = one verse or a range of verses. Default is the entire chapter.
 
* verses = one verse or a range of verses. Default is the entire chapter.
 
* version = the version you want the quote in. Default is NIV--but if it is not specified, it will not be specifically mentioned. If you are quoting explicitly from any given version of the Bible, including the NIV, please so specify explicitly.
 
* version = the version you want the quote in. Default is NIV--but if it is not specified, it will not be specifically mentioned. If you are quoting explicitly from any given version of the Bible, including the NIV, please so specify explicitly.
 +
 +
* The parameter for the right margin is to allow the quote box being prevented from being overlapped by right-floated images.
    
Note: this template does ''not'' "substitute" well. It tends to leave the "if" statements in place.
 
Note: this template does ''not'' "substitute" well. It tends to leave the "if" statements in place.
    
Also note that 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.)</noinclude>
 
Also note that 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.)</noinclude>
nsTeam2RO, nsTeam2RW, nsTeam2_talkRO, nsTeam2_talkRW
13,254

edits

Navigation menu