User talk:Tarikash/Template/Bukhari-usc
Usage
[edit]{{User:Tarikash/Template/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
Required Parameters
[edit]- #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)
Optional Parameters
[edit]- end, or, e parameter:
- last hadith number being cited
- 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 parameter can be used with below values:
- no when specified or omitted, prepend link "Bukhari" will be absent.
- yes, or, b values will prepend/start it with "Bukhari".
- sb value will add "Sahih Bukhari" at the beginning
- 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, ns will result into superscript style
- ref to use expanded form for citing as a reference
Examples
[edit]Example 1
{{User:Tarikash/Template/Bukhari-usc|76|1|422|quote=quoted text}}
“quoted text” 76:1:422
Example 2
{{User:Tarikash/Template/Bukhari-usc|76|1|422|b=yes|q=quoted text}}
“quoted text” Bukhari 76:1:422
Example 3
{{User:Tarikash/Template/Bukhari-usc|76|1|422|e=423|style=sup|quote=quoted text}}
“quoted text”[76:1:422-423]
Example 5
{{User:Tarikash/Template/Bukhari-usc|76|1|422|translator=mk|quote=quoted text}}
“quoted text” 76:1:422 (Translated by Muhsin Khan)
Example 6
{{User:Tarikash/Template/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
{{User:Tarikash/Template/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
{{User:Tarikash/Template/Bukhari-usc|76|1|422|e=423|s=ns|translator=fb}}
76:1:422-423 (Translated by Fath al-Bari)
Example 10
{{User:Tarikash/Template/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
{{User:Tarikash/Template/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
{{User:Tarikash/Template/Bukhari-usc|76|1|422|e=423|s=nosup}} OR {{User:Tarikash/Template/Bukhari-usc|76|1|422|e=423|s=ref}}
Example 13
{{User:Tarikash/Template/Bukhari-usc|76|1|422|e=423|s=ref|quote=quoted text}}
“quoted text”[76:1:422-423]
Example 14
{{User:Tarikash/Template/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
{{User:Tarikash/Template/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
{{User:Tarikash/Template/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
Any_Texts{{User:Tarikash/Template/Bukhari-usc|76|1|422}}
Any_Texts76:1:422
Example 18
Any_Texts{{User:Tarikash/Template/Bukhari-usc|76|1|422|b=b}}
Example 19
Any_Texts{{User:Tarikash/Template/Bukhari-usc|76|1|422|s=nosup}}
Any_Texts76:1:422
Example 20
Any_Texts{{User:Tarikash/Template/Bukhari-usc|76|1|422|expand=yes|style=nosup}}