WikiIslam:Source Editing: Difference between revisions

Jump to navigation Jump to search
Replaced instructions regarding the defunct webcitation archiving service and updated the cite web template instructions
(Replaced instructions regarding the defunct webcitation archiving service and updated the cite web template instructions)
 
(6 intermediate revisions by 3 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=====
=====Referencing Sahih 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.
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.
Line 225: Line 225:


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 257: Line 257:
| |<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===
===Indented Quotations | General in-text To add an indented quotation without any surrounding box, type: <code>{&#123;<nowiki>Quote-text|###|###}}</nowiki></code>===
 
 
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:


:<code>{&#123;Quote-text|{&#123;<nowiki>Quran|2|29}}|He it is Who created for you all that is in the earth. Then turned He to the heaven, and fashioned it as seven heavens. And He is knower of all things.}}</nowiki></code>
:<code>{&#123;Quote-text|{&#123;<nowiki>Quran|2|29}}|He it is Who created for you all that is in the earth. Then turned He to the heaven, and fashioned it as seven heavens. And He is knower of all things.}}</nowiki></code>


And it should produce this:{{Quote-text|{{Quran|2|29}}|He it is Who created for you all that is in the earth. Then turned He to the heaven, and fashioned it as seven heavens. And He is knower of all things.}}<br />
And it should produce this:{{Quote-text|{{Quran|2|29}}|He it is Who created for you all that is in the earth. Then turned He to the heaven, and fashioned it as seven heavens. And He is knower of all things.}}
 
==In-line Citations==
==In-line Citations==


Line 297: Line 292:


::<code><nowiki><ref name="name here"></ref></nowiki></code>
::<code><nowiki><ref name="name here"></ref></nowiki></code>
===Cite Web===
The [[Template:Cite web|Cite Web]] template deals with the actual references i.e. the content that goes between the ref tags. Its use ensures that the formatting for references remains consistent throughout the site and also enables easy system-wide changes.
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>https://islamqa.info/en/answers/8511/the-six-blessings-of-the-martyrs</code>
When applied to the Cite Web template:
::<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:
::{{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====
<pre>
{{cite web| url= | title= | author= | publisher= | date= | archiveurl= | deadurl=no/yes}}
</pre>
*url= URL of an online location where the text of the publication can be found.
*title= Title of web page. Displays in quotes.
*author= Name of author or authors if available.
*publisher= Organization or website's name. A website's URL should be used only when there is no proper name available. So, for example, Islam Q&A is located at islamqa.info, but Islam Q&A is the title that should be cited as the publisher.
*date= Full date of source being referenced in the month/day/year format (e.g. February 21, 2014). This is the date mentioned on the website (if any).
:*accessdate= Full date when URL was accessed (use if the sourced page does not indicate a date of publication).
*archiveurl= The URL of an archived copy of a web page, if or in case the url becomes unavailable. Typically used to refer to services like WebCite.
*deadurl= When the URL is still live, but preemptively archived, then set |deadurl=no. This changes the display order with the title retaining the original link and the archive linked at the end.
====Additional Parameters====
<pre>| accessdate= | series= | isbn= | page= | pages= | quote= | language=
</pre>
*series= Additional information that cannot be included under author or publisher. For example journal number
*quote= Relevant text quoted from the source. Displays enclosed in quotes. When supplied, the citation terminator (a period by default) is suppressed, so the quote needs to include terminating punctuation.
*isbn= For citing books. The ISBN is a numeric commercial book identifier based upon the 9-digit SBN code. Most published books have them.
*page= Page number of the book/journal being cited.
*pages= Page numbers of the book/journal being cited. Used when the information is spread over more than 1 page (e.g. 223-224).
*language= Language of content being cited. Only needed for languages other than English


===Multi-Columned References===
===Multi-Columned References===
Line 313: Line 350:
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.
==See Also==
==See Also==
Additional help with formatting and other related issues can be found at:


*Additional help with formatting and other related issues can be found at [[Help:Contents]], [[WikiIslam:Standardization]], [[WikiIslam:Citing Sources]] and [[WikiIslam:Article Style and Content Guide]].
*[[WikiIslam:Reliable Sources]]
*[[Help:Contents]]
*[[WikiIslam:Citing Sources]]
*[[WikiIslam:Article Style and Content Guide]]


[[Category:Help Pages]]
[[Category:Help Pages]]
[[Category:Policies and Guidelines]]
[[Category:Policies and Guidelines]]
Editors, em-bypass-2, Reviewers, rollback, Administrators
2,743

edits

Navigation menu