Difference between revisions of "Template:Bible"

From blackwiki
Jump to navigation Jump to search
imported>Primefac
(safesubst)
imported>Primefac
(Reverted to revision 743966419 by RussBot (talk): There are some issues with this wrapper due to really odd coding. (TW))
Line 1: Line 1:
{{bibleverse|{{{1}}}|{{{2|&nbsp;}}}{{{{{|safesubst:}}}#if:{{{3|}}}|&#58;{{{3}}}}}|{{{version|NIV}}}}}<noinclude>
+
[https://www.biblegateway.com/{{#if:{{{1|}}}|passage/?search={{{1}}}{{#if:{{{2|}}}|+{{{2}}}|}}{{#if:{{{3|}}}|%3A{{{3}}}}}{{#if:{{{version|}}}|&version={{{version}}}}} {{{display|{{{1}}} {{#if:{{{2|}}}| {{{2}}}|}}{{#if:{{{3|}}}|<nowiki>:</nowiki>{{{3}}}}} {{#if:{{{version|}}}|{{{version}}}}}}}}|{{{display|}}}}}]<noinclude>
 
[[Category:Wikipedia templates]]
 
[[Category:Wikipedia templates]]
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 22:28, 20 October 2016

[1]

Template documentation[view] [edit] [history] [purge]

Usage

This template is used to provide sources for Bible verse references.

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, which should be used with care in sourcing Wikipedia articles.

Code format:

{{Bibleverse|Bible book name|c:v–c:v|version}}
Example
{{Bibleverse|Genesis|1:1|KJV}} yields: Template:Bibleverse
  • 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 versions

The following is a partial list of available Bible versions and the external sites used by the template to link them. The default version is the New Revised Standard Version because it is most commonly preferred by biblical scholars:[1]

Code Version External site Example usage
ESV English Standard Version ESV.org Template:Bibleverse
HE Hebrew-English—parallel MT and JPS 1917 Mechon Mamre Template:Bibleverse
KJV King James Version Wikisource Template:Bibleverse
NIV New International Version Biblica Template:Bibleverse
NRSV New Revised Standard Version Oremus Template:Bibleverse
NRSVAE New Revised Standard Version, Anglicized Edition Oremus Template:Bibleverse
NKJV New King James Version Bible Gateway Template:Bibleverse

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 Template:Bibleverse; Template:Bibleverse

Examples

Redirects

References

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 Bible

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.

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', 'HE', 'ESV', 'NRSVAE'). Default is 'NRSV'.

Stringoptional