3,500
edits
| [checked revision] | [checked revision] |
Lightyears (talk | contribs) No edit summary |
Lightyears (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
{{#if: {{{4|}}} | | {{#if: {{{4|}}} | | ||
{{ #switch: {{lc: {{{4|}}} }} | {{ #switch: {{lc: {{{4|}}} }} | ||
| darussalam= [https://quranx.com/Hadith/Bukhari/DarusSalam/Hadith-{{{3|1}}}/ Sahih Bukhari {{{3|1}}}] | | darussalam= [https://quranx.com/Hadith/Bukhari/DarusSalam/Hadith-{{{3|1}}}/ Sahih Bukhari {{{3|1}}}] | ||
| [https://quranx.com/Hadith/Bukhari/DarusSalam/Hadith-{{{3|1}}}/ Sahih Bukhari {{{3|1}}} (4th parameter error)] | | [https://quranx.com/Hadith/Bukhari/DarusSalam/Hadith-{{{3|1}}}/ Sahih Bukhari {{{3|1}}} (4th parameter error)] | ||
| Line 24: | Line 23: | ||
"2": { | "2": { | ||
"label": "Book number", | "label": "Book number", | ||
"description": "Enter a single space, or Book number when using the USC-MSA | "description": "Enter a single space, or Book number when using the USC-MSA reference system", | ||
"required": false, | "required": false, | ||
"suggested": true, | "suggested": true, | ||
| Line 41: | Line 40: | ||
"4": { | "4": { | ||
"label": "Reference system", | "label": "Reference system", | ||
"description": "Enter darussalam for the Dar-us-Salam reference system (preferred) | "description": "Enter darussalam for the Dar-us-Salam reference system (preferred), or leave blank if using the USC-MSA reference system.", | ||
"required": false, | "required": false, | ||
"suggested": true, | "suggested": true, | ||
| Line 55: | Line 54: | ||
* USC-MSA (created by University of South Carolina) | * USC-MSA (created by University of South Carolina) | ||
* Dar-us-Salam (created by the mid 20th century scholar Fuad Abdul Baqi). | * Dar-us-Salam (created by the mid 20th century scholar Fuad Abdul Baqi). | ||
| Line 68: | Line 66: | ||
Second Parameter is the Book Number (optional).<BR> | Second Parameter is the Book Number (optional).<BR> | ||
Third Parameter is the Hadith Number.<BR> | Third Parameter is the Hadith Number.<BR> | ||
Fourth Parameter (optional) is used to indicate the referencing system: Dar-us-Salam or | Fourth Parameter (optional) is used to indicate the referencing system: Dar-us-Salam, or if left blank, the default is USC-MSA. The revised site policy is to use the Dar-us-Salam system. | ||
With the Dar-us-Salam Reference system, the fourth parameter value must be darussalam and only a hadith number is specified, which is the same as in the Dar-us-Salam print editions (and is the number in bold on sunnah.com). '''When using Visual Editor''' (but not source editor), 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 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. | With the Dar-us-Salam Reference system, the fourth parameter value must be darussalam and only a hadith number is specified, which is the same as in the Dar-us-Salam print editions (and is the number in bold on sunnah.com). '''When using Visual Editor''' (but not source editor), 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 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. | ||
With the USC-MSA system, the volume, book and hadith numbers are as in USC's CMJE database (retired). | With the USC-MSA system, the volume, book and hadith numbers are as in USC's CMJE database (retired). | ||
To cite a hadith with Dar-us-Salam Reference numbering: <tt><nowiki>{{Bukhari|||#|darussalam}}</nowiki></tt> (note the empty first and second parameters) | To cite a hadith with Dar-us-Salam Reference numbering: <tt><nowiki>{{Bukhari|||#|darussalam}}</nowiki></tt> (note the empty first and second parameters) | ||
To cite a hadith with USC-MSA numbering: <tt><nowiki>{{Bukhari|#|#|#}}</nowiki></tt> | To cite a hadith with USC-MSA numbering: <tt><nowiki>{{Bukhari|#|#|#}}</nowiki></tt> | ||
;Example for hadith using Dar-us-Salam Reference numbering: | ;Example for hadith using Dar-us-Salam Reference numbering: | ||
| Line 93: | Line 87: | ||
Produces: | Produces: | ||
:{{Bukhari|3|27|8}} | :{{Bukhari|3|27|8}} | ||
[[Category:Islamic text templates|Muslim-usc]] | [[Category:Islamic text templates|Muslim-usc]] | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> | ||