Template:Bukhari: Difference between revisions
| [checked revision] | [checked revision] |
Lightyears (talk | contribs) No edit summary |
Lightyears (talk | contribs) No edit summary |
||
| Line 17: | Line 17: | ||
"description": "The Volume number (only when using the USC-MSA reference system)", | "description": "The Volume number (only when using the USC-MSA reference system)", | ||
"required": false, | "required": false, | ||
"suggested": | "suggested": true, | ||
"type": "number", | "type": "number", | ||
"default": "", | "default": "", | ||
| Line 26: | Line 26: | ||
"description": "The Book number (only when using the USC-MSA or In-book reference system)", | "description": "The Book number (only when using the USC-MSA or In-book reference system)", | ||
"required": false, | "required": false, | ||
"suggested": | "suggested": true, | ||
"type": "number", | "type": "number", | ||
"default": "", | "default": "", | ||
| Line 41: | Line 41: | ||
"4": { | "4": { | ||
"label": "Alternative reference system", | "label": "Alternative reference system", | ||
"description": " | "description": "Enter darussalam for the Dar-us-Salam reference system (preferred). Enter in-book when using the In-book reference system, or leave blank if using the USC-MSA reference system.", | ||
"required": false, | "required": false, | ||
"suggested": | "suggested": true, | ||
"type": "string", | "type": "string", | ||
"default": "darussalam", | "default": "darussalam", | ||
Revision as of 22:37, 12 November 2025
This template will create a link to the specified hadith in Sahih Bukhari. 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 | |
|---|---|---|---|---|
| Volume number | 1 | The Volume number (only when using the USC-MSA reference system)
| Number | suggested |
| Book number | 2 | The Book number (only when using the USC-MSA or In-book reference system)
| Number | suggested |
| Hadith number | 3 | The hadith number
| Number | required |
| Alternative reference system | 4 | Enter darussalam for the Dar-us-Salam reference system (preferred). Enter in-book when using the In-book reference system, or leave blank if using the USC-MSA reference system.
| String | suggested |
This template is used to provide sources for Bukhari references. It formerly produced links to USC's CMJE hadith compendium, which has been retired. We are currently using QuranX.com instead, which is able to handle a choice of indexing conventions:
- USC-MSA (created by University of South Carolina)
- In-book (a hybrid system created by sunnah.com)
- Dar-us-Salam (created by the mid 20th century scholar Fuad Abdul Baqi).
The latter has become the de facto standard in English, Arabic and other languages. For that reason we have converted all existing USC-MSA citations for this collection to the Dar-us-Salam referencing system.
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
Note that all of Bukhari is Sahih.
Usage
First Parameter is the Volume Number (optional).
Second Parameter is the Book Number (optional).
Third Parameter is the Hadith Number.
Fourth Parameter (optional) is used to indicate that you are using one of the alternative referencing systems: Dar-us-Salam or In-book (if left blank, the default is USC-MSA). The revised site policy is to use the Dar-us-Salam system.
With the Dar-us-Salam Reference system, the fourth parameter value must be darussalam and only a hadith number is specified, which is the same as in the Dar-us-Salam print editions.
With the USC-MSA system, the volume, book and hadith numbers are as in USC's CMJE database (retired).
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. The fourth parameter value must be in-book.
To cite a hadith with Dar-us-Salam Reference numbering: {{Bukhari|||#|darussalam}} (note the empty first and second parameters)
To cite a hadith with USC-MSA numbering: {{Bukhari|#|#|#}}
To cite a hadith with In-book numbering: {{Bukhari||#|#|in-book}} (note the empty first parameter)
- Example for hadith using Dar-us-Salam Reference numbering
- {{Bukhari|||1780|darussalam}}
Produces:
- Example for the same hadith using MSA-USC numbering
- {{Bukhari|3|27|8}}
Produces:
- Example for the same hadith using In-book reference numbering
- {{Bukhari||26|8|in-book}}
Produces: