Template:Abudawud

From WikiIslam, the online resource on Islam
Revision as of 02:15, 29 January 2017 by Lightyears (talk | contribs) (Updated for new Quranx features)
Jump to: navigation, search

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 Hadith 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: {{Abudawud|#|#}}

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

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


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

Produces:

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

Produces:

Sunan Abu Dawud 4178 (3rd parameter error)
Example for the same hadith using Ahmad Hasan numbering
{{Abudawud|34|4166|hasan}}

Produces:

Sunan Abu Dawud 4166 (Ahmad Hasan Ref)