Template:Muwatta

From WikiIslam, the online resource on Islam
Jump to navigation Jump to search

Al-Muwatta 1:1

This template will create a link to the specified hadith in Muwatta Malik. Please visit its template page or read the Citing Sources page for instructions on its use with alternative hadith reference systems.

Template parameters

ParameterDescriptionTypeStatus
Book number1

The Book number when using the USC-MSA or Arabic reference system

Default
1
Example
27
Numberrequired
Section number2

Enter a single empty space (obsolete parameter)

Default
1
Example
27
Numbersuggested
Hadith number3

The hadith number

Default
1
Example
8
Numberrequired
Suffix4

Any suffix letter after the hadith number (can be left blank, or enter a single space if also entering a value for the next parameter)

Default
Example
a
Stringsuggested
Alternative reference system5

Enter arabic when you are using the Arabic reference system (leave blank if using the USC-MSA reference system)

Default
Example
arabic
Stringsuggested

This template is used to provide sources for al-Muwatta references. It formerly produced links to USC's CMJE website, which is retired. We are currently using QuranX.com instead, which is able to handle USC-MSA, and in-book (Arabic) reference conventions. The Arabic reference system is labelled as such on sunnah.com and is of unknown origin.

Detailed information about the hadith translations and reference systems available on QuranX.com can be read in the following document: https://github.com/QuranX/QuranX/blob/master/docs/QuranXHadiths.md

Usage

First Parameter is the Book Number.
Second Parameter is the Section Number (leave this empty - it is ignored by the current template and was used for the old CMJE site; but if using Visual Editor, enter a single empty space)
Third Parameter is the Hadith Number.
Fourth Parameter is for the a, b, c etc suffix which some hadiths have on cmje (leave this empty - it is ignored by the current template except for any number within it due to some editors incorrectly using the template in the past by putting the hadith number in there (with or without suffix) and the book number in the 2nd parameter)

Fifth Parameter (optional) is used to indicate that you are using the Arabic reference system (default is USC-MSA).

Example for hadiths using USC-MSA numbering
{{Muwatta|14||8}} (note the empty 2nd parameter)

Produces:

Al-Muwatta 14:8

Example for the same hadith using Arabic reference numbering
{{Muwatta|14||465||arabic}} (note the empty 2nd and 4th parameters)

Produces:

Al-Muwatta 14:465 (Arabic Ref)