Difference between revisions of "Template:Bukhari"

From WikiIslam, the online resource on Islam
Jump to navigation Jump to search
[checked revision][checked revision]
 
Line 16: Line 16:
 
"params": {
 
"params": {
 
"1": {
 
"1": {
"label": "Volume number (Use only when using the USC-MSA reference system)",
+
"label": "Volume number",
 
"description": "The Volume number when using the USC-MSA reference system",
 
"description": "The Volume number when using the USC-MSA reference system",
 
"required": false,
 
"required": false,
 +
"suggested": true,
 
"type": "number",
 
"type": "number",
 
"default": "1",
 
"default": "1",
Line 24: Line 25:
 
},
 
},
 
"2": {
 
"2": {
"label": "Book number (Use only when using the USC-MSA or In-book reference system)",
+
"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 43: Line 45:
 
"description": "Enter darussalam when you are using the Dar-us-Salam reference system or in-book when using the In-book reference system (leave blank if using the USC-MSA reference system)",
 
"description": "Enter darussalam when you are using the Dar-us-Salam 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:19, 22 December 2018

Sahih Bukhari 1:1:1

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.

Template parameters

ParameterDescriptionTypeStatus
Volume number1

The Volume number when using the USC-MSA reference system

Default
1
Example
3
Numbersuggested
Book number2

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

Default
1
Example
27
Numbersuggested
Hadith number3

The hadith number

Default
1
Example
8
Numberrequired
Alternative reference system4

Enter darussalam when you are using the Dar-us-Salam reference system or in-book when using the In-book reference system (leave blank if using the USC-MSA reference system)

Default
Example
darussalam
Stringsuggested

This template is used to provide sources for Bukhari 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 Bukhari is Sahih.

Usage

First Parameter is the Volume Number.
Second Parameter is the Book Number.
Third Parameter is the Hadith Number.
Forth 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.

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 cite a hadith with USC-MSA numbering: {{Bukhari|#|#|#}}

To cite a hadith with Dar-us-Salam Reference numbering: {{Bukhari|||#|darussalam}} (note the empty first and second parameters)

To cite a hadith with In-book numbering: {{Bukhari||#|#|in-book}} (note the empty first parameter)

Example for hadiths using MSA-USC numbering
{{Bukhari|3|27|8}}

Produces:

Sahih Bukhari 3:27:8
Example for the same hadith using Dar-us-Salam Reference numbering
{{Bukhari|||1780|darussalam}}

Produces:

Sahih Bukhari 1780 (Dar-us-Salam Ref)
Example for the same hadith using In-book reference numbering
{{Bukhari||26|8|in-book}}

Produces:

Sahih Bukhari 26:8 (In-Book Ref)