Template:Al Tirmidhi

From WikiIslam, the online resource on Islam
Revision as of 23:54, 20 December 2018 by Lightyears (talk | contribs)
Jump to navigation Jump to search

Jami` at-Tirmidhi 1:1:1

This template will create a link to the specified hadith in Jami` at-Tirmidhi. Please visit its template page or read the Citing Sources page for instructions on its use.

Template parameters

ParameterDescriptionTypeStatus
Book number on sunnah.com (recommended, but can be left blank)1

The Book number in the url on sunnah.com

Default
1
Example
48
Numbersuggested
Volume number2

The volume number in the Dar-us-Salam print edition (called English translation on sunnah.com)

Default
1
Example
6
Numberrequired
Book number3

The book number in the Dar-us-Salam print edition (called English translation on sunnah.com)

Default
1
Example
45
Numberrequired
Hadith number4

The hadith number in the Dar-us-Salam print edition (called English translation on sunnah.com)

Default
1
Example
3380
Numberrequired

This template is used to provide sources for Tirmidhi references as found in the Dar-us-Salam print edition (called "English translation" on sunnah.com). It formerly produced links to webcitation archives of the relevant book page on the sunnah.com website. The user then had to find the hadith in the book. We are currently using QuranX.com instead, which is able to handle Dar-us-Salam, In-book, and reference conventions to link to specific hadiths.


Usage

First Parameter is the Book Number in the url on sunnah.com (recommended, but this can be left blank now that we are using Quranx).
Second Parameter is the Volume Number in the Dar-us-Salam edition.
Third Parameter is the Book Number in the Dar-us-Salam edition.
Forth Parameter is the Hadith Number in the Dar-us-Salam edition.

The first parameter is retained for the sake of citations that used the old template linking to archives of the sunnah.com books. It can be left blank and is currently ignored by the template, but it is recommended to complete it in case we ever need to revert back to the old system (for Tirmidhi, the sunnah.com "In-book" book numbers differ from the Dar-us-Salam book numbers).

To cite a hadith: {{Al Tirmidhi||#|#|#}} (note the empty 1st parameter).

Example
{{Al Tirmidhi||6|45|3380}}

Produces:

Jami` at-Tirmidhi 6:45:3380