2,743
edits
[checked revision] | [checked revision] |
Lightyears (talk | contribs) No edit summary |
Lightyears (talk | contribs) No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#if: {{{3|}}} | | {{#if: {{{3|}}} | | ||
{{ #switch: {{lc: {{{3|}}} }} | {{ #switch: {{lc: {{{3|}}} }} | ||
| in-book = [ | | in-book = [https://quranx.com/Hadith/Muslim/In-Book/Book-{{#expr:{{{1|1}}}}}/Hadith-{{#expr:{{{2|1}}}}}/ Sahih Muslim {{{1|1}}}:{{{2|1}}} (In-Book Ref)] | ||
| reference = [ | | reference = [https://quranx.com/Hadith/Muslim/Reference/Hadith-{{#expr:{{{2|1}}}}}/ Sahih Muslim {{{2|1}}} (Fuwad Abdul Baqi reference, Dar-us-Salam)] | ||
| [ | | [https://quranx.com/Hadith/Muslim/Reference/Hadith-{{#expr:{{{2|1}}}}}/ Sahih Muslim {{{2|1}}} (3rd parameter error)] | ||
}}| | }}| | ||
[ | [https://quranx.com/Hadith/Muslim/USC-MSA/Book-{{#expr:{{{1|1}}}}}/Hadith-{{#expr:{{{2|1}}}}}/ Sahih Muslim {{{1|1}}}:{{{2|1}}}] | ||
}}<noinclude> | }}<noinclude> | ||
<!--The noinclude tag must be right at the end of the template on the same line or you will get new lines after its use in some situations--> | <!--The noinclude tag must be right at the end of the template on the same line or you will get new lines after its use in some situations--> | ||
<!--The <nowiki>{{#expr: }}</nowiki> function in the template is used to trim any leading zeros in the numbers.--> | <!--The <nowiki>{{#expr: }}</nowiki> function in the template is used to trim any leading zeros in the numbers.--> | ||
<!--the old cmje links were constructed making use of the <nowiki>{{three digit|}}</nowiki> function)--> | <!--the old cmje links were constructed making use of the <nowiki>{{three digit|}}</nowiki> function)--> | ||
<templatedata> | |||
{ | |||
"description": "This template will create a link to the specified hadith in Sahih Muslim. Please visit its template page or read the Citing Sources page for instructions on its use with alternative hadith reference systems.", | |||
"params": { | |||
"1": { | |||
"label": "Book number", | |||
"description": "The Book number when using the USC-MSA or In-book reference system", | |||
"required": false, | |||
"suggested": true, | |||
"type": "number", | |||
"default": "1", | |||
"example": "7" | |||
}, | |||
"2": { | |||
"label": "Hadith number", | |||
"description": "The hadith number", | |||
"required": true, | |||
"type": "number", | |||
"default": "1", | |||
"example": "2650" | |||
}, | |||
"3": { | |||
"label": "Alternative reference system", | |||
"description": "Enter reference when you are using the Dar-us-Salam circular bracket reference system or in-book when using the In-book reference system (leave blank if using the USC-MSA reference system)", | |||
"required": false, | |||
"suggested": true, | |||
"type": "string", | |||
"default": "", | |||
"example": "reference" | |||
} | |||
} | |||
} | |||
</templatedata> | |||
This template is used to provide sources for Sahih Muslim references from USC-MSA and other indexing conventions. It formerly produced links to the cmje website, which no longer works. We are currently using QuranX.com instead, which is able to handle USC-MSA, In-book, and Dar-us-Salam reference conventions. | This template is used to provide sources for Sahih Muslim references from USC-MSA and other indexing conventions. It formerly produced links to the cmje website, which no longer works. We are currently using QuranX.com instead, which is able to handle USC-MSA, In-book, and Dar-us-Salam reference conventions. |