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

From blackwiki
Jump to navigation Jump to search
imported>Atethnekos
imported>Little Mountain 5
(rm now optional "Book#" parameter)
Line 7: Line 7:
  
 
===Example===
 
===Example===
<nowiki>Verse {{bibleverse-nb||John|3:16}} of John</nowiki>
+
<nowiki>Verse {{bibleverse-nb|John|3:16}} of John</nowiki>
  
 
produces:
 
produces:
  
Verse {{bibleverse-nb||John|3:16}} of John
+
Verse {{bibleverse-nb|John|3:16}} of John
  
 
==Template data==
 
==Template data==
Line 18: Line 18:
 
"params": {
 
"params": {
 
   "1": {
 
   "1": {
     "label": "Book number",
+
     "label": "Book",
    "description": "The number of the book.  E.g., '2' if citing 2 Samuel, or '1' if citing 1 Corinthians.",
+
     "description": "The name of the book. Forms are listed at tools.wmflabs.org/bibleversefinder/biblebooks_bibleref.txt",
    "type": "number",
 
    "required": false
 
  },
 
  "2": {
 
    "label": "Book name",
 
     "description": "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",
 
 
     "type": "string",
 
     "type": "string",
 
     "required": true
 
     "required": true
 
   },
 
   },
   "3": {
+
   "2": {
 
     "label": "Chapter:verse",
 
     "label": "Chapter:verse",
 
     "description": "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.",
 
     "description": "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.",
Line 35: Line 29:
 
     "required": true
 
     "required": true
 
   },
 
   },
   "4": {
+
   "3": {
 
     "label": "Source",
 
     "label": "Source",
 
     "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",
 
     "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",

Revision as of 22:39, 11 January 2014

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
Book1

The name of the book. Forms are listed at tools.wmflabs.org/bibleversefinder/biblebooks_bibleref.txt

Stringrequired
Chapter:verse2

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
Source3

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.