Template:Bible quote: Difference between revisions

From Seeds of the Word, the encyclopedia of the influence of the Gospel on culture
No edit summary
No edit summary
Line 6: Line 6:
{{Lua{{\sandbox}}|Module:BibleQuote}}
{{Lua{{\sandbox}}|Module:BibleQuote}}
This Template takes two parameters:
This Template takes two parameters:
* '''version''': value must be a Bible version that is supported by the BibleGet project
* '''version''': value must be a Bible version that is supported by the BibleGet project. If empty or not used will default to "NABRE".
* '''ref''': value should be a Bible quote using standard [[W:Bible_citation|Bible citation notation]]
* '''ref''': value should be a Bible quote using standard [[W:Bible_citation|Bible citation notation]]. If empty or not used will default to "John 3:16",
* '''inline''': value should be '''true''' or '''false'''. If empty or not used will default to '''true'''. If '''true''' the text of the Bible quote will be contained in a popup which will show on mouseover. If false the Bible quote will show as a block inside the page.


<nowiki>{{Bible quote|version=NVBSE|ref=1 John 4:7-8}}</nowiki>
<nowiki>{{Bible quote|version=NVBSE|ref=1 John 4:7-8}}</nowiki>

Revision as of 18:09, September 24, 2020

This Template takes two parameters:

  • version: value must be a Bible version that is supported by the BibleGet project. If empty or not used will default to "NABRE".
  • ref: value should be a Bible quote using standard Bible citation notation. If empty or not used will default to "John 3:16",
  • inline: value should be true or false. If empty or not used will default to true. If true the text of the Bible quote will be contained in a popup which will show on mouseover. If false the Bible quote will show as a block inside the page.

{{Bible quote|version=NVBSE|ref=1 John 4:7-8}}

will produce: 1 John 4:7-8


Passing in a Bible version not supported by the BibleGet project:

{{Bible quote|version=KJAMES|ref=1 John 4:7-8}}

will produce: 1 John 4:7-8[!]