Template:Bukhari: Difference between revisions

no edit summary
[checked revision][checked revision]
No edit summary
No edit summary
Line 15: Line 15:
"1": {
"1": {
"label": "Volume number",
"label": "Volume number",
"description": "The Volume number (only when using the USC-MSA reference system)",
"description": "Enter a single space, or Volume number (when using the USC-MSA reference system)",
"required": false,
"required": false,
"suggested": true,
"suggested": true,
Line 24: Line 24:
"2": {
"2": {
"label": "Book number",
"label": "Book number",
"description": "The Book number (only 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 48: Line 48:
"example": "darussalam"
"example": "darussalam"
}
}
},
}
"paramOrder": [ "1", "2", "3", "4"]
}
}
</templatedata>
</templatedata>
Line 71: Line 70:
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 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.  


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.
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 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