Template:Bible

From Iron Chariots Wiki
(Difference between revisions)
Jump to: navigation, search
(Usage: more possible formats; additional polishing)
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[:Biblegatewaykjv:{{{1}}}]]
+
[[Biblegatewaykjv:{{{1}}}|{{{2|{{{1}}}}}}]]&nbsp;[[Image:Bible-icon.png]]<noinclude>
 +
 
 +
==Purpose==
 +
This template creates a link to a [[Bible]] passage in the [[King James Version]] at [http://www.biblegateway.com/ BibleGateway.com]. It is intended to be used for Bible citations in [[Project:running text|running text]] (as opposed to appearing as an isolated reference at the beginning or end of an article, like  [[Template:Stub]] or [[Template:Wikipedia]]).
  
<noinclude>
 
 
==Usage==
 
==Usage==
This template links to a [[Bible]] passage:
+
* {{t|Bible|''Book''}} &mdash; in this case, consider using {{l|''Book''}} instead
 +
* {{t|Bible|''Book''&#160;''chapter''}}
 +
* {{t|Bible|''Book''&#160;''chapter'':''verse''}}
 +
Ranges of chapters or verses can be given using hyphens or [[Wikipedia:en-dash|en-dashes]]:
 +
* {{t|Bible|''Book''&#160;''chapter1''-''chapter2''}}
 +
* {{t|Bible|''Book''&#160;''chapter1''&ndash;''chapter2''}}
 +
* {{t|Bible|''Book''&#160;''chapter'':''verse1''-''verse2''}}
 +
* {{t|Bible|''Book''&#160;''chapter'':''verse1''&ndash;''verse2''}}
 +
Finally, all forms above can be used in "piped" links, as well. For example:
 +
* {{t|Bible|''Book''&#160;''chapter'':''verse''|''link text''}}
 +
 
 +
Note that all the different formats for specifying chapters and verses work because of parsing at BibleGateway.com, not because of any sophistication on the part of this template. See their website for additional information.
 +
 
 +
==Examples==
 +
* {{t|Bible|Genesis 1:2}} &rarr; {{Bible|Genesis 1:2}}
 +
* {{t|Bible|Genesis 1:2-3}} &rarr; {{Bible|Genesis 1:2-3}}
 +
* {{t|Bible|Genesis 1}} &rarr; {{Bible|Genesis 1}}
 +
* {{t|Bible|Genesis 2|following chapter}} &rarr; {{Bible|Genesis 2|following chapter}}
 +
 
 +
Use the last form only when the context makes it very clear what passage you're linking to.
 +
 
 +
When referring to an entire book of the Bible, it is unlikely that a link to the entire text of that book is necessary. Please link instead to our article about the book:
 +
* {{l|Genesis}} &rarr; [[Genesis]]
  
<nowiki>{{Bible|Genesis 1:2}}</nowiki> yields {{Bible|Genesis 1:2}}.
+
[[Category:Interwiki templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 02:30, 12 October 2007

[[Biblegatewaykjv:{{{1}}}|{{{1}}}]] Bible-icon.png

Purpose

This template creates a link to a Bible passage in the King James Version at BibleGateway.com. It is intended to be used for Bible citations in running text (as opposed to appearing as an isolated reference at the beginning or end of an article, like Template:Stub or Template:Wikipedia).

Usage

  • {{Bible|Book}} — in this case, consider using [[Book]] instead
  • {{Bible|Book chapter}}
  • {{Bible|Book chapter:verse}}

Ranges of chapters or verses can be given using hyphens or en-dashes:

  • {{Bible|Book chapter1-chapter2}}
  • {{Bible|Book chapter1chapter2}}
  • {{Bible|Book chapter:verse1-verse2}}
  • {{Bible|Book chapter:verse1verse2}}

Finally, all forms above can be used in "piped" links, as well. For example:

  • {{Bible|Book chapter:verse|link text}}

Note that all the different formats for specifying chapters and verses work because of parsing at BibleGateway.com, not because of any sophistication on the part of this template. See their website for additional information.

Examples

Use the last form only when the context makes it very clear what passage you're linking to.

When referring to an entire book of the Bible, it is unlikely that a link to the entire text of that book is necessary. Please link instead to our article about the book:

Personal tools
Namespaces
Variants
Actions
wiki navigation
IronChariots.Org
Toolbox