Template:Muslim: Difference between revisions

Jump to navigation Jump to search
754 bytes removed ,  Yesterday at 18:01
no edit summary
[checked revision][checked revision]
No edit summary
No edit summary
 
Line 1: Line 1:
{{#if: {{{3|}}}  |  
{{#if: {{{3|}}}  |  
   {{ #switch: {{lc: {{{3|}}} }}  
   {{ #switch: {{lc: {{{3|}}} }}  
    | in-book = [https://quranx.com/Hadith/Muslim/In-Book/Book-{{{1|1}}}/Hadith-{{{2|1}}}/ Sahih Muslim {{{1|1}}}:{{{2|1}}} (In-Book Ref)]
     | 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 or In-book reference system",
"description": "Enter a single space, or Book number when using the USC-MSA reference system",
"required": false,
"required": false,
"suggested": true,
"suggested": true,
Line 32: Line 31:
"3": {
"3": {
"label": "Reference system",
"label": "Reference system",
"description": "Enter the word 'reference' for the Dar-us-Salam reference system (preferred). Enter 'in-book' when using the In-book reference system, or leave blank if using the USC-MSA reference system.",
"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)
* In-book (a hybrid system created by sunnah.com)
* 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 there in square brackets).  


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 the referencing system: Dar-us-Salam ("reference") or In-book ("in-book") or if left blank, USC-MSA). The revised site policy is to use the Dar-us-Salam ("reference") system.
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 (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.
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.
Line 65: Line 63:


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).
With the In-book system, the book number for a hadith is the same as in the Dar-us-Salam print edition, and the hadith number is a simple incremental index starting at 1 for the first hadith in each book. The third parameter must be in-book.


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>
To use this template with In-book numbering:    <tt><nowiki>{{Muslim|#|#|in-book}}</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}}
;Example for the same hadith using in-book numbering:
:<nowiki>{{Muslim|15|4|in-book}}</nowiki>
Produces:
:{{Muslim|15|4|in-book}}


[[Category:Islamic text templates|Muslim-usc]]
[[Category:Islamic text templates|Muslim-usc]]
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>
Editors, em-bypass-2, Reviewers, rollback, Administrators
3,500

edits

Navigation menu