Difference between revisions of "Template:Bibleverse-nb/doc"

From blackwiki
Jump to navigation Jump to search
imported>Atethnekos
(→‎Template data: fix deadlinks)
imported>Atethnekos
Line 37: Line 37:
 
   "4": {
 
   "4": {
 
     "label": "Source",
 
     "label": "Source",
     "description": "The edition to be cited. Given in common abbreviations (e.g., 'KJV', 'NIV') or according to the numbers or abbreviations listed at tools.wmflabs.org/bibleversefinder/bibleversefinder.php#srcref",
+
     "description": "The edition to be cited.  Leave blank to generate a list of 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",
 
     "type": "string",
 
     "type": "string",
 
     "required": false
 
     "required": false

Revision as of 03:32, 25 November 2013

Usage

This template is used to provide sources for bible verse references, a variation on Template:Bibleverse.

Example

Verse {{bibleverse-nb||John|3:16}} of John

produces:

Verse 3:16 of John

Template data

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

Template parameters

ParameterDescriptionTypeStatus
Book number1

The number of the book. E.g., '2' if citing 2 Samuel, or '1' if citing 1 Corinthians.

Numberoptional
Book name2

The name of the book in a single word or shortened form. If the book is numbered, then the number should not be included here but rather in the book number parameter. E.g., include here 'Samuel' if citing 1 Samuel. Do not include any spaces. Forms are listed at tools.wmflabs.org/bibleversefinder/biblebooks_bibleref.txt

Stringrequired
Chapter:verse3

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
Source4

The edition to be cited. Leave blank to generate a list of 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


See also

See the Bibleverse talk page for additional usage information.