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

From blackwiki
Jump to navigation Jump to search
imported>Telpardec
(copyedit - simplify, main instructions in Bibleverse documentation, don't need duplicate of source list here :)
imported>Zyxw
(add {{TemplateData header}} before <templatedata>)
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]]) -->
  
 
== Usage ==
 
== Usage ==
Line 14: Line 14:
 
Verse {{bibleverse-nb|Genesis|1:1}} of John
 
Verse {{bibleverse-nb|Genesis|1:1}} of John
  
==Template data==
+
==TemplateData==
 +
{{TemplateData header}}
 
<templatedata>{
 
<templatedata>{
 
"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.",
 
"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.",
Line 37: Line 38:
 
   }
 
   }
 
}}</templatedata>
 
}}</templatedata>
 
  
 
== See also ==
 
== See also ==
[[Template talk:bibleverse|Bibleverse talk page]]{{snd}} additional usage information.  
+
* [[Template talk:bibleverse|Bibleverse talk page]]{{snd}} additional usage information.  
  
<includeonly>
+
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<!-- Categories and interwikis go here: -->
+
<!-- Categories below this line, please; interwikis at Wikidata -->
 
[[Category:Bible external link templates]]
 
[[Category:Bible external link templates]]
 
+
}}</includeonly>
[[th:แม่แบบ:Bibleverse-nb]]
 
</includeonly>
 

Revision as of 09:24, 26 August 2015

Usage

This template is used to provide Bible verse references, like Template: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}} of John

produces:

Verse 1:1 of John

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