Difference between revisions of "Template:Hadith USC/doc"

From blackwiki
Jump to navigation Jump to search
imported>Batreeq
m (→‎Bukhari: Correcting)
imported>SMcCandlish
(documenting fix (first implemented at Template:Quote Quran translation))
Line 9: Line 9:
 
*''<nowiki>{{Hadith-usc|usc=yes|abudawud|1|15}}</nowiki>'' will produce {{Hadith-usc|usc=yes|abudawud|1|15}}
 
*''<nowiki>{{Hadith-usc|usc=yes|abudawud|1|15}}</nowiki>'' will produce {{Hadith-usc|usc=yes|abudawud|1|15}}
 
*''<nowiki>{{Hadith-usc|abudawud|1|15}}</nowiki>'' will produce {{Hadith-usc|abudawud|1|15}}
 
*''<nowiki>{{Hadith-usc|abudawud|1|15}}</nowiki>'' will produce {{Hadith-usc|abudawud|1|15}}
 
  
 
==== Bukhari ====
 
==== Bukhari ====
Line 60: Line 59:
 
'''For hadiths without sections use the following format'''
 
'''For hadiths without sections use the following format'''
 
*''<nowiki>{{Hadith-usc|muwatta|usc=yes|17|19|34|}}</nowiki>'' will produce {{Hadith-usc|muwatta|usc=yes|17|19|34|}}
 
*''<nowiki>{{Hadith-usc|muwatta|usc=yes|17|19|34|}}</nowiki>'' will produce {{Hadith-usc|muwatta|usc=yes|17|19|34|}}
 
  
 
If you do not wish to use the name as shown above, use:
 
If you do not wish to use the name as shown above, use:
Line 66: Line 64:
  
 
*''<nowiki>{{Hadith-usc|muwatta|17|19|34|}}</nowiki>'' will produce {{Hadith-usc|muwatta|17|19|34|}}
 
*''<nowiki>{{Hadith-usc|muwatta|17|19|34|}}</nowiki>'' will produce {{Hadith-usc|muwatta|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. <code>20181118162143</code> from <code>https://web.archive.org/web/20181118162143/http://cmje.usc.edu/religious-texts/quran/verses/002-qmt.php</code>) in the {{para|archive}} parameter: {{para|archive|20181118162143}}. <!--Then use {{para|archive-date}} to use the correct archive date for that web archive.-->
  
 
=== See also ===
 
=== See also ===

Revision as of 08:57, 3 April 2019

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:

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:

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.

See also