WikiIslam:Source Editing: Difference between revisions

Jump to navigation Jump to search
Islamic text quotes transferred here from citing sources
(Quote Quran)
(Islamic text quotes transferred here from citing sources)
Line 103: Line 103:
! width="50%" |Input!! width="50%" |Output
! width="50%" |Input!! width="50%" |Output
|-
|-
| <tt>{&#123;Quote     |{&#123;<nowiki>Quran|2|256}}|Let there be no compulsion in religion: Truth stands out clear from Error...}}</nowiki>
| <tt>{&#123;Quote       |{&#123;<nowiki>Quran|2|256}}|Let there be no compulsion in religion: Truth stands out clear from Error...}}</nowiki>
|{{Quote|{{Quran|2|256}}|Let there be no compulsion in religion: Truth stands out clear from Error...}}
|{{Quote|{{Quran|2|256}}|Let there be no compulsion in religion: Truth stands out clear from Error...}}
|}
|}
Line 115: Line 115:
|{{Quote|{{cite web quotebox|url= http://www.jordantimes.com/?news=19888|title= Productivity suffers during holy month|publisher= The Jordan Times|author= Mohammad Ghazal|date= September 10, 2009|archiveurl= http://www.webcitation.org/query?url=http://www.jordantimes.com/?news=19888&date=2011-04-04|deadurl=no}}|The holy month at the time of the Prophet Mohammad and his companions was a time of great achievements and crucial battles won by the Muslims, Sharia (Islamic law) scholar Hamdi Murad said Wednesday.}}
|{{Quote|{{cite web quotebox|url= http://www.jordantimes.com/?news=19888|title= Productivity suffers during holy month|publisher= The Jordan Times|author= Mohammad Ghazal|date= September 10, 2009|archiveurl= http://www.webcitation.org/query?url=http://www.jordantimes.com/?news=19888&date=2011-04-04|deadurl=no}}|The holy month at the time of the Prophet Mohammad and his companions was a time of great achievements and crucial battles won by the Muslims, Sharia (Islamic law) scholar Hamdi Murad said Wednesday.}}
|}
|}
Templates make it easy to cite Islamic sources. For example, instead of finding the exact USC-MSA URL of a Qur'an verse or hadith, all that is needed is to type <code><nowiki>{{Muslim|7|88}}</nowiki></code> and the reference and link is automatically created. Here are some templates you can use.


==== Referencing the Qur'an ====
====Referencing the Qur'an====
Not all Qur'an-related templates are covered here. Refer to the Q section in [[:Category:Templates]] for the full list.
Not all Qur'an-related templates are covered here. Refer to the Q section in [[:Category:Templates]] for the full list.


===== Single Verse =====
=====Single Verse=====
To reference a verse from the Qur'an type: <code>{&#123;<nowiki>Quran|#|#}}</nowiki></code>
To reference a verse from the Qur'an type: <code>{&#123;<nowiki>Quran|#|#}}</nowiki></code>


Line 131: Line 132:


The first parameter is the chapter/surah number, while the second parameter is the verse number
The first parameter is the chapter/surah number, while the second parameter is the verse number
===General in-text | Indented Quotations===
====Referencing Hadith====
=====Referencing Bukhari=====
To reference a hadith from [[Template:Bukhari|Bukhari]] type: <code>{&#123;<nowiki>Bukhari|#|#|#}}</nowiki></code> 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.
 
===== <b>Alternative Sahih Bukhari referencing systems can also be used.</b> =====
You can cite a hadith using its Dar-us-Salam reference number (as found in the Dar-us-Salam print edition of Bukhari) by adding an additional parameter with the value "darussalam".
 
To do so type: <code>{&#123;<nowiki>Bukhari|||#|darussalam}}</nowiki></code> (note that the first parameter for the volume number and second parameter for the book number are left empty for Dar-us-Salam Reference citations)
 
You can also cite a Bukhari hadith using the In-book reference convention (created by sunnah.com) by adding an additional parameter with the value "in-book".
 
To do so type: <code>{&#123;<nowiki>Bukhari||#|#|in-book}}</nowiki></code> (note that the first parameter for the volume is left empty for in-book citations)
 
The book number in the In-book reference system corresponds with the book number in the Dar-us-Salam print edition of Bukhari, and the hadith number is an incremental number which starts at 1 for the first hadith in each book.
 
The alternative referencing systems allow 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).
=====Referencing Muslim=====
To reference a hadith from [[Template:Muslim|Muslim]] type: <code>{&#123;<nowiki>Muslim|#|#}}</nowiki></code>
 
The first parameter is the book number and the second parameter is the narration number.
 
By default, this will create a link using the USC-MSA hadith referencing system.
 
===== <b>Alternative Sahih Muslim referencing systems can also be used.</b> =====
You can cite a hadith by a single hadith reference number as found in the Dar-us-Salam print edition of Sahih Muslim by adding an additional parameter with the value "reference". Please note that this is not the square bracket number in the Dar-us-Salam edition, but rather the round bracket number for the hadith in the same book, which was devised by the Islamic scholar Fuwad Abdul Baqi. This is a number commonly used when citing hadiths in Sahih Muslim.
 
To do so type: <code>{&#123;<nowiki>Muslim||#|reference}}</nowiki></code> (note that the first parameter for the book number is left empty for Dar-us-Salam Reference citations)
 
You can also cite a Sahih Muslim hadith using the In-book reference convention (created by sunnah.com) by adding an additional parameter with the value "in-book".
 
To do so type: <code>{&#123;<nowiki>Muslim|#|#|in-book}}</nowiki></code>
 
The book number in the In-book reference system corresponds with the book number in the Dar-us-Salam print edition of Sahih Muslim, and the hadith number is an incremental number which starts at 1 for the first hadith in each book.
 
The alternative referencing systems allow 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).
=====Referencing Abu Dawud=====
To reference a hadith from [[Template:Abudawud|Abu Dawud]] type: <code>{&#123;<nowiki>Abudawud|#|#}}</nowiki></code>
 
The first parameter is the book number and the second parameter is the narration number.
 
By default, this will create a link using the USC-MSA hadith referencing system. The USC-MSA (CMJE) partial collection for Abu Dawud only included roughly half of his hadiths.
 
===== <b>Alternative Abu Dawud referencing systems can also be used</b> =====
You can cite a Sunan Abu Dawud hadith using the reference system found in the translation of the entire Abu Dawud collection by Ahmad Hasan (this translation is used by USC-MSA and other popular sites). You can do this by adding an additional parameter with the value "hasan".
 
To do so type: <code>{&#123;<nowiki>Abudawud||#|hasan}}</nowiki></code> (note that the first parameter for the book number is left empty for Ahmad Hasan reference citations - they are not used because his book numbers varied depending on the edition).
 
Ahmad Hasan's hadith (narration) numbers were also used by USC-MSA (for the hadiths in their partial collection). USC-MSA used the book numbers from the 1990 edition of Hasan's translation, which had 41 books unlike the other editions in which he put the same hadiths into 36 books.
 
You can also cite a hadith using its Dar-us-Salam reference number (as found in the Dar-us-Salam print edition of Sunan Abu Dawud) by adding an additional parameter with the value "darussalam".
 
To do so type: <code>{&#123;<nowiki>Abudawud||#|darussalam}}</nowiki></code> (note that the first parameter for the book number is left empty for Dar-us-Salam Reference citations)
 
The alternative referencing systems allow 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).
=====Referencing Muwatta=====
To reference a hadith from [[Template:Muwatta|Malik's Muwatta]] type: <code>{&#123;<nowiki>Muwatta|#||#}}</nowiki></code> (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. 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, 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 - the template can detect this).</i>
 
By default, this will create a link using the USC-MSA hadith referencing system.
 
===== <b>An alternative Muwatta referencing system can be used</b> =====
To do so type: <code>{&#123;<nowiki>Muwatta|#||#||arabic}}</nowiki></code> (note the empty 2nd and 4th parameters)
 
<nowiki>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).}}</nowiki>
=====Referencing Tirmidhi=====
To reference a hadith from [[Template:Al Tirmidhi|Tirmidhi]] type: <code><nowiki>{{Al Tirmidhi||#|#|#}}</nowiki></code> (note the empty first parameter)
 
The first parameter is the book number on sunnah.com (can be left blank), the second parameter is the volume number, the third parameter is the book number, and the forth parameter is the narration number.
 
This provides the full citation as found in the Dar-us-Salam print edition of Jami` at-Tirmidhi (this is the reference called "English reference" on sunnah.com).
 
The first parameter was used by the old template to link to the relevant book on sunnah.com. It is no longer used and can be left empty, but is retained for the sake of existing citations that used 4 parameters. It is recommended to input this parameter in case it is ever needed in future.
=====Referencing Nasa'i=====
To reference a hadith from [[Template:Al Nasai|Nasai'i]] type: <code><nowiki>{{Al Nasai||#|#|#}}</nowiki></code> (note the empty first parameter)
 
The first parameter can be left blank, the second parameter is the volume number, the third parameter is the book number, and the forth parameter is the narration number.
 
This provides the full citation as found in the Dar-us-Salam print edition of Sunan an-Nasa'i (this is the reference called "English translation" on sunnah.com).
 
The first parameter is no longer used and can be left empty, but is retained for the sake of existing citations that used 4 parameters. It was used by the old template to link to the relevant book on sunnah.com. In any case for Nasa'i it was always the same as the book number in the 3rd parameter, so was redundant anyway.
=====Referencing Ibn Majah=====
To reference a hadith from [[Template:Ibn Majah|Ibn Majah]] type: <code><nowiki>{{Ibn Majah||#|#|#}}</nowiki></code> (note the empty first parameter)
 
The first parameter can be left blank, the second parameter is the volume number, the third parameter is the book number, and the forth parameter is the narration number.
 
This provides the full citation as found in the Dar-us-Salam print edition of Sunan Ibn Majah (this is the reference called "English reference" on sunnah.com).
 
The first parameter is no longer used and can be left empty, but is retained for the sake of existing citations that used 4 parameters. It was used by the old template to link to the relevant book on sunnah.com. In any case for Ibn Majah it was always the same as the book number in the 3rd parameter, so was redundant anyway.
====Referencing Sirah====
=====Referencing Tabari=====
To reference text from [[Template:Tabari|Tabari]] type: <code>{&#123;<nowiki>Tabari|###|###}}</nowiki></code>
 
The first parameter is the volume number and the second parameter is the page or page range. "<code>p.</code>" or "<code>pp.</code>" (whichever is applicable) will have to be typed in manually. For example, <code><nowiki>{{Tabari|4|p. 220}}</nowiki></code> or <code><nowiki>{{Tabari|4|pp. 220-221}}</nowiki></code>.
====Examples====
{| border="1" cellpadding="5" cellspacing="0" style="width:700px; height:200px"
!Input!!Output
|-
| |{&#123;<nowiki>Quran|2|35}}</nowiki>||{{Quran|2|35}}
|-
| |{&#123;<nowiki>Quran-range|2|35|36}}</nowiki>||{{Quran-range|2|35|36}}
|-
| |{&#123;<nowiki>Qtt|2|35}}</nowiki>||{{Qtt|2|35}}
|-
| |{&#123;<nowiki>Bukhari|1|1|5}}</nowiki>||{{Bukhari|1|1|5}}
|-
| |{&#123;<nowiki>Muslim|1|5}}</nowiki>||{{Muslim|1|5}}
|-
| |{&#123;<nowiki>Abudawud|1|7}}</nowiki>||{{Abudawud|1|7}}
|-
| |{&#123;<nowiki>Muwatta|1|1|5|}}</nowiki>
|{{Muwatta|1|1|5|}}
|-
| |<nowiki>{{Al Tirmidhi|2|1|2|6}}</nowiki>||{{Al Tirmidhi|2|1|2|6}}
|-
| |<nowiki>{{Al Nasai|26|4|26|3257}}</nowiki>||{{Al Nasai|26|4|26|3257}}
|-
| |<nowiki>{{Ibn Majah|9|3|9|1903}}</nowiki>||{{Ibn Majah|9|3|9|1903}}
|-
| |<nowiki>{{</nowiki><nowiki>Tabari|4|p. 220}}</nowiki>||{{Tabari|4|p. 220}}
|}
==General in-text | Indented Quotations==




recentchangescleanup, Reviewers, Administrators
148

edits

Navigation menu