2,743
edits
[checked revision] | [checked revision] |
Lightyears (talk | contribs) (updated for simplified quranx url) |
Lightyears (talk | contribs) No edit summary |
||
Line 12: | Line 12: | ||
}}<!--If parameter 5 exists and is not erroneously mistyped, create an In-book reference url with 1st and 3rd parameters. If no 5th parameter, create a USC-MSA ref url, using parameters 2 and 4 for cases where the old template was misused (i.e. 4 contains a number), or otherwise with parameters 1 and 3-->{{#if: {{{5|}}} | | }}<!--If parameter 5 exists and is not erroneously mistyped, create an In-book reference url with 1st and 3rd parameters. If no 5th parameter, create a USC-MSA ref url, using parameters 2 and 4 for cases where the old template was misused (i.e. 4 contains a number), or otherwise with parameters 1 and 3-->{{#if: {{{5|}}} | | ||
{{ #switch: {{lc: {{{5|}}} }} | {{ #switch: {{lc: {{{5|}}} }} | ||
| in-book = [ | | in-book = [https://quranx.com/Hadith/Malik/In-Book/Book-{{#expr:{{{1|1}}}}}/Hadith-{{#expr:{{{3|1}}}}}/ Al-Muwatta {{{1|1}}}:{{{3|1}}} (In-Book Ref)] | ||
| [ | | [https://quranx.com/Hadith/Malik/In-Book/Book-{{#expr:{{{1|1}}}}}/Hadith-{{#expr:{{{3|1}}}}}/ Al-Muwatta {{{1|1}}}:{{{3|1}}} (5th parameter error)] | ||
}}| | }}| | ||
{{#ifexpr: {{#var:Clean4thParameter}} | [ | {{#ifexpr: {{#var:Clean4thParameter}} | [https://quranx.com/Hadith/Malik/USC-MSA/Book-{{#expr:{{{2|1}}}}}/Hadith-{{#expr:{{#var:Clean4thParameter}}}}/ Al-Muwatta {{{2|1}}}:{{{4|1}}}] | [https://quranx.com/Hadith/Malik/USC-MSA/Book-{{#expr:{{{1|1}}}}}/Hadith-{{#expr:{{{3|1}}}}}/ Al-Muwatta {{{1|1}}}:{{{3|1}}}] | ||
}} | }} | ||
}}<noinclude> | }}<noinclude> |