Template:Al Nasai: Difference between revisions

From WikiIslam, the online resource on Islam
Jump to navigation Jump to search
[checked revision][checked revision]
No edit summary
No edit summary
Line 3: Line 3:
<!--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.-->
<!--For the previous version of this template, all 51 books, the about page and the table of contents on sunnah.com were archived on webcitation.org with the date parameter 2014-01-13 and the template only made use of the 1st (sunnah.com book number) of the 4 parameters.-->
<!--For the previous version of this template, all 51 books, the about page and the table of contents on sunnah.com were archived on webcitation.org with the date parameter 2014-01-13 and the template only made use of the 1st (sunnah.com book number) of the 4 parameters.-->
<templatedata>
{
"description": "This template will create a link to the specified hadith in Sunan an-Nasa'i. Please visit its template page or read the Citing Sources page for instructions on its use.",
"params": {
"1": {
"label": "Book number on sunnah.com (can be left blank)",
"description": "The Book number in the url on sunnah.com",
"required": false,
"type": "number",
"default": "1",
"example": "31"
},
"2": {
"label": "Volume number",
"description": "The volume number in the Dar-us-Salam print edition (called English translation on sunnah.com)",
"required": true,
"type": "number",
"default": "1",
"example": "4"
},
"3": {
"label": "Book number",
"description": "The book number in the Dar-us-Salam print edition (called English translation on sunnah.com)",
"required": true,
"type": "number",
"default": "1",
"example": "31"
},
"4": {
"label": "Hadith number",
"description": "The hadith number in the Dar-us-Salam print edition (called English translation on sunnah.com)",
"required": true,
"type": "number",
"default": "1",
"example": "3709"
}
}
}
</templatedata>


This template is used to provide sources for Nasa'i 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.
This template is used to provide sources for Nasa'i 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.

Revision as of 23:37, 20 December 2018

Sunan an-Nasa'i 1:1:1

This template will create a link to the specified hadith in Sunan an-Nasa'i. Please visit its template page or read the Citing Sources page for instructions on its use.

Template parameters

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

The Book number in the url on sunnah.com

Default
1
Example
31
Numberoptional
Volume number2

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

Default
1
Example
4
Numberrequired
Book number3

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

Default
1
Example
31
Numberrequired
Hadith number4

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

Default
1
Example
3709
Numberrequired

This template is used to provide sources for Nasa'i 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 (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. In any case for Nasa'i it was always the same as the 3rd parameter.

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

Example
{{Al Nasai||4|31|3709}}

Produces:

Sunan an-Nasa'i 4:31:3709