Template:Muslim: Difference between revisions
[checked revision] | [checked revision] |
Lightyears (talk | contribs) No edit summary |
Lightyears (talk | contribs) No edit summary |
||
Line 13: | Line 13: | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": "This template will create a link to the specified hadith in Sahih | "description": "This template will create a link to the specified hadith in Sahih Muslim. Please visit its template page or read the Citing Sources page for instructions on its use with alternative hadith reference systems.", | ||
"params": { | "params": { | ||
"1": { | "1": { | ||
"label": "Book number | "label": "Book number", | ||
"description": "The Book number when using the USC-MSA or In-book reference system", | "description": "The Book number when using the USC-MSA or In-book reference system", | ||
"required": false, | "required": false, | ||
"suggested": true, | |||
"type": "number", | "type": "number", | ||
"default": "1", | "default": "1", | ||
Line 35: | Line 36: | ||
"description": "Enter reference when you are using the Dar-us-Salam circular bracket reference system or in-book when using the In-book reference system (leave blank if using the USC-MSA reference system)", | "description": "Enter reference when you are using the Dar-us-Salam circular bracket reference system or in-book when using the In-book reference system (leave blank if using the USC-MSA reference system)", | ||
"required": false, | "required": false, | ||
"suggested": true, | |||
"type": "string", | "type": "string", | ||
"default": "", | "default": "", |
Latest revision as of 01:22, 22 December 2018
This template will create a link to the specified hadith in Sahih Muslim. 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 or In-book reference system
| Number | suggested |
Hadith number | 2 | The hadith number
| Number | required |
Alternative reference system | 3 | Enter reference when you are using the Dar-us-Salam circular bracket reference system or in-book when using the In-book reference system (leave blank if using the USC-MSA reference system)
| String | suggested |
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:
- Example for the same hadith using Dar-us-Salam Reference numbering
- {{Muslim||1178|reference}}
Produces:
- Example for the same hadith using in-book numbering
- {{Muslim|15|4|in-book}}
Produces: