Template:Abu Dawud: Difference between revisions

Jump to navigation Jump to search
Reference parameter has been renamed darussalam and also on quranx
[checked revision][checked revision]
(updated for simplified quranx url)
(Reference parameter has been renamed darussalam and also on quranx)
Line 1: Line 1:
{{#if: {{{3|}}}  |  
{{#if: {{{3|}}}  |  
   {{ #switch: {{lc: {{{3|}}} }}  
   {{ #switch: {{lc: {{{3|}}} }}  
     | reference = [http://quranx.com/Hadith/AbuDawud/Reference/Hadith-{{#expr:{{{2|1}}}}}/ Sunan Abu Dawud {{{2|1}}} (Dar-us-Salam Ref)]
     | darussalam= [http://quranx.com/Hadith/AbuDawud/DarusSalam/Hadith-{{#expr:{{{2|1}}}}}/ Sunan Abu Dawud {{{2|1}}} (Dar-us-Salam Ref)]
     | hasan = [http://quranx.com/Hadith/AbuDawud/Hasan/Book-{{#expr:{{{1|1}}}}}/Hadith-{{#expr:{{{2|1}}}}}/ Sunan Abu Dawud {{{1|1}}}:{{{2|1}}} (Ahmad Hasan Ref)]
     | hasan = [http://quranx.com/Hadith/AbuDawud/Hasan/Hadith-{{#expr:{{{2|1}}}}}/ Sunan Abu Dawud {{{2|1}}} (Ahmad Hasan Ref)]
     | [http://quranx.com/Hadith/AbuDawud/Reference/Hadith-{{#expr:{{{2|1}}}}}/ Sunan Abu Dawud {{{2|1}}} (3rd parameter error)]
     | [http://quranx.com/Hadith/AbuDawud/Reference/Hadith-{{#expr:{{{2|1}}}}}/ Sunan Abu Dawud {{{2|1}}} (3rd parameter error)]
   }}|
   }}|
Line 21: Line 21:
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 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 Ahmad Hasan referencing system, the book and hadith number are the same as in one of the print editions of Ahmad Hasan's translation (this is the English translation used for Abu Dawud on Quranx and other popular sites). The hadith numbers and translation are the same as was used by USC-MSA for their partial Abu Dawud collection, though the book numbering differs in many cases.
With the Ahmad Hasan referencing system, only a hadith number is specified, and is the same as in Ahmad Hasan's translation (this is the English translation used for Abu Dawud on Quranx and other popular sites). The hadith numbers and translation are the same as was used by USC-MSA for their partial Abu Dawud collection. Hasan's book numbering is not used as it changed depending on the edition (hadiths were divided into 36 books, or into 41 books).




To use this template with USC-MSA numbering:    <tt><nowiki>{{Abu Dawud|#|#}}</nowiki></tt>
To use this template with USC-MSA numbering:    <tt><nowiki>{{Abu Dawud|#|#}}</nowiki></tt>


To use this template with Dar-us-Salam Reference numbering:    <tt><nowiki>{{Abu Dawud||#|reference}}</nowiki></tt> (note the empty second parameter)  
To use this template with Dar-us-Salam Reference numbering:    <tt><nowiki>{{Abu Dawud||#|darussalam}}</nowiki></tt> (note the empty second parameter)  


To use this template with Ahmad Hasan numbering:    <tt><nowiki>{{Abu Dawud|#|#|hasan}}</nowiki></tt>
To use this template with Ahmad Hasan numbering:    <tt><nowiki>{{Abu Dawud||#|hasan}}</nowiki></tt> (note the empty second parameter)




Line 39: Line 39:


;Example for the same hadith using Dar-us-Salam Reference numbering:
;Example for the same hadith using Dar-us-Salam Reference numbering:
:<nowiki>{{Abu Dawud||4178|reference}}</nowiki>
:<nowiki>{{Abu Dawud||4178|darussalam}}</nowiki>


Produces:
Produces:
:{{Abu Dawud||4178|reference}}
:{{Abu Dawud||4178|darussalam}}


;Example for the same hadith using Ahmad Hasan numbering:
;Example for the same hadith using Ahmad Hasan numbering:
:<nowiki>{{Abu Dawud|34|4166|hasan}}</nowiki>
:<nowiki>{{Abu Dawud||4166|hasan}}</nowiki>


Produces:
Produces:
:{{Abu Dawud|34|4166|hasan}}
:{{Abu Dawud||4166|hasan}}


[[Category:Islamic text templates|Muslim-usc]]
[[Category:Islamic text templates|Muslim-usc]]
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>
Editors, em-bypass-2, Reviewers, rollback, Administrators
2,743

edits

Navigation menu