Template:Bibleverse/doc
| This is a documentation subpage for Template:Bibleverse. It contains usage information, categories and other content that is not part of the original template page. |
| This template is being used for the discussion at Wikipedia:Citing sources/Bible to show different proposed solutions for the issue of properly citing the Bible. |
Usage
Code format:
- (
{{Bibleverse|BOOK|c:v–c:v|SOURCE}})
- Note parentheses: (See WP:EL). Inline external links (this template links offsite) must be separated from the article text by parentheses. (Parentheses are deliberately not included in this template to allow for flexible usage.)
- Example
{{Bibleverse|John|3:16|KJV}}yields: John 3:16
In text, with parentheses, this looks like this (John 3:16).
- Detail
This template is used to provide sources for Bible verse references. See the talk page for more usages, examples and source codes.
- You can use shorthand for the names, such as Sam or Deut.
- Verse references may be simplified (for example, no range or entire chapter).
List of sources
A list of sources and codes that may be used to trigger them is at tools.wmflabs.org/bibleversefinder/bibleversefinder.php#srcref
Here is a sample list (this list is subject to change, please check link above):
| Code | Translation |
|---|---|
| (do not include or, just number or text) | |
| 1000 | Show user all options |
| 31 or NIV | New International Version (BibleGateway) |
| 49 or NASB | New American Standard Bible (BibleGateway) |
| 9 or KJV | King James Version (BibleGateway) |
| 105 or HE | Hebrew-English - parallel MT and JPS 1917 (Mechon Mamre) |
| 65 or TM | The Message (BibleGateway) |
Alternative version
An alternative version of this template is available that does not include the book name: Template:Bibleverse-nb. It can be used to create lists of verses, e.g. [[Book of Exodus|Exodus]] {{Bibleverse-nb||Exodus|1:2-3|HE}}; {{Bibleverse-nb||Exodus|13:10|HE}}
Examples
- Example1: {{Bibleverse|1 Samuel|3:16-4:18|31}} produces a link to the NIV translation (31 in the source list as linked below): 1 Samuel 3:16–4:18
- Example2: {{Bibleverse|Genesis|1:15-16|HE}} produces: Genesis 1:15–16
Template data
A template to generate a link to the various Bible editions at www.biblegateway.com. This template will create a link with the name of the book and specified chapter and verse, or range of chapters and verses, or just an entire chapter. Use Bibleverse-nb to create a link without the book name in the anchor text of the link.
| 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 links to 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 |