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

From blackwiki
Jump to navigation Jump to search
imported>SMcCandlish
m (SMcCandlish moved page Template:Hadith-usc/doc to Template:Hadith USC/doc: To make some actual sense.)
imported>SMcCandlish
m (cleanup)
Line 7: Line 7:
  
 
Usage of this template
 
Usage of this template
*''<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 ====
  
 
Usage:
 
Usage:
*''<nowiki>{{Hadith-usc|bukhari|usc=yes|8|76|430}}</nowiki>'' will produce {{Hadith-usc|bukhari|usc=yes|8|76|430}}
+
*''<nowiki>{{Hadith USC|bukhari|usc=yes|8|76|430}}</nowiki>'' will produce {{Hadith USC|bukhari|usc=yes|8|76|430}}
  
*''<nowiki>{{Hadith-usc|bukhari|76|1|422}}</nowiki>'' will produce {{Hadith-usc|bukhari|8|76|430}}
+
*''<nowiki>{{Hadith USC|bukhari|76|1|422}}</nowiki>'' will produce {{Hadith USC|bukhari|8|76|430}}
  
*''<nowiki>{{Hadith-usc|bukhari|8|76|430|b=b}}</nowiki>'' will produce {{Hadith-usc|Bukhari|8|76|430|b=b}}
+
*''<nowiki>{{Hadith USC|bukhari|8|76|430|b=b}}</nowiki>'' will produce {{Hadith USC|Bukhari|8|76|430|b=b}}
  
 
Bukhari reference template refers to University of Southern California site
 
Bukhari reference template refers to University of Southern California site
Line 51: Line 51:
 
==== Muslim ====
 
==== Muslim ====
 
Usage of this template:
 
Usage of this template:
*''<nowiki>{{Hadith-usc|usc=yes|muslim|1|4}}</nowiki>'' will produce {{Hadith-usc|usc=yes|muslim|1|4}}
+
*''<nowiki>{{Hadith USC|usc=yes|muslim|1|4}}</nowiki>'' will produce {{Hadith USC|usc=yes|muslim|1|4}}
*''<nowiki>{{Hadith-usc|muslim|1|4}}</nowiki>'' will produce {{Hadith-usc|muslim|1|4}}
+
*''<nowiki>{{Hadith USC|muslim|1|4}}</nowiki>'' will produce {{Hadith USC|muslim|1|4}}
  
 
==== Muwatta ====
 
==== Muwatta ====
 
'''For hadiths with section "a","b" and so on use:'''
 
'''For hadiths with section "a","b" and so on use:'''
*''<nowiki>{{Hadith-usc|muwatta|usc=yes|7|1|5|b}}</nowiki>'' will produce {{Hadith-usc|usc=yes|muwatta|7|1|5|b}}
+
*''<nowiki>{{Hadith USC|muwatta|usc=yes|7|1|5|b}}</nowiki>'' will produce {{Hadith USC|usc=yes|muwatta|7|1|5|b}}
 
'''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:
*''<nowiki>{{Hadith-usc|muwatta|7|1|5|b}}</nowiki>'' will produce {{Hadith-usc|muwatta|7|1|5|b}}
+
*''<nowiki>{{Hadith USC|muwatta|7|1|5|b}}</nowiki>'' will produce {{Hadith USC|muwatta|7|1|5|b}}
  
*''<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 cited source ===
Line 73: Line 73:
 
<includeonly>
 
<includeonly>
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[bn:টেমপ্লেট:Hadith-usc]]
+
[[bn:টেমপ্লেট:Hadith USC]]
 
</includeonly>
 
</includeonly>

Revision as of 09:03, 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