Difference between revisions of "Template:Muslim"

From WikiIslam, the online resource on Islam
Jump to navigation Jump to search
[checked revision][checked revision]
(Updated for new Quranx features)
Line 2: Line 2:
 
   {{ #switch: {{lc: {{{3|}}} }}  
 
   {{ #switch: {{lc: {{{3|}}} }}  
 
     | in-book = [http://quranx.com/Hadith/Muslim/ByIndex/In-Book/Book-{{#expr:{{{1|1}}}}}/Hadith-{{#expr:{{{2|1}}}}}/ Sahih Muslim {{{1|1}}}:{{{2|1}}} (In-Book Ref)]
 
     | in-book = [http://quranx.com/Hadith/Muslim/ByIndex/In-Book/Book-{{#expr:{{{1|1}}}}}/Hadith-{{#expr:{{{2|1}}}}}/ Sahih Muslim {{{1|1}}}:{{{2|1}}} (In-Book Ref)]
     | reference = [http://quranx.com/Hadith/Muslim/ByIndex/Reference/Hadith-{{#expr:{{{2|1}}}}}/ Sahih Muslim {{{2|1}}} (Dar-us-Salam Ref)]
+
     | reference = [http://quranx.com/Hadith/Muslim/ByIndex/Reference/Hadith-{{#expr:{{{2|1}}}}}/ Sahih Muslim {{{2|1}}} (Fuwad Abdul Baqi Ref, Dar-us-Salam)]
 
     | [http://quranx.com/Hadith/Muslim/ByIndex/In-Book/Book-{{#expr:{{{1|1}}}}}/Hadith-{{#expr:{{{2|1}}}}}/ Sahih Muslim {{{1|1}}}:{{{2|1}}} (3rd parameter error)]
 
     | [http://quranx.com/Hadith/Muslim/ByIndex/In-Book/Book-{{#expr:{{{1|1}}}}}/Hadith-{{#expr:{{{2|1}}}}}/ Sahih Muslim {{{1|1}}}:{{{2|1}}} (3rd parameter error)]
 
   }}|
 
   }}|
Line 20: Line 20:
 
Third Parameter (optional) is used to indicate that you are using one of the alternative referencing systems: Dar-us-Salam or In-book (default is USC-MSA).  
 
Third Parameter (optional) is used to indicate that you are using one of the alternative referencing systems: Dar-us-Salam or In-book (default is USC-MSA).  
  
With the Dar-us-Salam Reference system, only a hadith number is specified, and is the same as in the Dar-us-Salam print edition.
+
With the Dar-us-Salam Reference system, only a hadith number is specified, and is the same as in the Dar-us-Salam print edition. Please note that this is not the square bracket number in the Dar-us-Salam edition, but rather the round bracket number for the hadith in the same book, which was devised by the Islamic scholar Fuwad Abdul Baqi. This is the number commonly used when a hadith in Sahih Muslim is cited.
  
 
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.  
 
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.  

Revision as of 05:10, 29 January 2017

Sahih Muslim 1:1

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.

Note that all of Muslim is Sahih.

Usage

First Parameter is the Book Number.
Second Parameter is the Hadith Number.
Third Parameter (optional) is used to indicate that you are using one of the alternative referencing systems: Dar-us-Salam or In-book (default is USC-MSA).

With the Dar-us-Salam Reference system, only a hadith number is specified, and is the same as in the Dar-us-Salam print edition. Please note that this is not the square bracket number in the Dar-us-Salam edition, but rather the round bracket number for the hadith in the same book, which was devised by the Islamic scholar Fuwad Abdul Baqi. This is the number commonly used when a hadith in Sahih Muslim is cited.

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.


To use this template with USC-MSA numbering: {{Muslim|#|#}}

To use this template with Dar-us-Salam Reference numbering: {{Muslim||#|reference}} (note the empty first parameter)

To use this template with In-book numbering: {{Muslim|#|#|in-book}}


Example for hadiths using MSA-USC numbering
{{Muslim|7|2650}}

Produces:

Sahih Muslim 7:2650
Example for the same hadith using Dar-us-Salam Reference numbering
{{Muslim||1178|reference}}

Produces:

Sahih Muslim 1178 (Fuwad Abdul Baqi Ref, Dar-us-Salam)
Example for the same hadith using in-book numbering
{{Muslim|15|4|in-book}}

Produces:

Sahih Muslim 15:4 (In-Book Ref)