Jump to content

Template:Bible quote: Difference between revisions

no edit summary
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: 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>
<includeonly>{{#invoke:BibleQuote|main}}{{#ifexpr:{{#invoke:BibleQuote|isValidVersion}}|[[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.  
<!-- 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.  
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 13: Line 13:


will produce: {{Bible quote|version=NVBSE|ref=1 John 4:7-8}}
will produce: {{Bible quote|version=NVBSE|ref=1 John 4:7-8}}
----
<nowiki>{{Bible quote|ref=1Cor 13:1-5|inline=0}}</nowiki>
will produce: {{Bible quote|ref=1Cor 13:1-5|inline=0}}


----
----