WikiIslam:Source Editing: Difference between revisions

 
Line 133: Line 133:
The first parameter is the chapter/surah number, while the second parameter is the verse number
The first parameter is the chapter/surah number, while the second parameter is the verse number
===Referencing Hadith===
===Referencing Hadith===
====When using Visual Editor====
The sections below describe the format for citing hadiths in the source editor. The same information applies also when using the Visual Editor, but with one additional requirement.
When using Visual Editor (but not source editor), a single space should be entered for any empty parameters that occur before a parameter which is given a value. For example, when using the Dar-us-Salam reference system for Bukhari (preferred), a single space should be entered for the Volume number and for the Book number so that the generated wikitext will have a pipe ("|") for the each of the empty parameters i.e. when saved it will generate for example <code><nowiki>{{Bukhari|||123|darussalam}}</nowiki></code> instead of <code><nowiki>{{Bukhari|3=123|4=darussalam}}</nowiki></code>. This is preferred in order to keep Visual Editor generated wikitext consistent with the existing wikitext across the site.
====Referencing Sahih Bukhari====
====Referencing Sahih Bukhari====
To cite a hadith in [[Template:Bukhari|Sahih Bukhari]] type: <code><nowiki>{{Bukhari|||#|darussalam}}</nowiki></code> Note that the first parameter for the volume number and second parameter for the book number are left empty for Dar-us-Salam Reference citations. The fourth parameter must be "darussalam".
To cite a hadith in [[Template:Bukhari|Sahih Bukhari]] type: <code><nowiki>{{Bukhari|||#|darussalam}}</nowiki></code> Note that the first parameter for the volume number and second parameter for the book number are left empty for Dar-us-Salam Reference citations. The fourth parameter must be "darussalam".  


This is the standard system for referencing Bukhari hadiths on this site. The Dar-us-Salam reference number as found in the Dar-us-Salam print editions of Bukhari was devised by the mid-20th century scholar Fuad Abdul Baqi. This has become the de facto standard in common and academic usage and is found on sites such as quranx.com and sunnah.com.
This is the standard system for referencing Bukhari hadiths on this site. The Dar-us-Salam reference number as found in the Dar-us-Salam print editions of Bukhari was devised by the mid-20th century scholar Fuad Abdul Baqi. This has become the de facto standard in common and academic usage and is found on sites such as quranx.com and sunnah.com.
Editors, em-bypass-2, Reviewers, rollback, Administrators
3,454

edits