Template:Hadith USC/doc
Jump to navigation
Jump to search
| This is a documentation subpage for Template:Hadith USC. It contains usage information, categories and other content that is not part of the original template page. |
Contents
Usage
Abudawud
Usage of this template
{{Hadith USC|usc=yes|abudawud|1|15}}will produce Sunan Abu Dawood, Template:Three digit-sat.php#Template:Three digit.0015 1:15{{Hadith USC|abudawud|1|15}}will produce Template:Three digit-sat.php#Template:Three digit.0015 1:15
Bukhari
Usage:
{{Hadith USC|bukhari|usc=yes|8|76|430}}will produce Sahih al-Bukhari, Template:Three digit-sbt.php#Template:Three digit.Template:Three digit.Template:Three digit 8:76:430
{{Hadith USC|bukhari|76|1|422}}will produce Sahih al-Bukhari, Template:Three digit-sbt.php#Template:Three digit.Template:Three digit.Template:Three digit 8:76:430
{{Hadith USC|bukhari|8|76|430|b=b}}will produce Sahih al-Bukhari, Bukhari Template:Three digit-sbt.php#Template:Three digit.Template:Three digit.Template:Three digit 8:76:430
Bukhari reference template refers to University of Southern California site
- 1st parameter is the volume number
- 2nd parameter is the book number
- 3rd parameter is the hadith number
Optional Parameters
- end, or, e parameter :
- last hadith number being cited, if needed
- quote, or, q parameter :
- the text of the quotation.
- translator, or, t parameter can be used with below values :
- b (for Bukhari)
- f (for al-Firabri)
- im (for Ibrahim ibn Ma'qal)
- hs (for Hammad ibn Shaker)
- mb (for Mansur Burduzi)
- hm (for Husain Mahamili)
- fb (for Fath al-Bari)
- h (for Ibn Hajar)
- mk (for Muhsin Khan)
- name of other translator
- expand, or, begin, or, b (any) parameter can be used with below values :
- no when specified or omitted, prepend link "Bukhari" or "Sahih Bukhari" will be absent.
- yes, or, b values will prepend/start it with "Bukhari".
- usc=yes will add "Sahih Bukhari" at the beginning.
- style, or, s parameter can be used with below values :
- nosup, or, ns if omitted or specified, non-superscript style will be displayed.
- sup, or, s will result into superscript style.
- ref to use expanded form for citing as a reference. alternatively "sup" can also be used.
Muslim
Usage of this template:
{{Hadith USC|usc=yes|muslim|1|4}}will produce Sahih Muslim, Template:Three digit-smt.php#Template:Three digit.0004 1:4{{Hadith USC|muslim|1|4}}will produce Template:Three digit-smt.php#Template:Three digit.0004 1:4
Muwatta
For hadiths with section "a","b" and so on use:
{{Hadith USC|muwatta|usc=yes|7|1|5|b}}will produce Al-Muwatta, Template:Three digit-mmt.php#Template:Three digit.7.1.5b 7 1.5b
For hadiths without sections use the following format
{{Hadith USC|muwatta|usc=yes|17|19|34|}}will produce Al-Muwatta, Template:Three digit-mmt.php#Template:Three digit.17.19.34 17 19.34
If you do not wish to use the name as shown above, use:
{{Hadith USC|muwatta|7|1|5|b}}will produce Template:Three digit-mmt.php#Template:Three digit.7.1.5b 7 1.5b
{{Hadith USC|muwatta|17|19|34|}}will produce Template:Three digit-mmt.php#Template:Three digit.17.19.34 17 19.34
The cited source
The original website being cited is defunct; this is resolved by using archive URLs from web.archive.org. If the archive URL for this particular citation does not work, you can replace it by finding one that does at web.archive.org, and using the string of digits in the URL (e.g. 20181118162143 from https://web.archive.org/web/20181118162143/http://cmje.usc.edu/religious-texts/quran/verses/002-qmt.php) in the |archive= parameter: |archive=20181118162143.