WikiIslam:Source Editing: Difference between revisions

m (AbdulHurayrah moved page WikiIslam:Formatting to WikiIslam:Source Editing: Accuracy)
 
(5 intermediate revisions by 2 users not shown)
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 112: Line 112:
! width="50%" |Input!! width="50%" |Output
! width="50%" |Input!! width="50%" |Output
|-
|-
|<tt><nowiki>{{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.}}</nowiki></tt>
|<tt><nowiki>{{Quote|{{cite web|url=http://www.islam-qa.com/en/ref/islamqa/8511 |title=The six blessings of the martyrs |publisher=Islam Q&A|series= Fatwa No. 8511 |author=Shaykh Waleed al-Firyaan|date= November 25, 2000 |archiveurl=https://web.archive.org/web/20230602163814/https://islamqa.info/en/answers/8511/the-six-blessings-of-the-martyrs |archivedate=2023-06-02 |deadurl=no}}}|The martyr has seven blessings from Allah: 1- he is forgiven from the moment his blood is first shed; 2- he will be shown his place in Paradise; 3- he will be spared the trial of the grave; 4- and he will be secure on the Day of Judgement; 5- there will be placed on his head a crown of dignity, 6- he will be married to 72 of al-hur al-‘iyn; 7- and he will be permitted to intercede for seventy of his relatives.}}</nowiki></tt>
|{{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|url=http://www.islam-qa.com/en/ref/islamqa/8511 |title=The six blessings of the martyrs |publisher=Islam Q&A|series= Fatwa No. 8511 |author=Shaykh Waleed al-Firyaan|date= November 25, 2000 |archiveurl=https://web.archive.org/web/20230602163814/https://islamqa.info/en/answers/8511/the-six-blessings-of-the-martyrs |archivedate=2023-06-02 |deadurl=no}}}|The martyr has seven blessings from Allah: 1- he is forgiven from the moment his blood is first shed; 2- he will be shown his place in Paradise; 3- he will be spared the trial of the grave; 4- and he will be secure on the Day of Judgement; 5- there will be placed on his head a crown of dignity, 6- he will be married to 72 of al-hur al-‘iyn; 7- and he will be permitted to intercede for seventy of his relatives.}}
|}
|}
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.
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.


Line 132: 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
====Referencing Hadith====
===Referencing Hadith===
=====Referencing Sahih Bukhari=====
====When using Visual Editor====
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.
The sections below describe the format for citing hadiths in the source editor. The same information applies also when using the Visual Editor, but with one additional requirement.  


By default, this will create a link using the USC-MSA hadith referencing system.
When using Visual Editor (but not source editor), a single space should be entered for any empty parameters that occur before a parameter which is given a value. For example, when using the Dar-us-Salam reference system for Bukhari (preferred), a single space should be entered for the Volume number and for the Book number so that the generated wikitext will have a pipe ("|") for the each of the empty parameters i.e. when saved it will generate for example <code><nowiki>{{Bukhari|||123|darussalam}}</nowiki></code> instead of <code><nowiki>{{Bukhari|3=123|4=darussalam}}</nowiki></code>. This is preferred in order to keep Visual Editor generated wikitext consistent with the existing wikitext across the site.
 
====Referencing Sahih Bukhari====
To cite a hadith in [[Template:Bukhari|Sahih Bukhari]] type: <code><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. The fourth parameter must be "darussalam".
 
This is the standard system for referencing Bukhari hadiths on this site. The Dar-us-Salam reference number as found in the Dar-us-Salam print editions of Bukhari was devised by the mid-20th century scholar Fuad Abdul Baqi. This has become the de facto standard in common and academic usage and is found on sites such as quranx.com and sunnah.com.


=====Sahih Bukhari Alternative=====
=====Sahih Bukhari Alternative=====
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".
You can cite a hadith using the USC-MSA hadith referencing system, which used to be the default system on this site, but is now widely considered obsolete and all citations on this site were replaced with the Dar-us-Salam numbers.


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)
To do so type: <code><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.


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".
You can also cite a Bukhari hadith using the In-book reference convention (a hybrid system 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)
To do so type: <code><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 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).
Note that if using the USC-MSA system, this will sometimes not allow 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 on QuranX
=====Referencing Sahih 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.
====Referencing Sahih Muslim====
To cite a hadith in [[Template:Muslim|Sahih Muslim]] type: <code><nowiki>{{Muslim||#|reference}}</nowiki></code> Note that the first parameter for the book number is left empty. The third parameter must be "reference".


By default, this will create a link using the USC-MSA hadith referencing system.
This is the standard system for citing Sahih Muslim hadiths on this site. It is the number provided in round brackets in the Dar-us-Salam print editions of Sahih Muslim, and was devised by the mid-20th century Islamic scholar Fuad Abdul Baqi. This number has become the de facto standard in common and academic usage and is found on sites such as quranx.com and on sunnah.com (where it is labelled "Reference"). Note that before this round brackets number, the Dar-us-Salam print editions for this collection first show a number in square brackets, which is not commonly used.


=====Sahih Muslim Alternative=====
=====Sahih Muslim Alternative=====
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.
You can cite a hadith using the USC-MSA hadith referencing system, which used to be the default system on this site, but is now widely considered obsolete and all citations on this site were replaced with the Dar-us-Salam numbers.


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)
To do so type: <code>{{<nowiki>Muslim|#|#}}</nowiki></code>


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".
The first parameter is the book number and the second parameter is the narration number.


To do so type: <code>{&#123;<nowiki>Muslim|#|#|in-book}}</nowiki></code>
You can also cite a Sahih Muslim hadith using the In-book reference convention (a hybrid system created by sunnah.com) by adding an additional parameter with the value "in-book".
 
To do so type: <code><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 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).
Note that if using the USC-MSA system, this will sometimes not allow 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 on QuranX).
=====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.
====Referencing Abu Dawud====
To reference a hadith from [[Template:Abudawud|Sunan Abu Dawud]] type: <code><nowiki>{{Abudawud||#|darussalam}}</nowiki></code> (note that the first parameter for the book number is left empty for Dar-us-Salam Reference citations)


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.
This is the standard system for citing Sunan Abu Dawud hadiths on this site. The Dar-us-Salam reference number as found in the Dar-us-Salam print editions of Sunan Abu Dawud was devised by the mid-20th century scholar Fuad Abdul Baqi. This has become the de facto standard in common and academic usage and is found on sites such as quranx.com and sunnah.com.


=====Abu Dawud Alternative=====
=====Abu Dawud Alternative=====
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".
You can cite a hadith using the USC-MSA hadith referencing system, which used to be the default system on this site, but is now widely considered obsolete and all citations on this site were replaced with the Dar-us-Salam numbers.


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).
To do so type: <code><nowiki>{{Abudawud|#|#}}</nowiki></code>


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.
The first parameter is the book number and the second parameter is the narration number.


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".
Note that the USC-MSA (CMJE) partial collection for Abu Dawud only included roughly half of his hadiths.


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)
You can also 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".


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).
To do so type: <code><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).
=====Referencing Muwatta=====
 
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.
 
Note that if using the USC-MSA system, this will sometimes not allow 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 on QuranX).
 
====Referencing Muwatta Malik====
To reference a hadith from [[Template:Muwatta|Malik's Muwatta]] type: <code>{&#123;<nowiki>Muwatta|#||#}}</nowiki></code> (note the empty 2nd parameter)
To reference a hadith from [[Template:Muwatta|Malik's Muwatta]] type: <code>{&#123;<nowiki>Muwatta|#||#}}</nowiki></code> (note the empty 2nd parameter)


Line 195: Line 205:
:<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>
:<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.
By default, this will create a link using the USC-MSA hadith referencing system. The most commonly used referencing system for Muwatta Malik in English is the USC-MSA system, though there is no clear de facto standard referencing system for this collection in English nor Arabic.


=====Muwatta Alternative=====
=====Muwatta Alternative=====
To do so type: <code>{&#123;<nowiki>Muwatta|#||#||arabic}}</nowiki></code> (note the empty 2nd and 4th parameters)
On sunnah.com (and quranx.com) a reference system is available which they call "Arabic reference". Its origin is unclear.
 
To do so type: <code><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>
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).
=====Referencing Tirmidhi=====
 
If the Dar-us-Salam reference numbering for Muwatta Malik is ever added to Quranx.com or another site, that option might be added here in future.
 
====Referencing Tirmidhi====
To reference a hadith from [[Template:Al Tirmidhi|Tirmidhi]] type: <code><nowiki>{{Al Tirmidhi||#|#|#}}</nowiki></code> (note the empty first parameter)
To reference a hadith from [[Template:Al Tirmidhi|Tirmidhi]] type: <code><nowiki>{{Al Tirmidhi||#|#|#}}</nowiki></code> (note the empty first parameter)


Line 209: Line 224:


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.
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=====
 
====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)
To reference a hadith from [[Template:Al Nasai|Nasai'i]] type: <code><nowiki>{{Al Nasai||#|#|#}}</nowiki></code> (note the empty first parameter)


Line 217: Line 233:


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.
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=====
 
====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)
To reference a hadith from [[Template:Ibn Majah|Ibn Majah]] type: <code><nowiki>{{Ibn Majah||#|#|#}}</nowiki></code> (note the empty first parameter)


Line 225: Line 242:


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.
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 Sirah===
=====Referencing Tabari=====
=====Referencing Tabari=====
To reference text from [[Template:Tabari|Tabari]] type: <code>{&#123;<nowiki>Tabari|###|###}}</nowiki></code>
To reference text from [[Template:Tabari|Tabari]] type: <code>{&#123;<nowiki>Tabari|###|###}}</nowiki></code>
Line 240: Line 258:
| |{&#123;<nowiki>Qtt|2|35}}</nowiki>||{{Qtt|2|35}}
| |{&#123;<nowiki>Qtt|2|35}}</nowiki>||{{Qtt|2|35}}
|-
|-
| |{&#123;<nowiki>Bukhari|1|1|5}}</nowiki>||{{Bukhari|1|1|5}}
| |{&#123;<nowiki>Bukhari|||6|darussalam}}</nowiki>||{{Bukhari|||6|darussalam}}
|-
|-
| |{&#123;<nowiki>Muslim|1|5}}</nowiki>||{{Muslim|1|5}}
| |{&#123;<nowiki>Muslim||9|reference}}</nowiki>||{{Muslim||9|reference}}
|-
|-
| |{&#123;<nowiki>Abudawud|1|7}}</nowiki>||{{Abudawud|1|7}}
| |{&#123;<nowiki>Abudawud||7|darussalam}}</nowiki>||{{Abudawud||7|darussalam}}
|-
|-
| |{&#123;<nowiki>Muwatta|1|1|5|}}</nowiki>
| |{&#123;<nowiki>Muwatta|1|1|5|}}</nowiki>
Line 257: Line 275:
| |<nowiki>{{</nowiki><nowiki>Tabari|4|p. 220}}</nowiki>||{{Tabari|4|p. 220}}
| |<nowiki>{{</nowiki><nowiki>Tabari|4|p. 220}}</nowiki>||{{Tabari|4|p. 220}}
|}
|}
===Indented Quotations | General in-text===
To add an indented quotation without any surrounding box, type: <code>{&#123;<nowiki>Quote-text|###|###}}</nowiki></code>


===Indented Quotations | General in-text  To add an indented quotation without any surrounding box, type: <code>{&#123;<nowiki>Quote-text|###|###}}</nowiki></code>===
The parameters are used in the same way as in the Quote template described above. For example, to quote {{Quran|2|256}}, this is what has to be typed:
The parameters are used in the same way as in the Quote template described above. For example, to quote {{Quran|2|256}}, this is what has to be typed:


Line 302: Line 317:
When citing references in articles, it is important not to leave naked URLs. What is being referenced should be easily identifiable without having to leave the page through an external link. For example, this link:
When citing references in articles, it is important not to leave naked URLs. What is being referenced should be easily identifiable without having to leave the page through an external link. For example, this link:


::<code>http://www.jordantimes.com/?news=19888</code>
::<code>https://islamqa.info/en/answers/8511/the-six-blessings-of-the-martyrs</code>


When applied to the Cite Web template:
When applied to the Cite Web template:


::<code><nowiki>{{cite web|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}}</nowiki></code>
::<code><nowiki>{{cite web|url=http://www.islam-qa.com/en/ref/islamqa/8511 |title=The six blessings of the martyrs |publisher=Islam Q&A|series= Fatwa No. 8511 |author=Shaykh Waleed al-Firyaan|date= November 25, 2000 |archiveurl=https://web.archive.org/web/20230602163814/https://islamqa.info/en/answers/8511/the-six-blessings-of-the-martyrs |archivedate=2023-06-02 |deadurl=no}}}</nowiki></code>


Should produce this:
Should produce this:


::{{cite web|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}}
::{{cite web|url=http://www.islam-qa.com/en/ref/islamqa/8511 |title=The six blessings of the martyrs |publisher=Islam Q&A|series= Fatwa No. 8511 |author=Shaykh Waleed al-Firyaan|date= November 25, 2000 |archiveurl=https://web.archive.org/web/20230602163814/https://islamqa.info/en/answers/8511/the-six-blessings-of-the-martyrs |archivedate=2023-06-02 |deadurl=no}}}


====Minimal Parameters====
====Minimal Parameters====
Line 354: Line 369:
Link rot is a frequently occurring phenomena where external website links become unavailable after some time.
Link rot is a frequently occurring phenomena where external website links become unavailable after some time.


The Cite Web template has two parameters dedicated to archived links. This is due to the many sources that are comprised of links to external websites, making the preservation of the content of these external links very important. However, archiving links is very easy and only takes a moment.
Where a linked page is at significant risk of disappearing or would be hard to replace, a link to an archive copy of the page on https://archive.org/ can be added. This is usually done by adding in round brackets an external link in the two-part format ([link archive]) at the end of the citation where "link" is the url of the archived page on archive.org.
====WebCitation.org====
WebCite archives:
 
*Regular web pages
*Forum threads
*Blogs
*PDF and other media files
 
But it does ''not'' archive Facebook pages.


To archive a page, enter the target URL and any email address as that of the citing author on the WebCite archive form (http://www.webcitation.org/archive), then press submit. Using the "transparent" WebCite URL is preferred over the short one.
As detailed above, the <code><nowiki>{{cite web}}</nowiki></code template can be used to link external websites, including linking an archived copy of the page. Two paramaters for the archive url and the archive date are detailed in the specification for that template above.  
====Archive.is====
Archive.is archives:


*Regular web pages
Formerly, editors were instructed to use the webcitation.org archiving website to obtain archive urls, but as that service is no longer functioning, https://archive.org/ should be used instead. When convenient, it is helpful if editors replace existing webcitation.org links with copies held on archive.org.
*Forum threads
*Blogs
*Facebook pages


But it does ''not'' archive PDF and other media files.
To archive a page, enter the target URL into the "submit url" box (http://archive.is/) and press submit. You will then see the new archived URL that can be used in the 'archiveurl' parameter for the Cite Web template.
====Embedded Links====
====Embedded Links====
Embedded links to external websites should never be used as a form of inline citation. Nevertheless, they are used on occasion, for example, in the [[Fatwa: It is Permissible to Use the "Torah and the New Testament... for Anal Cleansing after Defecation"|Translations of Arabic/Islamic Media]] pages. In these rare instances, only a single link is appropriate, rather than both the original and the archive link side-by-side. For these, the [[Template:Reference archive|Reference archive]] template should be used.
Embedded links to external websites should never be used as a form of inline citation. Nevertheless, they are used on occasion. In these rare instances, only a single link is appropriate, rather than both the original and the archive link side-by-side.
 
To use this template, the target URL would have to be archived by entering it into the WebCite archive form (http://www.webcitation.org/archive).
 
Then the target URL in its original form, along with the date it was archived, need to be added to the Reference archive:
 
<code><nowiki>{{Reference archive|1=###|2=###}}</nowiki></code>
 
The first parameter is the original URL, and the second parameter is the date it was archived. The date format is year-month-day, all in numbers rather than words (e.g. 2014-02-26 rather than February 26, 2014).


If absolutely needed, embedded links to Wikipedia can be made by using the <code><nowiki>[[w:Target article|Text]]</nowiki></code> feature or <code><nowiki>{{</nowiki><nowiki>wp|article name}}</nowiki></code>. As with embedded links to other sites, these links should never be used as a form of inline citation.
If absolutely needed, embedded links to Wikipedia can be made by using the <code><nowiki>[[w:Target article|Text]]</nowiki></code> feature or <code><nowiki>{{</nowiki><nowiki>wp|article name}}</nowiki></code>. As with embedded links to other sites, these links should never be used as a form of inline citation.
Line 392: Line 382:
Additional help with formatting and other related issues can be found at:
Additional help with formatting and other related issues can be found at:


*[[WikiIslam:Standardization]]
*[[WikiIslam:Reliable Sources]]
*[[WikiIslam:Reliable Sources]]
*[[Help:Contents]]
*[[Help:Contents]]
Editors, em-bypass-2, Reviewers, rollback, Administrators
3,454

edits