Template:Muslim: Difference between revisions
Jump to navigation
Jump to search
[checked revision] | [checked revision] |
Lightyears (talk | contribs) (Changed template for QuranX.com) |
Lightyears (talk | contribs) No edit summary |
||
Line 6: | Line 6: | ||
[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}}}] | ||
}} | }} | ||
<!--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)--> |
Revision as of 20:09, 3 January 2017
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:
- Example for the same hadith using in-book numbering
- {{Muslim|15|4|in-book}}
Produces: