Template:GHGbible-ref/classic

'''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:



The verse parameter is optional.

Examples:


 * Ps (Psalms) is automatically converted to ψ: ->
 * PsPs is converted to ψψ.
 * Ps (Psalms) is automatically converted to ψ: ->
 * PsPs is converted to ψψ.

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



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



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):

{	"params": { "hidebook": { "type": "boolean" },		"book": { "type": "string", "required": true },		"chapter": { "type": "number", "suggested": true },		"verse": { "type": "string", "suggested": true }	},	"paramOrder": [ "book", "chapter", "verse", "hidebook" ],	"format": "inline", "description": "Format links from Gesenius' Hebrew Grammar to Bible verses." }