Jump to content

Template:GHGbible-ref/classic

From Wikisource

In September 2018 this template was rewritten as a Lua module, which supports new functionality, such as linking directly to Hebrew and Greek books as well as to verses. See Module:GHG. This template is kept for historical interest. For actual pages use {{GHGbible-ref}}.

This template makes it easy to format references to Bible verses in Gesenius' Hebrew Grammar.

It automatically links the chapter number to the King James Bible. There's nothing very special about this edition except that it is complete and proofread here at WikiSource. The plan is to link it to a Hebrew Tanakh, such as Mikraot Gedolot. Another possibility is to let the reader select the most convenient Bible version. These things, however, are a bit more complicated technically.

Usage:

  • {{GHGbible-ref/classic|book=BOOK_ABBREVIATION|chapter=CHAPTER|verse=VERSE}}

The verse parameter is optional.

Examples:

  • {{GHGbible-ref|book=Ne|chapter=2}} -> Ne 2[[:he:נחמיה ב |]]
  • {{GHGbible-ref|book=Ex|chapter=3|verse=14}} -> Ex 3
  • Ps (Psalms) is automatically converted to ψ: {{GHGbible-ref|book=Ps|chapter=40|verse=3}} -> ψ 40
  • PsPs is converted to ψψ.

Sometimes several verses from the same book are cited. Enter the book name and add the argument "hidebook":

  • {{GHGbible-ref|book=Jon|chapter=1|verse=14}}, {{GHGbible-ref|book=Jon|chapter=4|verse=2|hidebook=1}} -> Jon 1, 4

Sometimes verses from the same chapter are cited consecutively, as in § 15 p. In the printed book it is prefixed with v. or vv. Accordingly, use the value "v" or "vv" for the "hidebook" parameter:

  • {{GHGbible-ref|book=Ex|chapter=20|verse=2.3-6.7.8-11.12.13.14.15.16.17|hidebook=v}} -> v.

If the book abbreviation is wrong, an error message will be displayed:

This template uses {{GHGbible-ref/book}} and {{GHGbible-ref/linker}} to translate book abbreviations to links.

Abbreviations (for some books there are several possibilities in the book):

Genesis Gn or Gn. or Gen
Exodus Ex
Leviticus Lv or Lv. or Lev
Numbers Nu
Deuteronomy Dt
Joshua Jos
Judges Ju or Ju. or Jud
1 Samuel 1 S
2 Samuel 2 S
1 Kings 1 K
2 Kings 2 K
Isaiah Is
Jeremiah Jer or Jer. or Je
Ezekiel Ez or Ez. or Eze
Hosea Hos or Ho
Joel Jo or Joel
Amos Am or Amos
Obadiah Ob
Jonah Jon
Micah Mi or Mic
Nahum Na or Nah
Habakkuk Hb or Hab
Zephaniah Zp
Haggai Hag
Zechariah Zc
Malachi Mal or Mal.
Psalms Ps (automatically converted to ψ) or PsPs (automatically converted to ψψ)
Proverbs Pr
Job Jb or Job
Canticle Ct or Cant
Ruth Ru
Lamentations La
Ecclesiastes Ec
Esther Est
Daniel Dn
Ezra Ezr
Nehemiah Neh or Ne
1 Chronicles 1 Ch or 1 Chr
2 Chronicles 2 Ch or 2 Chr
Apocrypha
I Esdras 3 Ezr (yes, it's confusing)
1 Maccabees 1 Macc.
Ecclesiasticus or Sirac Ecclus or Sirac
New Testament
Mark Mark or St. Mark
John Jn
Acts Acts
Revelation Rv

Format links from Gesenius' Hebrew Grammar to Bible verses.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
bookbook

no description

Stringrequired
chapterchapter

no description

Numbersuggested
verseverse

no description

Stringsuggested
hidebookhidebook

no description

Booleanoptional