Template:Ibn Majah: Difference between revisions
[checked revision] | [checked revision] |
mNo edit summary |
Lightyears (talk | contribs) No edit summary |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[ | [https://quranx.com/Hadith/IbnMajah/DarusSalam/Volume-{{#expr:{{{2|1}}}}}/Book-{{#expr:{{{3|1}}}}}/Hadith-{{#expr:{{{4|1}}}}}/ Sunan Ibn Majah {{{2|1}}}:{{{3|1}}}:{{{4|1}}}]<noinclude> | ||
<!--The noinclude tag must be right at the end of the template on the same line or you will get new lines after its use in some situations--> | |||
<!--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 37 books, the about page and the table of contents on sunnah.com were archived on webcitation.org with the date parameter 2014-01-14 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 Ibn Majah. Please visit its template page or read the Citing Sources page for instructions on its use.", | |||
"params": { | |||
"1": { | |||
"label": "Book number on sunnah.com", | |||
"description": "The Book number in the url on sunnah.com (can be left blank)", | |||
"required": false, | |||
"suggested": true, | |||
"deprecated": true, | |||
"type": "number", | |||
"default": "1", | |||
"example": "6" | |||
}, | |||
"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": "2" | |||
}, | |||
"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": "6" | |||
}, | |||
"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": "1477" | |||
} | |||
} | |||
} | |||
</templatedata> | |||
This template is used to provide sources for Ibn Majah 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== | ==Usage== | ||
First Parameter is the | First Parameter is the Book Number in the url on sunnah.com (this can be left blank now that we are using Quranx).<BR> | ||
Second Parameter is the Volume Number.<BR> | Second Parameter is the Volume Number in the Dar-us-Salam edition.<BR> | ||
Third Parameter is the Book Number.<BR> | Third Parameter is the Book Number in the Dar-us-Salam edition.<BR> | ||
Forth Parameter is the Hadith Number.< | 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 Ibn Majah it was always the same as the 3rd parameter. | |||
To cite a hadith: <tt><nowiki>{{Ibn Majah||#|#|#}}</nowiki></tt> (note the empty 1st parameter). | |||
;Example: | |||
:<nowiki>{{Ibn Majah||2|6|1477}}</nowiki> | |||
Produces: | |||
:{{Ibn Majah||2|6|1477}} | |||
[[Category:Islamic text templates]] | [[Category:Islamic text templates|Muslim-usc]] | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 01:29, 22 December 2018
This template will create a link to the specified hadith in Sunan Ibn Majah. Please visit its template page or read the Citing Sources page for instructions on its use.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Book number on sunnah.com | 1 | The Book number in the url on sunnah.com (can be left blank)
| Number | deprecated |
Volume number | 2 | The volume number in the Dar-us-Salam print edition (called English translation on sunnah.com)
| Number | required |
Book number | 3 | The book number in the Dar-us-Salam print edition (called English translation on sunnah.com)
| Number | required |
Hadith number | 4 | The hadith number in the Dar-us-Salam print edition (called English translation on sunnah.com)
| Number | required |
This template is used to provide sources for Ibn Majah 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 Ibn Majah it was always the same as the 3rd parameter.
To cite a hadith: {{Ibn Majah||#|#|#}} (note the empty 1st parameter).
- Example
- {{Ibn Majah||2|6|1477}}
Produces: