Difference between revisions of "Template:Bibleverse-nb/doc"
imported>Atethnekos (→Template data: +blank) |
imported>Little Mountain 5 (rm now optional "Book#" parameter) |
||
| Line 7: | Line 7: | ||
===Example=== | ===Example=== | ||
| − | <nowiki>Verse {{bibleverse-nb | + | <nowiki>Verse {{bibleverse-nb|John|3:16}} of John</nowiki> |
produces: | produces: | ||
| − | Verse {{bibleverse-nb | + | Verse {{bibleverse-nb|John|3:16}} of John |
==Template data== | ==Template data== | ||
| Line 18: | Line 18: | ||
"params": { | "params": { | ||
"1": { | "1": { | ||
| − | "label": "Book | + | "label": "Book", |
| − | + | "description": "The name of the book. Forms are listed at tools.wmflabs.org/bibleversefinder/biblebooks_bibleref.txt", | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | "description": "The name of the book | ||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
}, | }, | ||
| − | " | + | "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 | ||
}, | }, | ||
| − | " | + | "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
| 40px | 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. |
| 40x40px | 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 | 1 | The name of the book. Forms are listed at tools.wmflabs.org/bibleversefinder/biblebooks_bibleref.txt | String | required |
| Chapter:verse | 2 | 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 | 3 | 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 | String | optional |
See also
See the Bibleverse talk page for additional usage information.