Difference between revisions of "Template:Bibleverse"

From CATUG wiki
Jump to: navigation, search
(template based on Wikipedia:Template:Bibleverse)
 
(try without #if as we don't have parser function extension installed)
Line 1: Line 1:
[http://bibref.hebtools.com/?book={{{1|}}}%20{{{2}}}&verse={{{3}}}&src={{{4|!}}} {{#if:{{{1|}}}|{{{1}}}&nbsp;}}{{{2}}} {{{3}}}]<noinclude>
+
[http://bibref.hebtools.com/?book={{{1|}}}%20{{{2}}}&verse={{{3}}}&src={{{4|!}}}]<noinclude>
  
 
==Usage==
 
==Usage==

Revision as of 19:50, 23 February 2011

[1]

Usage

Code format: {{Bibleverse|BOOK#|BOOKNAME|c:v–c:v|SOURCE}}

This template links offsite.
Example
{{Bibleverse||John|3:16|KJV}} yields: John 3:16

In text, with parentheses, this looks like this ( John 3:16).

Note the empty parameter || before "John" in the above examples. This is to handle the first parameter, "BOOK#", which is not usually necessary, and cumbersome to look up.

Detail

This template is used to provide sources for Bible verse references. See the Wikipedia talk page for more usages, examples and source codes.

  • DO NOT put any spaces anywhere in the template.
  • You can use shorthand for the names, such as Sam or Deut.
  • Verse references may be simplified (for example, no range or entire chapter).
  • If there is only one book, leave that part blank.

List of sources

A list of sources and codes that may be used to trigger them is at http://bibref.hebtools.com#srcref


Here is a sample list (this list is subject to change, please check link above):

Code Translation
(do not include or, just number or text)
1000 Show user all options
31 or NIV New International Version (Biblegateway)
49 or NASB New American Standard Bible (BibleGateway)
9 or KJV King James Version (BibleGateway)
105 or HE Hebrew-English - paraellel MT and JPS 1917 (Mechon Mamre)
65 or TM The Message (BibleGateway)

Alternative usage

An alternative is also sometimes used: {{Bibleverse|BOOKNAME|BOOK#|c:v-c:v|SOURCE_CODE}} . Note, though, that if no book number is relevant, the blank argument must be there (see Genesis example below).

An alternative version of this template is available that does not include the book name: Template:Bibleverse-nb. It can be used to create lists of verses, eg. {{Bibleverse||Exodus|1:2-3|HE}}; {{Bibleverse-nb||Exodus|13:10|HE}}

produces:  Exodus 1:2-3; 13:10

Examples

  • Example1: {{Bibleverse|1|Samuel|3:16-4:18|31}} produces a link to the NIV translation (31 in the source list as linked below): 1 Samuel 3:16-4:18
  • Example2: {{Bibleverse||Genesis|1:15-16|HE}} produces:  Genesis 1:15-16