Template:Bible quote: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1:
<includeonly>{{#invoke:BibleQuote|main|version={{{version}}}|ref={{{ref}}}}}{{#ifexpr:{{#invoke:BibleQuote|isValidVersion|version={{{version}}}}}|[[Category:Bible quote template]]|[[Category:Bible quote template with errors]]}}</includeonly><noinclude>
<!-- I tried templatestyles but they don't work in this case because they are set directly inline on the relative elements produced by the template.
However the BibleQuote divs at the bottom of the page are not produced by the template, so they will not receive the necessary styling.
Line 5:
{{Template shortcut|Bible quote}}
{{Lua{{\sandbox}}|Module:BibleQuote}}
This Template takescan twotake up to three 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 [[W:Bible_citation|Bible citation notation]]. If empty or not used will default to "John 3:16",
Line 24:
Passing in a Bible version not supported by the BibleGet project:
 
<nowiki>{{Bible quote|version=KJAMESKJV|ref=1 John 4:7-8}}</nowiki>
 
will produce: {{Bible quote|version=KJAMESKJV|ref=1 John 4:7-8}}
 
</noinclude>