WikiIslam:Source Editing: Difference between revisions

Cite web from Citing Sources
(Cite web 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 266: Line 266:
:<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 296:


::<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>http://www.jordantimes.com/?news=19888</code>
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>
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}}
====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===
recentchangescleanup, Reviewers, Administrators
148

edits