Template:Abu Dawud: Difference between revisions

Jump to navigation Jump to search
no edit summary
[checked revision][checked revision]
No edit summary
No edit summary
Line 10: Line 10:
<!--The <nowiki>{{#expr: }}</nowiki> function in the template is used to trim any leading zeros in the numbers.-->
<!--The <nowiki>{{#expr: }}</nowiki> function in the template is used to trim any leading zeros in the numbers.-->
<!--the old cmje links were constructed making use of the <nowiki>{{three digit|}}</nowiki> function)-->
<!--the old cmje links were constructed making use of the <nowiki>{{three digit|}}</nowiki> function)-->
<templatedata>
{
"description": "This template will create a link to the specified hadith in Sunan Abu Dawud. Please visit its template page or read the Citing Sources page for instructions on its use with alternative hadith reference systems.",
"params": {
"1": {
"label": "Book number (Use only when using the USC-MSA reference system)",
"description": "The Book number when using the USC-MSA reference system",
"required": false,
"type": "number",
"default": "1",
"example": "33"
},
"2": {
"label": "Hadith number",
"description": "The hadith number",
"required": true,
"type": "number",
"default": "1",
"example": "4166"
},
"3": {
"label": "Alternative reference system",
"description": "Enter darussalam when you are using the Dar-us-Salam reference system or enter hasan when using the Ahmad Hasan reference system (leave blank if using the USC-MSA reference system)",
"required": false,
"type": "string",
"default": "",
"example": "Hasan"
}
}
}
</templatedata>


This template is used to provide sources for Sunan Abu Dawud references. It formerly produced links to the cmje website, which no longer works. We are currently using QuranX.com instead, which is able to handle USC-MSA, Dar-us-Salam, and Ahmad Hasan reference conventions.<BR>
This template is used to provide sources for Sunan Abu Dawud references. It formerly produced links to the cmje website, which no longer works. We are currently using QuranX.com instead, which is able to handle USC-MSA, Dar-us-Salam, and Ahmad Hasan reference conventions.<BR>
Line 26: Line 58:
To use this template with USC-MSA numbering:    <tt><nowiki>{{Abu Dawud|#|#}}</nowiki></tt>
To use this template with USC-MSA numbering:    <tt><nowiki>{{Abu Dawud|#|#}}</nowiki></tt>


To use this template with Dar-us-Salam Reference numbering:    <tt><nowiki>{{Abu Dawud||#|darussalam}}</nowiki></tt> (note the empty second parameter)  
To use this template with Dar-us-Salam Reference numbering:    <tt><nowiki>{{Abu Dawud||#|darussalam}}</nowiki></tt> (note the empty first parameter)  


To use this template with Ahmad Hasan numbering:    <tt><nowiki>{{Abu Dawud||#|hasan}}</nowiki></tt> (note the empty second parameter)
To use this template with Ahmad Hasan numbering:    <tt><nowiki>{{Abu Dawud||#|hasan}}</nowiki></tt> (note the empty first parameter)




Editors, em-bypass-2, Reviewers, rollback, Administrators
2,743

edits

Navigation menu