Difference between revisions of "Template:Bibleref2/doc"

From blackwiki
Jump to navigation Jump to search
imported>Afaprof01
imported>Afaprof01
Line 11: Line 11:
 
{{bibleref2|John|3:16-18}}
 
{{bibleref2|John|3:16-18}}
  
Format: <nowiki> {{bibleref2|BOOKNAME|c:v-c:v|Display_reference|translation_code}} </nowiki><br><br>
+
Format: <nowiki> {{bibleref2|BOOKNAME|c:v-c:v|Display_reference|translation_code}} </nowiki><br><br>
  
 
NOTE: You can use shorthand for the names, such as '''1Jn''', '''2Tim''', '''2Sam.''' or '''Deut.'''. Periods are optional. Also, verse references may be simplified (for example, no range or entire chapter).
 
NOTE: You can use shorthand for the names, such as '''1Jn''', '''2Tim''', '''2Sam.''' or '''Deut.'''. Periods are optional. Also, verse references may be simplified (for example, no range or entire chapter).
Line 53: Line 53:
 
This template inserts an external link to a Bible reference at [http://www.biblegateway.com/ biblegateway.com], allowing for choice of translation.
 
This template inserts an external link to a Bible reference at [http://www.biblegateway.com/ biblegateway.com], allowing for choice of translation.
  
==Available versions==
+
==Available translations==
Versions (translations) available through Biblegateway.com may be found at http://www.biblegateway.com/usage/linking/versionslist.php
+
Translations available through Biblegateway.com may be found at http://www.biblegateway.com/usage/linking/versionslist.php
 
 
==Differences from Template '''bibleref'''==
 
Similar to Template '''bibleref''' with three main differences:
 
#This template always defaults to TNIV if translation_abbr is left blank.
 
#It always produces a link to '''biblegateway.com'''
 
#It allows a display reference as the fourth parameter
 
&#123;&#123;[[Template:Bibleref2|bibleref2]]&#125;&#125;&#32;&mdash;
 
 
 
{{Seealso|Template:Bibleref2-nb|Template:Bibleref2c|Template:Bibleref2c-nb}}
 
  
 
== Usage ==
 
== Usage ==
Line 81: Line 72:
 
**add the version such as "(NASB");  
 
**add the version such as "(NASB");  
 
**indicate any other note to be displayed as part of the link.
 
**indicate any other note to be displayed as part of the link.
 +
 +
==Differences from Template '''bibleref'''==
 +
Similar to Template '''bibleref''' with three main differences:
 +
#This template always defaults to TNIV if translation_abbr is left blank.
 +
#It always produces a link to '''biblegateway.com'''
 +
#It allows a display reference as the fourth parameter
 +
&#123;&#123;[[Template:Bibleref2|bibleref2]]&#125;&#125;&#32;&mdash;
 +
 +
{{Seealso|Template:Bibleref2-nb|Template:Bibleref2c|Template:Bibleref2c-nb}}
  
 
== Added documentation ==
 
== Added documentation ==
 
; Created : [[User:Afaprof01|Afaprof01]] 23:35, 24 April 2007 (UTC)
 
; Created : [[User:Afaprof01|Afaprof01]] 23:35, 24 April 2007 (UTC)

Revision as of 04:41, 29 August 2009

See also

Suppresses display of the Book for 2nd and subsequent sequential uses. Example: John 3:16Template:Only in print, 4:2Template:Only in print, 5:8Template:Only in print
Puts citation into square brackets and displays it as superscript like typical references display. This is an example.[Rom. 10:9-10]Template:Only in print Abbreviating Book names may significantly improve the appearance of Bible references displayed in citation or reference style.
Combines the superscript citation style and suppresses Book name for sequential citations from the same Book. Example[John 3:16]Template:Only in print [4:2]Template:Only in print [5:8]Template:Only in print

Documentation

John 3:16-18Template:Only in print

Format: {{bibleref2|BOOKNAME|c:v-c:v|Display_reference|translation_code}}

NOTE: You can use shorthand for the names, such as 1Jn, 2Tim, 2Sam. or Deut.. Periods are optional. Also, verse references may be simplified (for example, no range or entire chapter).

You may omit the verses and list only a chapter, like |John|1| The only required parameters are the |Book| and at least |chapter|.

DO NOT put any spaces anywhere in the template.

Examples

Please see next section for discussion about abbreviations for the version of the Bible.

CODE RESULT
{{bibleref2|John|3:16|}}
John 3:16Template:Only in print
{{bibleref2|John|3:16-18|NKJV|John 3:16-18}}
John 3:16-18Template:Only in print
{{bibleref2|1Jn|1:9-2:11||ASV|1 John 1:9ff}}
1 John 1:9ffTemplate:Only in print
{{bibleref2|1Cor|13|AMP|1 Cor. 13}}
1 Cor. 13Template:Only in print
{{bibleref2|Gen.|1:1||Creation}}
CreationTemplate:Only in print

Documentation

Purpose

This template inserts an external link to a Bible reference at biblegateway.com, allowing for choice of translation.

Available translations

Translations available through Biblegateway.com may be found at http://www.biblegateway.com/usage/linking/versionslist.php

Usage

Examples:

{{bibleref2|John|3:16}}

or

{{bibleref2|John|3:16|NKJV}}

or

{{bibleref2|Jn|3:16|NKJV|John 3:16, NKJV}}
  • Book is the Bible book name in any abbreviation allowed by biblegateway.com. It must not contain any blanks! Therefore, 1Cor instead of 1 Cor
  • Reference is the chapter, chapter-and-verse, or chapter-and-verse range within the book; if omitted, it defaults to Chapter 1.
  • OPTIONAL: Translation_Abbreviation is the translation name abbreviation, such as NIV, KJV, NKJV, NASB, TLB, etc. If omitted, it defaults to TNIV. NOTE: RSV is not available. For complete list of available translations, see http://www.biblegateway.com/usage/linking/versionslist.php. Editor must use standard alphabetic abbreviations, not numerical ones.
  • OPTIONAL: Display_reference is the display choice of the editor. If omitted, then the Book and Reference will be displayed. Some uses for Display_reference include the ability to:
    • spell out a numbered book like "1 Timothy" instead of the default display of "1Timothy"
    • add the version such as "(NASB");
    • indicate any other note to be displayed as part of the link.

Differences from Template bibleref

Similar to Template bibleref with three main differences:

  1. This template always defaults to TNIV if translation_abbr is left blank.
  2. It always produces a link to biblegateway.com
  3. It allows a display reference as the fourth parameter

{{bibleref2}} —

Template:Seealso

Added documentation

Created 
Afaprof01 23:35, 24 April 2007 (UTC)