2,743
edits
[checked revision] | [checked revision] |
Lightyears (talk | contribs) (Clarified comments) |
Lightyears (talk | contribs) (updated for simplified quranx url) |
||
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 = [http://quranx.com/Hadith/Malik | | in-book = [http://quranx.com/Hadith/Malik/In-Book/Book-{{#expr:{{{1|1}}}}}/Hadith-{{#expr:{{{3|1}}}}}/ Al-Muwatta {{{1|1}}}:{{{3|1}}} (In-Book Ref)] | ||
| [http://quranx.com/Hadith/Malik | | [http://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}} | [http://quranx.com/Hadith/Malik | {{#ifexpr: {{#var:Clean4thParameter}} | [http://quranx.com/Hadith/Malik/USC-MSA/Book-{{#expr:{{{2|1}}}}}/Hadith-{{#expr:{{#var:Clean4thParameter}}}}/ Al-Muwatta {{{2|1}}}:{{{4|1}}}] | [http://quranx.com/Hadith/Malik/USC-MSA/Book-{{#expr:{{{1|1}}}}}/Hadith-{{#expr:{{{3|1}}}}}/ Al-Muwatta {{{1|1}}}:{{{3|1}}}] | ||
}} | }} | ||
}}<noinclude> | }}<noinclude> |