Template:Bukhari: Difference between revisions

From WikiIslam, the online resource on Islam
Jump to navigation Jump to search
[checked revision][checked revision]
(Changed template for QuranX)
mNo edit summary
Line 30: Line 30:


Produces:
Produces:
:{{Bukhari|3|27|8|}}
:{{Bukhari|3|27|8}}


;Example for the same hadith using in-book numbering:
;Example for the same hadith using in-book numbering:
Line 37: Line 37:
Produces:
Produces:
:{{Bukhari||26|8|in-book}}
:{{Bukhari||26|8|in-book}}
[[Category:Islamic text templates|Muslim-usc]]
[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 01:38, 3 January 2017

Sahih Bukhari 1:1:1


This template is used to provide sources for Bukhari references from USC-MSA. It formerly produced links to the cmje website, which no longer works. We are currently using QuranX.com instead, which is able to handle USC-MSA and in-book reference conventions.

Note that all of Bukhari is Sahih.

Usage

First Parameter is the Volume Number.
Second Parameter is the Book Number.
Third Parameter is the Verse Number.
Forth Parameter (optional) is for the alternative, in-book reference system (default is USC-MSA)

To use this type with USC-MSA numbering: {{Bukhari|###|###|###}}

To use this type with In-book numbering: {{Bukhari||###|###|in-book}} (note the empty first parameter)


Example for hadiths using MSA-USC numbering
{{Bukhari|3|27|8}}

Produces:

Sahih Bukhari 3:27:8


Example for the same hadith using in-book numbering
{{Bukhari||26|8|in-book}}

Produces:

Sahih Bukhari 26:8 (In-Book Ref)