Template:Bukhari: Difference between revisions

no edit summary
[checked revision][checked revision]
No edit summary
No edit summary
 
Line 40: Line 40:
},
},
"4": {
"4": {
"label": "Alternative reference system",
"label": "Reference system",
"description": "Enter darussalam for the Dar-us-Salam reference system (preferred). Enter in-book when using the In-book reference system, or leave blank if using the USC-MSA reference system.",
"description": "Enter darussalam for the Dar-us-Salam reference system (preferred). Enter in-book when using the In-book reference system, or leave blank if using the USC-MSA reference system.",
"required": false,
"required": false,
Line 68: Line 68:
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 that you are using one of the alternative referencing systems: Dar-us-Salam or In-book (if left blank, the default is USC-MSA). The revised site policy is to use the Dar-us-Salam system.  
Fourth Parameter (optional) is used to indicate the referencing system: Dar-us-Salam or In-book (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. '''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).
Editors, em-bypass-2, Reviewers, rollback, Administrators
3,454

edits