Difference between revisions of "Template:Bibleverse-nb/doc"
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
| This is a documentation subpage for Template:Bibleverse-nb. It contains usage information, categories and other content that is not part of the original template page. |
| There is a discussion about the use of Bible templates and external sites at Wikipedia:Citing sources/Bible. |
Contents
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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Book number | 1 | The number of the book. E.g., '2' if citing 2 Samuel, or '1' if citing 1 Corinthians. | Number | optional |
| Book name | 2 | 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 | String | required |
| Chapter:verse | 3 | 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. | String | required |
| Source | 4 | 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 | String | required |
See also
See the Bibleverse talk page for additional usage information.