Difference between revisions of "Template:Bibleverse/doc"
imported>Daask (Link to Bible citation) |
imported>Liuthar m (some minor source text clean-up) |
||
| Line 4: | Line 4: | ||
==Usage== | ==Usage== | ||
| − | + | This template is used to provide sources for [[Bible citation|Bible verse references]]. See the [[Template talk:Bibleverse|talk page]] for more usages, examples and source codes. | |
| − | This template is used to provide sources for [[Bible citation|Bible verse references]]. See the [[Template talk:Bibleverse|talk page]] for more usages, examples and source codes. | ||
This template creates an external link. The [[WP:external links|external links content guideline]] states that "external links should not normally be used in the body of an article". '''Place external links to the Bible in [[WP: parenthetical citations| parenthetical citations]] or [[WP:footnotes|footnotes]],''' but be aware that the Bible may be considered a [[WP:primary source|primary source]]. | This template creates an external link. The [[WP:external links|external links content guideline]] states that "external links should not normally be used in the body of an article". '''Place external links to the Bible in [[WP: parenthetical citations| parenthetical citations]] or [[WP:footnotes|footnotes]],''' but be aware that the Bible may be considered a [[WP:primary source|primary source]]. | ||
| Line 13: | Line 12: | ||
;Example: <code><nowiki>{{Bibleverse|Genesis|1:1|KJV}}</nowiki></code> yields: {{Bibleverse|Genesis|1:1|KJV}} | ;Example: <code><nowiki>{{Bibleverse|Genesis|1:1|KJV}}</nowiki></code> yields: {{Bibleverse|Genesis|1:1|KJV}} | ||
| − | |||
* Shorthand can be used for the names, such as '''1 Sam''' or '''Deut'''. See the ''[http://hbl.gcc.libguides.com/BibleAbbrevChicago Chicago Manual of Style]'' for other acceptable abbreviations. | * Shorthand can be used for the names, such as '''1 Sam''' or '''Deut'''. See the ''[http://hbl.gcc.libguides.com/BibleAbbrevChicago Chicago Manual of Style]'' for other acceptable abbreviations. | ||
| Line 23: | Line 21: | ||
Omitting the source tag ''should'' lead to a page containing a list of different versions for the reader to choose from. Unfortunately, the external tool that provides this service is currently broken and its maintainer is inactive. Until this is fixed, you should choose a source in order to make references usable. | Omitting the source tag ''should'' lead to a page containing a list of different versions for the reader to choose from. Unfortunately, the external tool that provides this service is currently broken and its maintainer is inactive. Until this is fixed, you should choose a source in order to make references usable. | ||
| − | Use either letter abbreviations in caps or the numerical value. | + | Use either letter abbreviations in caps or the numerical value. Here is a sample list (this list is subject to change, please check link above): |
{|class="wikitable sortable" | {|class="wikitable sortable" | ||
| Line 30: | Line 28: | ||
|- | |- | ||
|ESV|||[[English Standard Version]] ([http://www.esvbible.org ESV.org]) | |ESV|||[[English Standard Version]] ([http://www.esvbible.org ESV.org]) | ||
| − | |- | + | |- |
|HE|||Hebrew-English—parallel [[Masoretic Text|MT]] and [[JPS Tanakh|JPS 1917]] ([http://www.mechon-mamre.org/p/pt/pt0.htm Mechon Mamre]) | |HE|||Hebrew-English—parallel [[Masoretic Text|MT]] and [[JPS Tanakh|JPS 1917]] ([http://www.mechon-mamre.org/p/pt/pt0.htm Mechon Mamre]) | ||
|- | |- | ||
| Line 46: | Line 44: | ||
=={{anchor|Alternative usage}} Alternative version== | =={{anchor|Alternative usage}} Alternative version== | ||
<!-- an edit summary links to this section anchor --> | <!-- an edit summary links to this section anchor --> | ||
| − | 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. <code><nowiki> [[Book of Exodus|Exodus]] {{Bibleverse-nb||Exodus|1:2–3|HE}}; {{Bibleverse-nb||Exodus|13:10|HE}} </nowiki></code> | + | 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. <code><nowiki> [[Book of Exodus|Exodus]] {{Bibleverse-nb||Exodus|1:2–3|HE}}; {{Bibleverse-nb||Exodus|13:10|HE}} </nowiki></code> produces: [[Book of Exodus|Exodus]] <span class=plainlinks>{{Bibleverse-nb||Exodus|1:2–3|HE}}; {{Bibleverse-nb||Exodus|13:10|HE}}</span> |
==Examples== | ==Examples== | ||
| − | *Example: | + | *Example: <nowiki> {{Bibleverse|Genesis|1:15–16|HE}} </nowiki> produces: {{Bibleverse|Genesis|1:15–16|HE}} |
==Redirects== | ==Redirects== | ||
| Line 77: | Line 75: | ||
"2": { | "2": { | ||
"label": "Chapter:verse", | "label": "Chapter:verse", | ||
| − | "description": "The chapter and verse to be cited. | + | "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", | "type": "string", | ||
"required": true | "required": true | ||
| Line 83: | Line 81: | ||
"3": { | "3": { | ||
"label": "Source", | "label": "Source", | ||
| − | "description": "The edition to be cited. | + | "description": "The edition to be cited. Given in common abbreviations (e.g., 'KJV', 'NIV') or according to the numbers or abbreviations listed at tools.wmflabs.org/bibleversefinder/bibleversefinder.php#srcref", |
"type": "string", | "type": "string", | ||
"required": false | "required": false | ||
Revision as of 22:22, 5 January 2019
| 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 uses Lua: |
Usage
This template is used to provide sources for Bible verse references. See the talk page for more usages, examples and source codes.
This template creates an external link. The external links content guideline states that "external links should not normally be used in the body of an article". Place external links to the Bible in parenthetical citations or footnotes, but be aware that the Bible may be considered a primary source.
Code format:
{{Bibleverse|BOOK|c:v–c:v|SOURCE}}
- Example
{{Bibleverse|Genesis|1:1|KJV}}yields: Genesis 1:1
- Shorthand can be used for the names, such as 1 Sam or Deut. See the Chicago Manual of Style for other acceptable abbreviations.
- 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 Bible Verse Finder.
Omitting the source tag should lead to a page containing a list of different versions for the reader to choose from. Unfortunately, the external tool that provides this service is currently broken and its maintainer is inactive. Until this is fixed, you should choose a source in order to make references usable.
Use either letter abbreviations in caps or the numerical value. Here is a sample list (this list is subject to change, please check link above):
| Code | Title |
|---|---|
| ESV | English Standard Version (ESV.org) |
| HE | Hebrew-English—parallel MT and JPS 1917 (Mechon Mamre) |
| KJV | King James Version (Wikisource) |
| NRSV | New Revised Standard Version (Oremus) |
| NRSVAE | New Revised Standard Version, Anglicized Edition (Oremus) |
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}} produces: Exodus 1:2–3; 13:10
Examples
- Example: {{Bibleverse|Genesis|1:15–16|HE}} produces: Genesis 1:15–16
Redirects
- Template:T
- Template:T
- Template:T
- Template:T
- Template:T
- Template:T
- Template:T
- Template:T
- Template:T
- Template:T
- Template:T
TemplateData
TemplateData for Bibleverse
A template to generate a link to selected Bible editions at several sites including 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. Formats 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. 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 |