Array

Template:S: Difference between revisions

mNo edit summary
(Update the URL to new Church website, and correct format for current query form. Also only displays the colon in the reference if there is a 4th element to the scripture reference.)
Line 1: Line 1:
[http://lds.org/scriptures/{{#switch: {{{2|}}}
[https://www.churchofjesuschrist.org/study/scriptures/{{#switch: {{{2|}}}
|DC = dc-testament/dc
|DC = dc-testament/dc
|D&C = dc-testament/dc
|D&C = dc-testament/dc
Line 109: Line 109:
|A+of+F = pgp/a-of-f
|A+of+F = pgp/a-of-f
|Articles+of+Faith = pgp/a-of-f
|Articles+of+Faith = pgp/a-of-f
|Articles of Faith = pgp/a-of-f|{{{2}}}}}/{{{3}}}.{{{4}}}?lang=eng#{{{4}}} {{{1}}} {{{2}}} {{{3}}}:{{{4}}}]
|Articles of Faith = pgp/a-of-f
|{{{2}}}}}/{{{3}}}?lang=eng{{#if:{{{4|}}}|&id={{{4}}}#{{{4}}}|}} {{{1}}} {{{2}}} {{{3}}}{{#if:{{{4|}}}|꞉{{{4}}}|}}]
<!-- Format without verses: https://www.churchofjesuschrist.org/study/scriptures/bofm/1-ne/11?lang=eng
Format with verses: https://www.churchofjesuschrist.org/study/scriptures/bofm/1-ne/11?lang=eng&id=10-15#10-15
Note that to display a colon, this must be done in unicode = &#xa789;
This is because the colon messes up the code if it's just typed in there.-->

Revision as of 06:03, 13 April 2024