Difference between revisions of "Template:Bibleverse/doc"

From blackwiki
Jump to navigation Jump to search
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. Here is a sample list (this list is subject to change, please check link above):
+
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> produces: [[Book of Exodus|Exodus]] <span class=plainlinks>{{Bibleverse-nb||Exodus|1:2–3|HE}}; {{Bibleverse-nb||Exodus|13:10|HE}}</span>
+
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: <nowiki> {{Bibleverse|Genesis|1:15–16|HE}} </nowiki> produces: {{Bibleverse|Genesis|1:15–16|HE}}
+
*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. 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.",
 
     "type": "string",
 
     "type": "string",
 
     "required": true
 
     "required": true
Line 83: Line 81:
 
   "3": {
 
   "3": {
 
     "label": "Source",
 
     "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 tools.wmflabs.org/bibleversefinder/bibleversefinder.php#srcref",
+
     "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

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

Redirects

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

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.

Template parameters

ParameterDescriptionTypeStatus
Book1

The name of the book. Formats are listed at tools.wmflabs.org/bibleversefinder/biblebooks_bibleref.txt

Stringrequired
Chapter:verse2

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
Source3

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

Stringoptional