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

From blackwiki
Jump to navigation Jump to search
imported>Mrmagoo2006
(mention of existing discussion, which is related to Bible citation, using info template)
imported>Atethnekos
(+templatedata)
Line 12: Line 12:
  
 
Verse {{bibleverse-nb||John|3:16}} of John
 
Verse {{bibleverse-nb||John|3:16}} of John
 +
 +
==Template data==
 +
<templatedata>{
 +
"description": "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.",
 +
"params": {
 +
  "1": {
 +
    "label": "Book number",
 +
    "description": "The number of the book.  E.g., '2' if citing 2 Samuel, or '1' if citing 1 Corinthians.",
 +
    "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 http://bibref.hebtools.com/biblebooks.txt",
 +
    "type": "string",
 +
    "required": true
 +
  },
 +
  "3": {
 +
    "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.",
 +
    "type": "string",
 +
    "required": true
 +
  },
 +
  "4": {
 +
    "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 http://bibref.hebtools.com/#srcref",
 +
    "type": "string",
 +
    "required": true
 +
  }
 +
}}</templatedata>
 +
  
 
=== See also ===
 
=== See also ===

Revision as of 04:40, 10 July 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 http://bibref.hebtools.com/biblebooks.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. Given in common abbreviations (e.g., 'KJV', 'NIV') or according to the numbers or abbreviations listed at http://bibref.hebtools.com/#srcref

Stringrequired


See also

See the Bibleverse talk page for additional usage information.