Template:Bibleverse: Difference between revisions

From CATUG wiki
Jump to navigation Jump to search
(show ref again)
(→‎Usage: simplify)
Line 11: Line 11:
In text, with parentheses, this looks like this ({{Bibleverse||John|3:16|KJV}}).
In text, with parentheses, this looks like this ({{Bibleverse||John|3:16|KJV}}).


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


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


==List of sources==
==List of sources==

Revision as of 20:22, 23 February 2011

{{{1}}} {{{2}}} {{{3}}}

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 for just one verse, or entire chapter).

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