Template talk:Bukhari-usc

From Wikipedia, the free encyclopedia

Contents

[edit] Basic Usage

Bukhari reference template refers to University of Southern California site:

  • {{{1}}} is the book no
  • {{{2}}} is the volume no
  • {{{3}}} is the hadith no

[edit] Advanced Usage

{{Bukhari-usc|#1|#2|#3
 | s=            (style)
 | e=            (end)
 | t=            (translator)
 | b=            (begin)
 | expand=       (same as begin)
 | q=            (quote)
}}

Bukhari reference template refers to University of Southern California site

  • {{{1}}} is the book no
  • {{{2}}} is the volume no
  • {{{3}}} is the hadith no

[edit] Required Parameters

  • #1 integer representing the book no (this must be the first parameter).
  • #2 integer representing the volume no (this must be the second parameter).
  • #3 integer representing the hadith no (this must be the third parameter).

[edit] 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.

[edit] Examples

Example 1:

{{Bukhari-usc|76|1|422|quote=quoted text}}

“quoted text” 76:1:422

Example 2:

{{Bukhari-usc|76|1|422|b=yes|q=quoted text}}

“quoted text” Bukhari 76:1:422

Example 3:

{{Bukhari-usc|76|1|422|e=423|style=sup|quote=quoted text}}

“quoted text”[76:1:422-423]

Example 5:

{{Bukhari-usc|76|1|422|translator=mk|quote=quoted text}}

“quoted text” 76:1:422 (Translated by Muhsin Khan)

Example 6:

{{Bukhari-usc|76|1|422|e=423|s=s|translator=mk|quote=quoted text}}

“quoted text”[76:1:422-423] (Translated by Muhsin Khan)

Example 8:

{{Bukhari-usc|76|1|422|e=423|s=nosup|translator=fb|quote=quoted text}}

“quoted text” 76:1:422-423 (Translated by Fath al-Bari)

Example 9:

{{Bukhari-usc|76|1|422|e=423|s=ns|translator=fb}}

76:1:422-423 (Translated by Fath al-Bari)

Example 10:

{{Bukhari-usc|76|1|422|e=423|s=ns|b=b|translator=fb}}

Bukhari 76:1:422-423 (Translated by Fath al-Bari)

Example 11:

{{Bukhari-usc|76|1|422|e=423|s=ns|b=sb|translator=fb}}

Sahih Bukhari 76:1:422-423 (Translated by Fath al-Bari)

Example 12:

{{Bukhari-usc|76|1|422|e=423|s=nosup}} OR
{{Bukhari-usc|76|1|422|e=423|s=ref}}

76:1:422-423
[76:1:422-423]

Example 13:

{{Bukhari-usc|76|1|422|e=423|s=ref|quote=quoted text}}

“quoted text”[76:1:422-423]

Example 14:

{{Bukhari-usc|76|1|422|e=423|s=ref|t=b|quote=quoted text}}

“quoted text”[76:1:422-423] (Translated by Bukhari)

Example 15:

{{Bukhari-usc|76|1|422|e=423|s=ref|translator=f|quote=quoted text}}

“quoted text”[76:1:422-423] (Translated by al-Firabri)

Example 16:

{{Bukhari-usc|76|1|422|e=423|s=ref|b=b|t=f|quote=quoted text}}

“quoted text”[Bukhari 76:1:422-423] (Translated by al-Firabri)

Example 17:

Hadith-Texts {{Bukhari-usc|76|1|422}}

Hadith-Texts 76:1:422

Example 18:

Hadith-Texts {{Bukhari-usc|76|1|422|b=b}}

Hadith-Texts Bukhari 76:1:422

Example 19:

Hadith-Texts {{Bukhari-usc|76|1|422|s=nosup}}

Hadith-Texts 76:1:422

Example 20:

Hadith-Texts {{Bukhari-usc|76|1|422|expand=yes|style=nosup}}

Hadith-Texts Bukhari 76:1:422

Example 21:

Hadith-Texts {{Bukhari-usc|76|1|422|s=s|b=b}}

Hadith-Texts [Bukhari 76:1:422]

[edit] Other similar Templates

For a link beginning with Sahih Bukhari 76:1:422, also see this template, which looks like "{{Bukhari|76|8|422}}", see Template:Bukhari.

[edit] Proposed Upgrade

I've created another template with more functionality, and backward compatible with this template, under my userspace, here. Visit the page and see examples of its usage. Im suggesting to upgrade this one with the codes from that template. I've added that one's features here above. --Tarikash 09:40, 22 January 2008 (UTC).