Template:Citazione bibbia: differenze tra le versioni

Da Semi del Verbo, l'enciclopedia dell'influenza del Vangelo sulla cultura
Nessun oggetto della modifica
Nessun oggetto della modifica
 
(2 versioni intermedie di uno stesso utente non sono mostrate)
Riga 1: Riga 1:
<includeonly>{{#invoke:BibleQuote|main|version={{{versione}}}|ref={{{rif}}}}}{{#if:{{#invoke:BibleQuote|isValidVersion|version={{{versione}}}}}|[[Categoria:Template Citazione bibbia]]|[[Categoria:Template Citazione bibbia con errori]]}}</includeonly><noinclude>
<includeonly>{{#invoke:BibleQuote|main}}{{#ifexpr:{{#invoke:BibleQuote|isValidVersion}}|[[Categoria:Template Citazione bibbia]]|[[Categoria:Template Citazione bibbia con errori]]}}</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.  
Riga 12: Riga 12:


produrrà: {{Citazione bibbia|versione=NVBSE|rif=1 Giovanni 4,7-8}}
produrrà: {{Citazione bibbia|versione=NVBSE|rif=1 Giovanni 4,7-8}}
----
<nowiki>{{Citazione bibbia|rif=1Cor 13:1-5|inline=0}}</nowiki>
produrrà: {{Citazione bibbia|rif=1Cor 13:1-5|inline=0}}


----
----

Versione attuale delle 09:57, 26 set 2020

{{LuaTemplate:\sandbox|Module:BibleQuote}} Questo template richiede due parametri:

  • versione: il valore del parametero deve essere l'acronimo di una versione biblica supportata dal progetto BibleGet
  • rif: il valore del parametro dovrebbe essere il riferimento di una citazione biblica formata usando la notazione standard delle citazioni bibliche, sia secondo lo standard europeo che secondo lo standard inglese Bible citation notation

{{Citazione bibbia|versione=NVBSE|rif=1 Giovanni 4,7-8}}

produrrà: 1 Giovanni 4,7-8


{{Citazione bibbia|rif=1Cor 13:1-5|inline=0}}

produrrà:


Se si passa un acronimo di versione biblica non riconosciuta dal progetto BibleGet:

{{Citazione bibbia|versione=KJAMES|rif=1 Giovanni 4,7-8}}

will produce: 1 Giovanni 4,7-8[!]