Difference between revisions of "Template:Bibleverse/doc"

From blackwiki
Jump to navigation Jump to search
imported>Little Mountain 5
(merge larger source table from Template:Bibleref/doc)
(m.e)
Line 11: Line 11:
 
:<font color="crimson"> Note parentheses:</font> (See [[WP:EL]]). Inline external links (this template links offsite) '''must be separated''' from the article text by parentheses. (Parentheses are deliberately not included in this template to allow for flexible usage.)
 
:<font color="crimson"> Note parentheses:</font> (See [[WP:EL]]). Inline external links (this template links offsite) '''must be separated''' from the article text by parentheses. (Parentheses are deliberately not included in this template to allow for flexible usage.)
  
;Example: <code><nowiki>{{Bibleverse|John|3:16|KJV}}</nowiki></code> yields: {{Bibleverse|John|3:16|KJV}}
+
;Example: <code><nowiki>{{Bibleverse|Genesis|1:1|KJV}}</nowiki></code> yields: {{Bibleverse|Genesis|1:1|KJV}}
  
In text, with parentheses, this looks like this ({{Bibleverse|John|3:16|KJV}}).
+
In text, with parentheses, this looks like this ({{Bibleverse|Genesis|1:1|KJV}}).
  
 
; Detail
 
; Detail
Line 84: Line 84:
  
 
==Examples==
 
==Examples==
*Example1: <nowiki> {{Bibleverse|1 Samuel|3:16-4:18|31}} </nowiki> produces a link to the NIV translation (31 in the source list as linked below): {{Bibleverse|1 Samuel|3:16-4:18|31}}
+
*Example1: <nowiki> {{Bibleverse|1 Samuel|1:1-4:18|31}} </nowiki> produces a link to the NIV translation (31 in the source list as linked below): {{Bibleverse|1 Samuel|1:1-4:18|31}}
 
*Example2:  <nowiki> {{Bibleverse|Genesis|1:15-16|HE}} </nowiki> produces: {{Bibleverse|Genesis|1:15-16|HE}}
 
*Example2:  <nowiki> {{Bibleverse|Genesis|1:15-16|HE}} </nowiki> produces: {{Bibleverse|Genesis|1:15-16|HE}}
  

Revision as of 08:49, 20 March 2014

Usage

Code format:

({{Bibleverse|BOOK|c:v–c:v|SOURCE (optional)}})
Note parentheses: (See WP:EL). Inline external links (this template links offsite) must be separated from the article text by parentheses. (Parentheses are deliberately not included in this template to allow for flexible usage.)
Example
{{Bibleverse|Genesis|1:1|KJV}} yields: Genesis 1:1

In text, with parentheses, this looks like this (Genesis 1:1).

Detail

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

  • You can use shorthand for the names, such as Sam or Deut.
  • Verse references may be simplified (for example, no range or entire chapter).

List of sources

A list of sources and codes that may be used to trigger them is at tools.wmflabs.org/bibleversefinder/bibleversefinder.php#srcref

Here is a sample list (this list is subject to change, please check link above): Use either letter abbreviations in caps or the numerical value.

Code Number Title
AB 45 Amplified Bible
ASV 8 American Standard Version
CEV 46 Contemporary English Version
DAR 16 Darby Translation
DR 63 Douay-Rheims 1899 American Edition
ESV 47 English Standard Version
GNT 86 Good News Translation
HCSB 77 Holman Christian Standard Bible
HE 105 Hebrew-English - parallel MT and JPS 1917 (Mechon Mamre)
KJ21 48 21st Century King James Version
KJV 9 King James Version
TM 65 The Message
NASB 49 New American Standard Bible
NCV 78 New Century Version
NIRV 76 New International Reader's Version
NIV 31 New International Version
NIVUK 64 New International Version - UK
NKJV 50 New King James Version
NLT 51 New Living Translation
NLV 74 New Life Version
TNIV 72 Today's New International Version
WNT 53 Wyclif's Bible
YLT 15 Young's Literal Translation

Alternative version

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, e.g. [[Book of Exodus|Exodus]] {{Bibleverse-nb||Exodus|1:2-3|HE}}; {{Bibleverse-nb||Exodus|13:10|HE}}

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

Examples

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

Template data

A template to generate a link to the various Bible editions at www.biblegateway.com. This template will create a link with the name of the book and specified chapter and verse, or range of chapters and verses, or just an entire chapter. Use Bibleverse-nb to create a link without the book name in the anchor text of the link.

Template parameters

ParameterDescriptionTypeStatus
Book1

The name of the book. Forms are listed at tools.wmflabs.org/bibleversefinder/biblebooks_bibleref.txt

Stringrequired
Chapter:verse2

The chapter and verse to be cited. Also, the range to be cited, or just the chapter. For example: '5:4', '1:1-2', '21:1-24:7' or '6'. Do not include any spaces.

Stringrequired
Source3

The edition to be cited. Leave blank to generate a list of links to all available editions. Given in common abbreviations (e.g., 'KJV', 'NIV') or according to the numbers or abbreviations listed at tools.wmflabs.org/bibleversefinder/bibleversefinder.php#srcref

Stringoptional