Difference between revisions of "Template:Bibleverse-nb/doc"

From blackwiki
Jump to navigation Jump to search
(m.e.)
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(7 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- Categories and interwikis go at the bottom of this page. -->
+
<!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
{{info|There is a discussion about the use of Bible templates and external sites at [[Wikipedia:Citing sources/Bible]].}}
 
  
=== Usage ===
+
== Usage ==
This template is used to provide sources for bible verse references, a variation on [[Template:Bibleverse]].  
+
This template is used to provide Bible verse references, like {{tl|Bibleverse}}, but with "nb", <u>n</u>o <u>b</u>ook name displayed. Use a hyphen, not a dash, to separate ranges. The dash does not work in all operating system and browser combinations.
 +
 
 +
See [[Template:Bibleverse|Bibleverse documentation]] for general usage instructions and concerns.
 +
 
 +
==Example==
 +
<nowiki>Verse {{bibleverse-nb|Genesis|1:1|KJV}} of Genesis</nowiki>
  
===Example===
 
<nowiki>Verse {{bibleverse-nb|John|3:16}} of John</nowiki>
 
{{bibleverse-nb|John|3:16|JP}}
 
 
produces:
 
produces:
  
Verse {{bibleverse-nb|John|3:16}} of John
+
Verse {{bibleverse-nb|Genesis|1:1|KJV}} of Genesis
  
==Template data==
+
==TemplateData==
 +
{{TemplateData header}}
 
<templatedata>{
 
<templatedata>{
"description": "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.",
+
"description": "A template to generate a link to selected Bible editions at several sites including 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.",
 
"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. Formats are listed at tools.wmflabs.org/bibleversefinder/biblebooks_bibleref.txt",
 
     "type": "string",
 
     "type": "string",
 
     "required": true
 
     "required": true
Line 37: Line 39:
 
}}</templatedata>
 
}}</templatedata>
  
 +
== See also ==
 +
* [[Template talk:bibleverse|Bibleverse talk page]]{{snd}} additional usage information.
  
=== See also ===
+
<includeonly>{{Sandbox other||
See the [[Template talk:bibleverse|Bibleverse talk page]] for additional usage information. A list of other online bible sources and codes that may be used to trigger them is at the [http://bibref.joelnothman.com/bibref.php Bible Verse Finder].
+
<!-- Categories below this line, please; interwikis at Wikidata -->
 
 
<includeonly>
 
<!-- Categories and interwikis go here: -->
 
 
[[Category:Bible external link templates]]
 
[[Category:Bible external link templates]]
 
+
}}</includeonly>
[[th:แม่แบบ:Bibleverse-nb]]
 
</includeonly>
 

Latest revision as of 23:54, 23 April 2020

Usage

This template is used to provide Bible verse references, like {{Bibleverse}}, but with "nb", no book name displayed. Use a hyphen, not a dash, to separate ranges. The dash does not work in all operating system and browser combinations.

See Bibleverse documentation for general usage instructions and concerns.

Example

Verse {{bibleverse-nb|Genesis|1:1|KJV}} of Genesis

produces:

Verse 1:1 of Genesis

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-nb

A template to generate a link to selected Bible editions at several sites including 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.

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. 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

Stringoptional

See also