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

From blackwiki
Jump to navigation Jump to search
imported>SMcCandlish
m (cleanup)
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(One intermediate revision by one other user not shown)
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}}
+
*<code><nowiki>{{Hadith USC|usc=yes|abudawud|1|15}}</nowiki></code> will produce {{Hadith USC|usc=yes|abudawud|1|15}}
*''<nowiki>{{Hadith USC|abudawud|1|15}}</nowiki>'' will produce {{Hadith USC|abudawud|1|15}}
+
*<code><nowiki>{{Hadith USC|abudawud|1|15}}</nowiki></code> 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}}
+
*<code><nowiki>{{Hadith USC|bukhari|usc=yes|8|76|430}}</nowiki></code> 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}}
+
*<code><nowiki>{{Hadith USC|bukhari|76|1|422}}</nowiki></code> 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}}
+
*<code><nowiki>{{Hadith USC|bukhari|8|76|430|b=b}}</nowiki></code> 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}}
+
*<code><nowiki>{{Hadith USC|usc=yes|muslim|1|4}}</nowiki></code> will produce {{Hadith USC|usc=yes|muslim|1|4}}
*''<nowiki>{{Hadith USC|muslim|1|4}}</nowiki>'' will produce {{Hadith USC|muslim|1|4}}
+
*<code><nowiki>{{Hadith USC|muslim|1|4}}</nowiki></code> 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}}
+
*<code><nowiki>{{Hadith USC|muwatta|usc=yes|7|1|5|b}}</nowiki></code> 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|}}
+
*<code><nowiki>{{Hadith USC|muwatta|usc=yes|17|19|34|}}</nowiki></code> 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}}
+
*<code><nowiki>{{Hadith USC|muwatta|7|1|5|b}}</nowiki></code> 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|}}
+
*<code><nowiki>{{Hadith USC|muwatta|17|19|34|}}</nowiki></code> will produce {{Hadith USC|muwatta|17|19|34|}}
  
 
=== The cited source ===
 
=== The cited source ===
Line 71: Line 71:
 
=== See also ===
 
=== See also ===
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
[[bn:টেমপ্লেট:Hadith USC]]
 
[[bn:টেমপ্লেট:Hadith USC]]
</includeonly>
+
}}</includeonly>

Latest revision as of 19:22, 30 April 2020

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