الفرق بين المراجعتين لصفحة: «قالب:ابن ماجه»

Updated to remove unused sunnah.com parameter
[مراجعة منقحة][مراجعة منقحة]
لا ملخص تعديل
(Updated to remove unused sunnah.com parameter)
سطر ١: سطر ١:
[https://quranx.com/Hadith/IbnMajah/DarusSalam/Volume-{{#expr:{{{2|1}}}}}/Book-{{#expr:{{{3|1}}}}}/Hadith-{{#expr:{{{4|1}}}}}/ سُنن ابن ماجه {{{2|1}}}:{{{3|1}}}:{{{4|1}}}]<noinclude>
[https://quranx.com/Hadith/IbnMajah/DarusSalam/Volume-{{#expr:{{{1|1}}}}}/Book-{{#expr:{{{2|1}}}}}/Hadith-{{#expr:{{{3|1}}}}}/ سُنن ابن ماجه {{{1|1}}}:{{{2|1}}}:{{{3|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 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.-->
<!--The <nowiki>{{#expr: }}</nowiki> function in the template is used to trim any leading zeros in the numbers.-->
سطر ٩: سطر ٩:
"params": {
"params": {
"1": {
"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",
"label": "Volume number",
"description": "The volume number in the Dar-us-Salam print edition (called English translation on sunnah.com)",
"description": "The volume number in the Dar-us-Salam print edition (called English translation on sunnah.com)",
سطر ٢٦: سطر ١٦:
"example": "2"
"example": "2"
},
},
"3": {
"2": {
"label": "Book number",
"label": "Book number",
"description": "The book number in the Dar-us-Salam print edition (called English translation on sunnah.com)",
"description": "The book number in the Dar-us-Salam print edition (called English translation on sunnah.com)",
سطر ٣٤: سطر ٢٤:
"example": "6"
"example": "6"
},
},
"4": {
"3": {
"label": "Hadith number",
"label": "Hadith number",
"description": "The hadith number in the Dar-us-Salam print edition (called English translation on sunnah.com)",
"description": "The hadith number in the Dar-us-Salam print edition (called English translation on sunnah.com)",
سطر ٥٧: سطر ٤٧:
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.
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>{{ابن_ماجه||#|#|#}}</nowiki></tt> (note the empty 1st parameter).
To cite a hadith:    <tt><nowiki>{{ابن_ماجه|#|#|#}}</nowiki></tt> (note the empty 1st parameter).


;Example:
;Example:
:<nowiki>{{ابن_ماجه||2|6|1477}}</nowiki>
:<nowiki>{{ابن_ماجه|2|6|1477}}</nowiki>


Produces:
Produces:
:{{ابن_ماجه||2|6|1477}}
:{{ابن_ماجه|2|6|1477}}


[[Category:Islamic text templates|Muslim-usc]]
[[Category:Islamic text templates|Muslim-usc]]
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>