Template:Muslim: Difference between revisions

no edit summary
[checked revision][checked revision]
No edit summary
No edit summary
Line 15: Line 15:
"1": {
"1": {
"label": "Book number",
"label": "Book number",
"description": "Enter a single space, or the Book number (when using the USC-MSA or In-book reference system)",
"description": "Enter a single space, or Book number when using the USC-MSA or In-book reference system",
"required": false,
"required": false,
"suggested": true,
"suggested": true,
Line 62: Line 62:
With the Dar-us-Salam Reference system, the third parameter must be the word "reference" and only a hadith number is specified, which is the same as in the Dar-us-Salam print edition. Please note that this is not the hadith's square bracket number in the Dar-us-Salam edition, but rather the round bracket number next to it, which was devised by the mid-20th century Islamic scholar Fuad Abdul Baqi. This is the number commonly used when a hadith in Sahih Muslim is cited.
With the Dar-us-Salam Reference system, the third parameter must be the word "reference" and only a hadith number is specified, which is the same as in the Dar-us-Salam print edition. Please note that this is not the hadith's square bracket number in the Dar-us-Salam edition, but rather the round bracket number next to it, which was devised by the mid-20th century Islamic scholar Fuad Abdul Baqi. This is the number commonly used when a hadith in Sahih Muslim is cited.


'''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>{{Muslim||123|reference}}</nowiki></code> instead of <code><nowiki>{{Muslim|2=123|3=reference}}</nowiki></code>. This is preferred in order to keep Visual Editor generated wikitext consistent with the existing wikitext across the site.
'''When using Visual Editor''' (but not source editor), a single space should be entered for the Book number so that the generated wikitext will have a pipe ("|") for the empty first parameter i.e. when saved it will generate for example <code><nowiki>{{Muslim||123|reference}}</nowiki></code> instead of <code><nowiki>{{Muslim|2=123|3=reference}}</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 book number and hadith number are as in USC's CMJE database (retired).
With the USC-MSA system, the book number and hadith number are as in USC's CMJE database (retired).
Editors, em-bypass-2, Reviewers, rollback, Administrators
3,454

edits