Template:Abudawud: Difference between revisions
[checked revision] | [checked revision] |
Lightyears (talk | contribs) No edit summary |
Lightyears (talk | contribs) No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 10: | Line 10: | ||
<!--The <nowiki>{{#expr: }}</nowiki> function in the template is used to trim any leading zeros in the numbers.--> | <!--The <nowiki>{{#expr: }}</nowiki> function in the template is used to trim any leading zeros in the numbers.--> | ||
<!--the old cmje links were constructed making use of the <nowiki>{{three digit|}}</nowiki> function)--> | <!--the old cmje links were constructed making use of the <nowiki>{{three digit|}}</nowiki> function)--> | ||
<templatedata> | |||
{ | |||
"description": "This template will create a link to the specified hadith in Sunan Abu Dawud. Please visit its template page or read the Citing Sources page for instructions on its use with alternative hadith reference systems.", | |||
"params": { | |||
"1": { | |||
"label": "Book number", | |||
"description": "The Book number when using the USC-MSA reference system", | |||
"required": false, | |||
"suggested": true, | |||
"type": "number", | |||
"default": "1", | |||
"example": "33" | |||
}, | |||
"2": { | |||
"label": "Hadith number", | |||
"description": "The hadith number", | |||
"required": true, | |||
"type": "number", | |||
"default": "1", | |||
"example": "4166" | |||
}, | |||
"3": { | |||
"label": "Alternative reference system", | |||
"description": "Enter darussalam when you are using the Dar-us-Salam reference system or enter hasan when using the Ahmad Hasan reference system (leave blank if using the USC-MSA reference system)", | |||
"required": false, | |||
"suggested": true, | |||
"type": "string", | |||
"default": "", | |||
"example": "hasan" | |||
} | |||
} | |||
} | |||
</templatedata> | |||
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.<BR> | 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.<BR> | ||
Line 26: | Line 60: | ||
To use this template with USC-MSA numbering: <tt><nowiki>{{Abudawud|#|#}}</nowiki></tt> | To use this template with USC-MSA numbering: <tt><nowiki>{{Abudawud|#|#}}</nowiki></tt> | ||
To use this template with Dar-us-Salam Reference numbering: <tt><nowiki>{{Abudawud||#|darussalam}}</nowiki></tt> (note the empty | To use this template with Dar-us-Salam Reference numbering: <tt><nowiki>{{Abudawud||#|darussalam}}</nowiki></tt> (note the empty first parameter) | ||
To use this template with Ahmad Hasan numbering: <tt><nowiki>{{Abudawud||#|hasan}}</nowiki></tt> (note the empty | To use this template with Ahmad Hasan numbering: <tt><nowiki>{{Abudawud||#|hasan}}</nowiki></tt> (note the empty first parameter) | ||
Latest revision as of 01:24, 22 December 2018
This template will create a link to the specified hadith in Sunan Abu Dawud. Please visit its template page or read the Citing Sources page for instructions on its use with alternative hadith reference systems.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Book number | 1 | The Book number when using the USC-MSA reference system
| Number | suggested |
Hadith number | 2 | The hadith number
| Number | required |
Alternative reference system | 3 | Enter darussalam when you are using the Dar-us-Salam reference system or enter hasan when using the Ahmad Hasan reference system (leave blank if using the USC-MSA reference system)
| String | suggested |
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, only a hadith number is specified, and is the same as in 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. Hasan's book numbering is not used as it changed depending on the edition (hadiths were divided into 36 books, or into 41 books).
To use this template with USC-MSA numbering: {{Abudawud|#|#}}
To use this template with Dar-us-Salam Reference numbering: {{Abudawud||#|darussalam}} (note the empty first parameter)
To use this template with Ahmad Hasan numbering: {{Abudawud||#|hasan}} (note the empty first parameter)
- Example for hadiths using USC-MSA numbering
- {{Abudawud|33|4166}}
Produces:
- Example for the same hadith using Dar-us-Salam Reference numbering
- {{Abudawud||4178|darussalam}}
Produces:
- Example for the same hadith using Ahmad Hasan numbering
- {{Abudawud||4166|hasan}}
Produces: