Template:Bibleref: Difference between revisions

From CATUG wiki
Jump to navigation Jump to search
(Documentation more consistent with template:Bibleverse)
(→‎Usage: when to use Bibleverse)
 
(One intermediate revision by the same user not shown)
Line 16: Line 16:
*'''''DO NOT put any spaces anywhere in the template.'''''
*'''''DO NOT put any spaces anywhere in the template.'''''
*You can use shorthand for the names, such as '''Sam''' or '''Deut'''.
*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'''.
*Books with a number must be written without a space, e.g. '''2John'''. This doesn't look great, so it is better to use the slightly longer [[Template:Bibleverse]] when quoting such books.
*Verse references may be simplified (for example, no range for just one verse, or entire chapter).
*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.  
*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==
==Examples==
Line 25: Line 25:
*Example2:  <nowiki> {{Bibleref|Genesis|1:15-16|HE}} </nowiki> produces: {{Bibleref|Genesis|1:15-16|HE}}
*Example2:  <nowiki> {{Bibleref|Genesis|1:15-16|HE}} </nowiki> produces: {{Bibleref|Genesis|1:15-16|HE}}


[[Category:Templates]]
[[Category:Templates|Bibleref]]


</noinclude>
</noinclude>

Latest revision as of 20:48, 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. This doesn't look great, so it is better to use the slightly longer Template:Bibleverse when quoting such books.
  • 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