Template:Abu Dawud: Difference between revisions

From WikiIslam, the online resource on Islam
Jump to navigation Jump to search
[checked revision][checked revision]
(Updated for new Quranx features)
No edit summary
Line 2: Line 2:
   {{ #switch: {{lc: {{{3|}}} }}  
   {{ #switch: {{lc: {{{3|}}} }}  
     | reference = [http://quranx.com/Hadith/AbuDawud/ByIndex/Reference/Hadith-{{#expr:{{{2|1}}}}}/ Sunan Abu Dawud {{{2|1}}} (Dar-us-Salam Ref)]
     | reference = [http://quranx.com/Hadith/AbuDawud/ByIndex/Reference/Hadith-{{#expr:{{{2|1}}}}}/ Sunan Abu Dawud {{{2|1}}} (Dar-us-Salam Ref)]
     | hasan = [http://quranx.com/Hadith/AbuDawud/ByIndex/Hasan/Book-{{#expr:{{{1|1}}}}}/Hadith-{{#expr:{{{2|1}}}}}/ Sunan Abu Dawud {{{1|1}}}:{{{2|1}}} (Hasan Ref)]
     | hasan = [http://quranx.com/Hadith/AbuDawud/ByIndex/Hasan/Book-{{#expr:{{{1|1}}}}}/Hadith-{{#expr:{{{2|1}}}}}/ Sunan Abu Dawud {{{1|1}}}:{{{2|1}}} (Ahmad Hasan Ref)]
     | [http://quranx.com/Hadith/AbuDawud/ByIndex/In-Book/Book-{{#expr:{{{1|1}}}}}/Hadith-{{#expr:{{{2|1}}}}}/ Sunan Abu Dawud {{{1|1}}}:{{{2|1}}} (3rd parameter error)]
     | [http://quranx.com/Hadith/AbuDawud/ByIndex/In-Book/Book-{{#expr:{{{1|1}}}}}/Hadith-{{#expr:{{{2|1}}}}}/ Sunan Abu Dawud {{{1|1}}}:{{{2|1}}} (3rd parameter error)]
   }}|
   }}|

Revision as of 02:09, 29 January 2017

Sunan Abu Dawud 1:1

This template is used to provide sources for Sunan Abu Dawud references. 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, Dar-us-Salam, and Ahmad Hasan reference conventions.

Usage

First Parameter is the Book Number.
Second Parameter is the Verse Number.
Third Parameter (optional) is used to indicate that you are using one of the alternative referencing systems: Dar-us-Salam or Hasan (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 Ahmad Hasan referencing system, the book and hadith number are the same as in the 1993 print edition of Ahmad Hasan's translation (this is the English translation used for Abu Dawud on Quranx and other popular sites). The hadith numbers and translation are the same as was used by USC-MSA for their partial Abu Dawud collection, though the book numbering differs in many cases.


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

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

To use this template with Ahmad Hasan numbering: {{Abu Dawud|#|#|hasan}}


Example for hadiths using USC-MSA numbering
{{Abu Dawud|33|4166}}

Produces:

Sunan Abu Dawud 33:4166
Example for the same hadith using Dar-us-Salam Reference numbering
{{Abu Dawud||4178|reference}}

Produces:

Sunan Abu Dawud 4178 (Dar-us-Salam Ref)
Example for the same hadith using Ahmad Hasan numbering
{{Abu Dawud|34|4166|hasan}}

Produces:

Sunan Abu Dawud 34:4166 (Ahmad Hasan Ref)