Template:Bibleverse: Difference between revisions
(sort key in category) |
|||
Line 55: | Line 55: | ||
*Example2: <nowiki> {{Bibleverse||Genesis|1:15-16|HE}} </nowiki> produces: {{Bibleverse||Genesis|1:15-16|HE}} | *Example2: <nowiki> {{Bibleverse||Genesis|1:15-16|HE}} </nowiki> produces: {{Bibleverse||Genesis|1:15-16|HE}} | ||
[[Category:Templates]] | [[Category:Templates|Bibleverse]] | ||
</noinclude> | </noinclude> |
Revision as of 20:37, 23 February 2011
Usage
Code format:
{{Bibleverse|BOOK#|BOOKNAME|c:v–c:v|SOURCE}}
- This template links offsite.
- Example
{{Bibleverse||John|3:16|KJV}}
yields: John 3:16
In text, with parentheses, this looks like this ( John 3:16).
Note the empty parameter ||
before "John" in the above examples. This is to handle the first parameter, "BOOK#
", which is not usually necessary, and cumbersome to look up.
- Detail
This template is used to provide sources for Bible verse references. See the Wikipedia talk page for more usages, examples and source codes.
- DO NOT put any spaces anywhere in the template.
- You can use shorthand for the names, such as Sam or Deut.
- Verse references may be simplified (for example, no range for just one verse, or entire chapter).
List of sources
A list of sources and codes that may be used to trigger them is at http://bibref.hebtools.com#srcref
Here is a sample list (this list is subject to change, please check link above):
Code | Translation |
---|---|
(do not include or, just number or text) | |
1000 | Show user all options |
31 or NIV | New International Version (Biblegateway) |
49 or NASB | New American Standard Bible (BibleGateway) |
9 or KJV | King James Version (BibleGateway) |
105 or HE | Hebrew-English - paraellel MT and JPS 1917 (Mechon Mamre) |
65 or TM | The Message (BibleGateway) |
Alternative templates
An alternative version of this template is available that does not display the book name: Template:Bibleverse-nb. It can be used to create lists of verses, eg. {{Bibleverse||Exodus|1:2-3|HE}}; {{Bibleverse-nb||Exodus|13:10|HE}}
- produces: Exodus 1:2-3; 13:10
A shorter alternative that has no parameter BOOK# is Template:Bibleref. However, the full template Bibleverse looks better for references that do have a book number, e.g. 1 Samuel or 3 John.
Examples
- Example1: {{Bibleverse|1|Samuel|3:16-4:18|31}} produces a link to the NIV translation (31 in the source list as linked below): 1 Samuel 3:16-4:18
- Example2: {{Bibleverse||Genesis|1:15-16|HE}} produces: Genesis 1:15-16