Template:Hadith USC/doc

< Template:Hadith USC

Usage

Abudawud

Usage of this template

Bukhari

Usage:

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 :
  • 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, 1:4
  • {{Hadith USC|muslim|1|4}} will produce 1:4

Muwatta

For hadiths with section "a","b" and so on use:

For hadiths without sections use the following format

If you do not wish to use the name as shown above, use:

  • {{Hadith USC|muwatta|7|1|5|b}} will produce 7 1.5b
  • {{Hadith USC|muwatta|17|19|34|}} will produce 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.