Template:Bibleref: Difference between revisions

From CATUG wiki
Jump to navigation Jump to search
(template based on Wikipedia:Template:Bibleref)
 
(Documentation more consistent with template:Bibleverse)
Line 1: Line 1:
<includeonly>{{bibleverse||{{{1}}}|{{{2}}}|{{{3|!}}}}}</includeonly><noinclude>
<includeonly>{{bibleverse||{{{1}}}|{{{2}}}|{{{3|!}}}}}</includeonly><noinclude>


This template is shorthand for [[Template:Bibleverse]].
This template is shorthand for [[Template:Bibleverse]], and may be easier to use when there is no book number.


There is a discussion about the use of this template at [[Wikipedia:Wikipedia:Citing sources/Bible]].
==Usage==
Code format:
<code><nowiki>{{Bibleref|BOOKNAME|c:v&ndash;c:v|SOURCE}}</nowiki></code>


==Usage==
:This template links offsite.


<nowiki>{{bibleref|Book|Chapter:Verse|Optional Translation}}</nowiki>
;Example: <code><nowiki>{{Bibleref|John|3:16|KJV}}</nowiki></code> yields:{{Bibleref|John|3:16|KJV}}


For example, these:
; Detail
This template is used to provide links to Bible verses. 


  <nowiki>{{bibleref|Genesis|1:1}}</nowiki>
*'''''DO NOT put any spaces anywhere in the template.'''''
  <nowiki>{{bibleref|Genesis|1:1|NASB}}</nowiki>
*You can use shorthand for the names, such as '''Sam''' or '''Deut'''.
*Books with a number must be written without a space, e.g. '''2John'''.
*Verse references may be simplified (for example, no range for just one verse, or entire chapter).
*SOURCE is an optional parameter, to specify a translation. It is normally better to include one, e.g. KJV or NIV, otherwise the link goes to a long list of alternatives. See [[Template:Bibleverse]] for more available codes.


produce:
==Examples==


  {{bibleref|Genesis|1:1}}
*Example1: <nowiki> {{Bibleref|1Samuel|3:16-4:18|NIV}} </nowiki> produces a link to: {{Bibleref|1Samuel|3:16-4:18|31}}
  {{bibleref|Genesis|1:1|NASB}}
*Example2:  <nowiki> {{Bibleref|Genesis|1:15-16|HE}} </nowiki> produces: {{Bibleref|Genesis|1:15-16|HE}}


[[Category:Templates]]


</noinclude>
</noinclude>

Revision as of 20:35, 23 February 2011


This template is shorthand for Template:Bibleverse, and may be easier to use when there is no book number.

Usage

Code format: {{Bibleref|BOOKNAME|c:v–c:v|SOURCE}}

This template links offsite.
Example
{{Bibleref|John|3:16|KJV}} yields: John 3:16
Detail

This template is used to provide links to Bible verses.

  • DO NOT put any spaces anywhere in the template.
  • You can use shorthand for the names, such as Sam or Deut.
  • Books with a number must be written without a space, e.g. 2John.
  • Verse references may be simplified (for example, no range for just one verse, or entire chapter).
  • SOURCE is an optional parameter, to specify a translation. It is normally better to include one, e.g. KJV or NIV, otherwise the link goes to a long list of alternatives. See Template:Bibleverse for more available codes.

Examples