WikiIslam:Citing, Linking, and Quoting: Difference between revisions

(→‎Referencing Hadith: Updated for QuranX)
Line 158: Line 158:
The first parameter is the volume number, the second parameter is the book number and the third parameter is the narration number.
The first parameter is the volume number, the second parameter is the book number and the third parameter is the narration number.


By default, this will create a link using the USC-MSA hadith referencing system. An alternative referencing system can be used by adding an additional parameter with the value "in-book". To do so type: <tt>{&#123;Bukhari|#|#|#|in-book}}</tt>
By default, this will create a link using the USC-MSA hadith referencing system. An alternative referencing system can be used by adding an additional parameter with the value "in-book". To do so type: <tt>{&#123;Bukhari||#|#|in-book}}</tt> (note that the first parameter for the volume is left empty for in-book citations)


The alternative referencing system allows hadiths to be cited that did not appear within the USC-MSA collection. It also allows a specific hadith to be cited when there are multiple hadiths with the same USC-MSA number (a link using the default USC-MSA referencing system would display a list of hadiths in that situation).
The alternative referencing system allows hadiths to be cited that did not appear within the USC-MSA collection. It also allows a specific hadith to be cited when there are multiple hadiths with the same USC-MSA number (a link using the default USC-MSA referencing system would display a list of hadiths in that situation).
Line 186: Line 186:
To reference a hadith from [[Template:Muwatta|Malik's Muwatta]] type: <tt>{&#123;Muwatta|###||###}}</tt> (note the empty 2nd parameter)
To reference a hadith from [[Template:Muwatta|Malik's Muwatta]] type: <tt>{&#123;Muwatta|###||###}}</tt> (note the empty 2nd parameter)


The first parameter is the book number, the second parameter is the section number (no longer used), and the third parameter is the narration number.  
The first parameter is the book number, the second parameter is the section number (no longer used), and the third parameter is the narration number. If you do happen to know the section number (second parameter) for the hadith you are citing, put it in anyway as it might be useful one day.


:<i>An optional fourth parameter allowed a suffix to be added to the narration number (no longer used). The disused 2nd and 4th parameters are retained for the sake of earlier citations which had them and their values are visible on the pages although not included in the links (except when they were mistakenly used for the book and hadith number).</i>
:<i>An optional fourth parameter allowed a suffix to be added to the narration number (no longer used, but put it in if you know there is one in case it's useful one day). The disused 2nd and 4th parameters are retained for the sake of earlier citations which had them, and their values are visible on the pages although not included in the links (except when they were mistakenly used for the book and hadith number).</i>


By default, this will create a link using the USC-MSA hadith referencing system. An alternative referencing system can be used by adding an additional parameter with the value "in-book". To do so type: <tt>{&#123;Bukhari|#||#||in-book}}</tt> (note the empty 2nd and 4th parameters)
By default, this will create a link using the USC-MSA hadith referencing system. An alternative referencing system can be used by adding an additional parameter with the value "in-book". To do so type: <tt>{&#123;Bukhari|#||#||in-book}}</tt> (note the empty 2nd and 4th parameters)
Editors, em-bypass-2, Reviewers, rollback, Administrators
2,743

edits