Template:GHGbible-ref/doc

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

It automatically links the chapter number to the the relevant chapter in the Hebrew Wikisource for Hebrew books (including Hebrew Sirac), and to the Greek Wikisource for New Testament and deuterocanonical books.

In Hebrew books, it links the verse numbers to verse pages in the Hebrew Wikisource. (It should also do this for Greek books, but the Greek Wikisource doesn't support it yet. Hopefully this will be supported some day.)

The verse parameter is optional.

Examples:


 * &rarr;
 * &rarr;
 * Ps (Psalms) is automatically converted to ψ:  &rarr;
 * PsPs is converted to ψψ.

Sometimes several references from the same Bible book are cited. Enter the book name and add the argument "hidebook" with the value 1:


 * &rarr; ,

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


 * &rarr;

Sometimes the book is not shown at all. In this case, use "hidebook=completely":


 * &rarr;

And in a small number of cases, the verse number is not shown as superscrit. For these cases, use fullsizeverse=1:


 * &rarr;

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


 * &rarr;

The book abbreviation "Jn" is used for both John (in the New Testament) and Jonah. Jonah is the default. When linking to John, add "actualbook=John".

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

{	"params": { "hidebook": { "type": "string", "description": "1 to not show the book. v or vv if \"v.\" or \"vv.\" is used in the text. \"completely\" if only the verse is shown." },		"book": { "type": "string", "required": true },		"chapter": { "type": "number", "suggested": true },		"verse": { "type": "string", "suggested": true },		"fullsizeverse": { "description": "If \"1\", the verse number is shown in full size and not as superscript.", "type": "boolean" },		"actualbook": { "description": "For ambiguous book abbreviations, the actual book to which the page links. The only one that is known to be ambiguous at the moment is Jn: it links to Jonah by default, but when it must link to John (in the New Testament), specify \"John\" in actualbook.", "type": "string" }	},	"paramOrder": [ "book", "chapter", "verse", "hidebook", "fullsizeverse", "actualbook" ],	"format": "inline", "description": "Format links from Gesenius' Hebrew Grammar to Bible verses." }