Difference between revisions of "Template:Bibleref2/doc"

From blackwiki
Jump to navigation Jump to search
imported>Afaprof01
imported>SlothMcCarty
Line 20: Line 20:
  
 
==Names of Books, Numerical ID, Standard Abbreviation==
 
==Names of Books, Numerical ID, Standard Abbreviation==
Book
+
{{div col|colwidth=24em}}
Book id
+
{| class="wikitable"
Standard Abbreviation
+
|-
 
+
! Book
Genesis
+
! Book ID
1
+
! Standard Abbreviation
GEN
+
|-
 
+
| Genesis
Exodus
+
| 1
2
+
| GEN
EXOD
+
|-
 
+
| Exodus
Leviticus
+
| 2
3
+
| EXOD
LEV
+
|-
 
+
| Leviticus
Numbers
+
| 3
4
+
| LEV
NUM
+
|-
 
+
| Numbers
Deuteronomy
+
| 4
5
+
| NUM
DEUT
+
|-
 
+
| Deuteronomy
Joshua
+
| 5
6
+
| DEUT
JOSH
+
|-
 
+
| Joshua
Judges
+
| 6
7
+
| JOSH
JUDG
+
|-
 
+
| Judges
Ruth
+
| 7
8
+
| JUDG
RUTH
+
|-
 
+
| Ruth
1 Samuel
+
| 8
9
+
| RUTH
1SAM
+
|-
 
+
| 1 Samuel
2 Samuel
+
| 9
10
+
| 1SAM
2SAM
+
|-
 
+
| 2 Samuel
1 Kings
+
| 10
11
+
| 2SAM
1KGS
+
|-
 
+
| 1 Kings
2 Kings
+
| 11
12
+
| 1KGS
2KGS
+
|-
 
+
| 2 Kings
1 Chronicles
+
| 12
13
+
| 2KGS
1CHRO
+
|-
 
+
| 1 Chronicles
2 Chronicles
+
| 13
14
+
| 1CHRO
2CHRO
+
|-
 
+
| 2 Chronicles
Ezra
+
| 14
15
+
| 2CHRO
EZRA
+
|-
 
+
| Ezra
Nehemiah
+
| 15
16
+
| EZRA
NEH
+
|-
 
+
| Nehemiah
Tobit
+
| 16
17
+
| NEH
TOB
+
|-
 
+
| Tobit
Judith
+
| 17
18
+
| TOB
JDT
+
|-
 
+
| Judith
Esther
+
| 18
19
+
| JDT
ESTH
+
|-
 
+
| Esther
1 Maccabees
+
| 19
20
+
| ESTH
1MA
+
|-
 
+
| 1 Maccabees
2 Maccabees
+
| 20
21
+
| 1MA
2MA
+
|-
 
+
| 2 Maccabees
Job
+
| 21
22
+
| 2MA
JOB
+
|-
 
+
| Job
Psalm
+
| 22
23
+
| JOB
PSA
+
|}
 
+
{| class="wikitable"
Proverbs
+
|-
24
+
! Book
PROV
+
! Book ID
 
+
! Standard Abbreviation
Ecclesiastes
+
|-
25
+
| Psalms
ECC
+
| 23
 
+
| PSA
Song of Solomon
+
|-
26
+
| Proverbs
SONG
+
| 24
 
+
| PROV
Wisdom
+
|-
27
+
| Ecclesiastes
WIS
+
| 25
 
+
| ECC
Sirach
+
|-
28
+
| Song of Solomon
SIR
+
| 26
 
+
| SONG
Isaiah
+
|-
29
+
| Wisdom
ISA
+
| 27
 
+
| WIS
Jeremiah
+
|-
30
+
| Sirach
JER
+
| 28
 
+
| SIR
Lamentations
+
|-
31
+
| Isaiah
LAM
+
| 29
 
+
| ISA
Baruch
+
|-
32
+
| Jeremiah
BAR
+
| 30
 
+
| JER
Ezekiel
+
|-
33
+
| Lamentations
EZEK
+
| 31
 
+
| LAM
Daniel
+
|-
34
+
| Baruch
DAN
+
| 32
 
+
| BAR
Hosea
+
|-
35
+
| Ezekiel
HOSEA
+
| 33
 
+
| EZEK
Joel
+
|-
36
+
| Daniel
JOEL
+
| 34
 
+
| DAN
Amos
+
|-
37
+
| Hosea
AMOS
+
| 35
 
+
| HOSEA
Obadiah
+
|-
38
+
| Joel
OBAD
+
| 36
 
+
| JOEL
Jonah
+
|-
39
+
| Amos
JONAH
+
| 37
 
+
| AMOS
Micah
+
|-
40
+
| Obadiah
MICAH
+
| 38
 
+
| OBAD
Nahum
+
|-
41
+
| Jonah
NAHUM
+
| 39
 
+
| JONAH
Habakkuk
+
|-
42
+
| Micah
HAB
+
| 40
 
+
| MICAH
Zephaniah
+
|-
43
+
| Nahum
ZEPH
+
| 41
 
+
| NAHUM
Haggai
+
|-
44
+
| Habakkuk
HAG
+
| 42
 
+
| HAB
Zechariah
+
|-
45
+
| Zephaniah
ZECH
+
| 43
 
+
| ZEPH
Malachi
+
|-
46
+
| Haggai
MAL
+
| 44
 
+
| HAG
Matthew
+
|-
47
+
| Zechariah
MATT or MT
+
| 45
 
+
| ZECH
Mark
+
|-
48
+
| Malachi
MARK or MK
+
| 46
 
+
| MAL
Luke
+
|}
49
+
{| class="wikitable"
LUKE or LK or LU
+
|-
 
+
! Book
John
+
! Book ID
50
+
! Standard Abbreviation
JOHN or JN
+
|-
 
+
| Matthew
Acts
+
| 47
51
+
| MATT or MT
ACTS or AC
+
|-
 
+
| Mark
Romans
+
| 48
52
+
| MARK or MK
ROM
+
|-
 
+
| Luke
1 Corinthians
+
| 49
53
+
| LUKE or LK or LU
1COR
+
|-
 
+
| John
2 Corinthians
+
| 50
54
+
| JOHN or JN
2COR
+
|-
 
+
| Acts
Galatians
+
| 51
55
+
| ACTS or AC
GAL
+
|-
 
+
| Romans
Ephesians
+
| 52
56
+
| ROM
EPH
+
|-
 
+
| 1 Corinthians
Philippians
+
| 53
57
+
| 1COR
PHIL
+
|-
 
+
| 2 Corinthians
Colossians
+
| 54
58
+
| 2COR
COL
+
|-
 
+
| Galatians
1 Thessalonians
+
| 55
59
+
| GAL
1THES
+
|-
 
+
| Ephesians
2 Thessalonians
+
| 56
60
+
| EPH
2THES
+
|-
 
+
| Philippians
1 Timothy
+
| 57
61
+
| PHIL
1TIM
+
|-
 
+
| Colossians
2 Timothy
+
| 58
62
+
| COL
2TIM
+
|-
 
+
| 1 Thessalonians
Titus
+
| 59
63
+
| 1THES
TIT
+
|-
 
+
| 2 Thessalonians
Philemon
+
| 60
64
+
| 2THES
PHILE
+
|-
 
+
| 1 Timothy
Hebrews
+
| 61
65
+
| 1TIM
HEB
+
|-
 
+
| 2 Timothy
James
+
| 62
66
+
| 2TIM
JAS
+
|-
 
+
| Titus
1 Peter
+
| 63
67
+
| TIT
1PET
+
|-
 
+
| Philemon
2 Peter
+
| 64
68
+
| PHILE
2PET
+
|-
 
+
| Hebrews
1 John
+
| 65
69
+
| HEB
1JOHN or 1JN
+
|-
 
+
| James
2 John
+
| 66
70
+
| JAS
2JOHN or 2JN
+
|-
 
+
| 1 Peter
3 John or 3JN
+
| 67
71
+
| 1PET
3JOHN
+
|-
 
+
| 2 Peter
Jude
+
| 68
72
+
| 2PET
JUDE
+
|-
 
+
| 1 John
Revelation
+
| 69
73
+
| 1JOHN or 1JN
REV
+
|-
 +
| 2 John
 +
| 70
 +
| 2JOHN or 2JN
 +
|-
 +
| 3 John
 +
| 71
 +
| 3JOHN or 3JN
 +
|-
 +
| Jude
 +
| 72
 +
| JUDE
 +
|-
 +
| Revelation
 +
| 73
 +
| REV
 +
|}
 +
{{div col end}}
  
 
==Available ENGLISH Versions==
 
==Available ENGLISH Versions==

Revision as of 12:36, 1 December 2013

Purpose

This template inserts an external link to a Bible reference at biblegateway.com, allowing for choice of translation.

Format

{{bibleref2|BOOKNAME|c:v-c:v|Optional_Bible_Version|Optional_Display}}

Parameters

BOOKNAME
You can use full name or standard abbreviation for the name of the Bible book, such as Mark, 1Jn, 2Tim, 2Sam. or Deut. Periods are optional.
c:v-c:v
Chapter, Chapter:Verse, Chapter:Verses, Chapter-Chapter, Chapter:Verse-Chapter:Verse
Valid examples:3 3:16 3:16-18 3:16-4:18 3:16-18,4:2
You may omit the verses and list only a chapter, like |John|1|
  • The only required parameters are the |Book| and at least |chapter|
  • The Optional_Bible_Version parameter are those abbreviations listed at http://www.biblegateway.com/versions/. The present default is biblegateway's default. Please notice that many foreign language versions are available.
  • The Optional_Display can be any text you want to appear at the end. For example, {{Bibleref2|2Tim|2:15||2 Timothy 2:15}} will display 2 Timothy 2:15Template:Only in print instead of 2Tim 2:15. You also could add an abbreviation in front of Optional_Display parameter. For instance, {{Bibleref2|2Tim|2:15||cf. 2 Timothy 2:15}}

DO NOT put any spaces anywhere in the template except the optional last Optional_Display parameter.

Names of Books, Numerical ID, Standard Abbreviation

Book Book ID Standard Abbreviation
Genesis 1 GEN
Exodus 2 EXOD
Leviticus 3 LEV
Numbers 4 NUM
Deuteronomy 5 DEUT
Joshua 6 JOSH
Judges 7 JUDG
Ruth 8 RUTH
1 Samuel 9 1SAM
2 Samuel 10 2SAM
1 Kings 11 1KGS
2 Kings 12 2KGS
1 Chronicles 13 1CHRO
2 Chronicles 14 2CHRO
Ezra 15 EZRA
Nehemiah 16 NEH
Tobit 17 TOB
Judith 18 JDT
Esther 19 ESTH
1 Maccabees 20 1MA
2 Maccabees 21 2MA
Job 22 JOB
Book Book ID Standard Abbreviation
Psalms 23 PSA
Proverbs 24 PROV
Ecclesiastes 25 ECC
Song of Solomon 26 SONG
Wisdom 27 WIS
Sirach 28 SIR
Isaiah 29 ISA
Jeremiah 30 JER
Lamentations 31 LAM
Baruch 32 BAR
Ezekiel 33 EZEK
Daniel 34 DAN
Hosea 35 HOSEA
Joel 36 JOEL
Amos 37 AMOS
Obadiah 38 OBAD
Jonah 39 JONAH
Micah 40 MICAH
Nahum 41 NAHUM
Habakkuk 42 HAB
Zephaniah 43 ZEPH
Haggai 44 HAG
Zechariah 45 ZECH
Malachi 46 MAL
Book Book ID Standard Abbreviation
Matthew 47 MATT or MT
Mark 48 MARK or MK
Luke 49 LUKE or LK or LU
John 50 JOHN or JN
Acts 51 ACTS or AC
Romans 52 ROM
1 Corinthians 53 1COR
2 Corinthians 54 2COR
Galatians 55 GAL
Ephesians 56 EPH
Philippians 57 PHIL
Colossians 58 COL
1 Thessalonians 59 1THES
2 Thessalonians 60 2THES
1 Timothy 61 1TIM
2 Timothy 62 2TIM
Titus 63 TIT
Philemon 64 PHILE
Hebrews 65 HEB
James 66 JAS
1 Peter 67 1PET
2 Peter 68 2PET
1 John 69 1JOHN or 1JN
2 John 70 2JOHN or 2JN
3 John 71 3JOHN or 3JN
Jude 72 JUDE
Revelation 73 REV

Available ENGLISH Versions

Version and Abbreviation

21st Century King James Version (KJ21)
American Standard Version (ASV)
Amplified Bible (AMP)
Contemporary English Version (CEV)
Darby Translation (DARBY)
Douay-Rheims 1899 American Edition (DRA)
English Standard Version (ESV)
Good News Translation (GNT)
Holman Christian Standard Bible (HCSB)
King James Version (KJV)
New American Standard Bible (NASB)
New Century Version (NCV)
New International Reader's Version (NIRV)
New International Version (NIV)
New International Version - UK (NIVUK)
New King James Version (NJKV)
New Living Translation
The Message (MSG)
Today's New International Version (TNIV)
Worldwide English (New Testament) (WE)
Wycliffe New Testament (WYC) Young's Literal Translation (YLT)

Examples

{{bibleref2|1John|1:9}}
{{bibleref2|1John|1:9|NIV}}
{{bibleref2|1John|1:9|NIV|1 John 1:9}}
Code Result
{{bibleref2|John|3:16|}} John 3:16Template:Only in print
{{bibleref2|John|3:16-18|NKJV|John 3:16-18}} John 3:16-18Template:Only in print
{{bibleref2|1Jn|1:9-2:11||ASV|1 John 1:9ff}} 1 John 1:9ffTemplate:Only in print
{{bibleref2|1Cor|13|AMP|1 Cor. 13}} 1 Cor. 13Template:Only in print
{{bibleref2|Gen.|1:1||Creation}} CreationTemplate:Only in print

Differences from Template bibleref

Similar to {{Bibleref}} with three main differences:

  1. This template always defaults to NIV if translation_abbr is left blank.
  2. It always produces a link to biblegateway.com
  3. It allows a display reference as the fourth parameter. When the 4th parameter has contents, they will be all that is displayed. Otherwise, the Book-Chapter-Verse range of the 2nd parameter will print exactly as it is entered.

Related templates

Suppresses display of the Book for 2nd and subsequent sequential uses. Example: John 3:16Template:Only in print, 4:2Template:Only in print, 5:8Template:Only in print
Puts citation into square brackets and displays it as superscript like typical references display. This is an example.[Rom. 10:9-10]Template:Only in print Abbreviating Book names may significantly improve the appearance of Bible references displayed in citation or reference style.
Combines the superscript citation style and suppresses Book name for sequential citations from the same Book. Example: [John 3:16]Template:Only in print [4:2]Template:Only in print [5:8]Template:Only in print
The template mentioned above, which differs in 3 ways, as stated above.