Template:Muslim: Difference between revisions

From WikiIslam, the online resource on Islam
Jump to navigation Jump to search
[checked revision][checked revision]
No edit summary
No edit summary
Line 5: Line 5:
   }}|
   }}|
   [http://quranx.com/Hadith/Muslim/ByIndex/USC-MSA/Book-{{#expr:{{{1|1}}}}}/Hadith-{{#expr:{{{2|1}}}}}/ Sahih Muslim {{{1|1}}}:{{{2|1}}}]
   [http://quranx.com/Hadith/Muslim/ByIndex/USC-MSA/Book-{{#expr:{{{1|1}}}}}/Hadith-{{#expr:{{{2|1}}}}}/ Sahih Muslim {{{1|1}}}:{{{2|1}}}]
}}
}}<noinclude>
<!--The noinclude tag must be right at the end of the template on the same line or you will get new lines after its use in some situations-->
<!--The <nowiki>{{#expr: }}</nowiki> function in the template is used to trim any leading zeros in the numbers.-->
<!--The <nowiki>{{#expr: }}</nowiki> function in the template is used to trim any leading zeros in the numbers.-->
<!--the old cmje links were constructed making use of the <nowiki>{{three digit|}}</nowiki> function)-->
<!--the old cmje links were constructed making use of the <nowiki>{{three digit|}}</nowiki> function)-->
<noinclude>
 
This template is used to provide sources for Sahih Muslim references. 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.
This template is used to provide sources for Sahih Muslim references. 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.



Revision as of 20:39, 3 January 2017

Sahih Muslim 1:1

This template is used to provide sources for Sahih Muslim references. 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 Muslim is Sahih.

Usage

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

To use this template with USC-MSA numbering: {{Muslim|###|###}}

To use this template with In-book numbering: {{Muslim|###|###|in-book}}


Example for hadiths using MSA-USC numbering
{{Muslim|7|2650}}

Produces:

Sahih Muslim 7:2650
Example for the same hadith using in-book numbering
{{Muslim|15|4|in-book}}

Produces:

Sahih Muslim 15:4 (In-Book Ref)