3,528
edits
| [checked revision] | [checked revision] |
Lightyears (talk | contribs) No edit summary |
Lightyears (talk | contribs) No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{#if: {{{3|}}} | | {{#if: {{{3|}}} | | ||
{{ #switch: {{lc: {{{3|}}} }} | {{ #switch: {{lc: {{{3|}}} }} | ||
| reference = [https://quranx.com/Hadith/Muslim/Reference/Hadith-{{{2|1}}}/ Sahih Muslim {{{2|1}}}] | | reference = [https://quranx.com/Hadith/Muslim/Reference/Hadith-{{{2|1}}}/ Sahih Muslim {{{2|1}}}] | ||
| [https://quranx.com/Hadith/Muslim/Reference/Hadith-{{{2|1}}}/ Sahih Muslim {{{2|1}}} (3rd parameter error)] | | [https://quranx.com/Hadith/Muslim/Reference/Hadith-{{{2|1}}}/ Sahih Muslim {{{2|1}}} (3rd parameter error)] | ||
| Line 15: | Line 14: | ||
"1": { | "1": { | ||
"label": "Book number", | "label": "Book number", | ||
"description": "Enter a single space, or Book number when using the USC-MSA | "description": "Enter a single space, or Book number when using the USC-MSA reference system", | ||
"required": false, | "required": false, | ||
"suggested": true, | "suggested": true, | ||
| Line 31: | Line 30: | ||
}, | }, | ||
"3": { | "3": { | ||
"label": " | "label": "Reference system", | ||
"description": "Enter the word 'reference' for the Dar-us-Salam reference system (preferred) | "description": "Enter the word 'reference' for the Dar-us-Salam reference system (preferred), or leave blank if using the USC-MSA reference system.", | ||
"required": false, | "required": false, | ||
"suggested": true, | "suggested": true, | ||
| Line 46: | Line 45: | ||
* USC-MSA (created by University of South Carolina) | * USC-MSA (created by University of South Carolina) | ||
* Reference (this is the numbering created by the mid 20th century scholar Fuad Abdul Baqi, shown in round brackets in the Dar-us-Salam print editions, which is different from the number shown there in square brackets). | |||
* Reference (this is the numbering created by the mid 20th century scholar Fuad Abdul Baqi, shown in round brackets in the Dar-us-Salam print editions, which is different from the number shown in square brackets). | |||
The latter has become the de facto standard in English, Arabic and other languages. For that reason we have converted all existing USC-MSA citations for this collection to the Dar-us-Salam (al-Baqi) referencing system. | The latter has become the de facto standard in English, Arabic and other languages. For that reason we have converted all existing USC-MSA citations for this collection to the Dar-us-Salam (al-Baqi) referencing system. | ||
| Line 58: | Line 56: | ||
First Parameter is the Book Number (optional).<BR> | First Parameter is the Book Number (optional).<BR> | ||
Second Parameter is the Hadith Number.<BR> | Second Parameter is the Hadith Number.<BR> | ||
Third Parameter (optional) is used to indicate | Third Parameter (optional) is used to indicate the referencing system: Dar-us-Salam ("reference"), or if left blank, USC-MSA). The revised site policy is to use the Dar-us-Salam ("reference") system. | ||
With the Dar-us-Salam Reference system, the third parameter must be the word "reference" and only a hadith number is specified, which is the same as in the Dar-us-Salam print edition. Please note that this is not the hadith's square bracket number in the Dar-us-Salam edition, but rather the round bracket number next to it, which was devised by the mid-20th century Islamic scholar Fuad Abdul Baqi. This is the number commonly used when a hadith in Sahih Muslim is cited. | With the Dar-us-Salam Reference system, the third parameter must be the word "reference" and only a hadith number is specified, which is the same as in the Dar-us-Salam print edition (and is the number in bold on sunnah.com). Please note that this is not the hadith's square bracket number in the Dar-us-Salam print edition, but rather the round bracket number next to it, which was devised by the mid-20th century Islamic scholar Fuad Abdul Baqi. This is the number commonly used when a hadith in Sahih Muslim is cited. | ||
'''When using Visual Editor''' (but not source editor), a single space should be entered for the Book number so that the generated wikitext will have a pipe ("|") for the empty first parameter i.e. when saved it will generate for example <code><nowiki>{{Muslim||123|reference}}</nowiki></code> instead of <code><nowiki>{{Muslim|2=123|3=reference}}</nowiki></code>. This is preferred in order to keep Visual Editor generated wikitext consistent with the existing wikitext across the site. | '''When using Visual Editor''' (but not source editor), a single space should be entered for the Book number so that the generated wikitext will have a pipe ("|") for the empty first parameter i.e. when saved it will generate for example <code><nowiki>{{Muslim||123|reference}}</nowiki></code> instead of <code><nowiki>{{Muslim|2=123|3=reference}}</nowiki></code>. This is preferred in order to keep Visual Editor generated wikitext consistent with the existing wikitext across the site. | ||
With the USC-MSA system, the book number and hadith number are as in USC's CMJE database (retired). | With the USC-MSA system, the book number and hadith number are as in USC's CMJE database (retired). | ||
To use this template with Dar-us-Salam Reference numbering: <tt><nowiki>{{Muslim||#|reference}}</nowiki></tt> (note the empty first parameter) | To use this template with Dar-us-Salam Reference numbering: <tt><nowiki>{{Muslim||#|reference}}</nowiki></tt> (note the empty first parameter) | ||
To use this template with USC-MSA numbering: <tt><nowiki>{{Muslim|#|#}}</nowiki></tt> | To use this template with USC-MSA numbering: <tt><nowiki>{{Muslim|#|#}}</nowiki></tt> | ||
;Example for hadith using Dar-us-Salam Reference numbering: | ;Example for hadith using Dar-us-Salam Reference numbering: | ||
| Line 85: | Line 79: | ||
Produces: | Produces: | ||
:{{Muslim|7|2650}} | :{{Muslim|7|2650}} | ||
[[Category:Islamic text templates|Muslim-usc]] | [[Category:Islamic text templates|Muslim-usc]] | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> | ||