Template:Cite web/doc: Difference between revisions

From WikiIslam, the online resource on Islam
Jump to navigation Jump to search
[checked revision][checked revision]
No edit summary
No edit summary
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
See [http://en.wikipedia.org/wiki/Template:Cite_web Template:Cite web] (wikipedia) for documentation. Uses [[Template:Citation/core]]
This template should be used whenever an external website is being referenced (RU version: [[:ru:Шаблон:Cite web]]). See [[WikiIslam:Citing Sources]] for more information.


Minimum usage:
;Minimum usage:
<pre>{{cite web
<pre>{{cite web| url= | title= | author= | publisher= | date= | archiveurl= | deadurl=no/yes}}
|url       =      
|title     =
|archiveurl=  
|archivedate=
|deadurl=no
}}
</pre>
</pre>


Other parameters:
;Other parameters:
|date      =
|accessdate =
|quote=


* url: URL of an online location where the text of the publication can be found.
| accessdate= | series= | isbn= | page= | pages= | quote= | language=
* title: Title of web page. Displays in quotes.
* 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 and the Internet Archive; requires archivedate.
* archivedate: Date when the item was archived; use the same format as other access and archive dates in the citations;[1] do not wikilink. Displays preceded by "archived from the original on".
* 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.


* date: Full date of source being referenced in the same format as other publication dates in the citations. This is the date mentioned on the website (if any).
;Minimum usage:
* accessdate: Full date when URL was accessed; use the same format as other access and archive dates in the citations;
 
* 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.
* 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.
 
;Other parameters:
 
* 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


==Examples==
==Examples==
Click Edit to see the code.
Click Edit to see the code.


;1. Just a link. No archive link
;1. Author, publication, date and archive
:{{cite web
:{{cite web| url=http://articles.latimes.com/2008/jun/29/world/fg-abortion29| title=Abortions on the rise in Mideast| author= Borzou Daragahi| date = June 29, 2008| publisher= Los Angeles Times| archiveurl=http://www.webcitation.org/query?url=http://articles.latimes.com/2008/jun/29/world/fg-abortion29&date=2011-09-17 | deadurl=no}}
| url=http://www.wunderground.com/global/stations/03772.html
 
| title=London, United Kingdom Forecast
;2. With series
| accessdate=6 June 2008  
:{{cite web| url=http://articles.latimes.com/2008/jun/29/world/fg-abortion29| title=Abortions on the rise in Mideast| author= Borzou Daragahi| date = June 29, 2008| publisher= Los Angeles Times| series=Special Dispatch No.5278| archiveurl=http://www.webcitation.org/query?url=http://articles.latimes.com/2008/jun/29/world/fg-abortion29&date=2011-09-17| deadurl=no}}
| ref=harv
 
| deadurl=no}}
;3. With quote
:{{cite web| url=http://articles.latimes.com/2008/jun/29/world/fg-abortion29 | title=Abortions on the rise in Mideast| author= Borzou Daragahi| date = June 29, 2008| publisher= Los Angeles Times
| quote = According to the United Nations, about one in 10 pregnancies in the region ends in abortion...| archiveurl=http://www.webcitation.org/query?url=http://articles.latimes.com/2008/jun/29/world/fg-abortion29&date=2011-09-17| deadurl=no}}
 
== Cite web or WebCite? ==
; ''Here is a discussion that took place on Wikipedia. It talks about the differences of Cite web and Webcite:''


;2. Just link with archive
I would be grateful if I could get some opinions on two URL referencing tools, Cite web and Webcite. If we just use WebCite, the advantages are that (1) its ''one'' stable link that the reader can click and it will always be there. Multiple links may confuse the reader. (2) WebCite will also take a reliable snapshot of a website which may change later at any time. (3) Reader has access to the original URL at WebCite if he needs it. Example of WebCite:
:{{cite web
| url=http://www.wunderground.com/global/stations/03772.html
| title=London, United Kingdom Forecast
| accessdate=6 June 2008
| ref=harv
| archiveurl=http://www.webcitation.org/5yo0HaAk7
| archivedate=19 May 2011
| deadurl=no}}


;3. Link with archive but main link is dead
*<nowiki>{{</nowiki>WebCite|url=http://www.webcitation.org/5EsdOV0Sd|date =2006-04-03|title=Science and Technology - Sixth Report}}
:{{cite web
| url=http://www.wunderground.com/global/stations/03772.html
| title=London, United Kingdom Forecast
| accessdate=6 June 2008
| ref=harv
| archiveurl=http://www.webcitation.org/5yo0HaAk7
| archivedate=19 May 2011
| deadurl=yes}}


;4. No author and no date (just link and publication)
We can use Cite web, where we can give both the actual URL and the archived URL. They can be switched around using the 'deadurl' URL. An example of Cite Web:
:{{cite web
*<nowiki>{{</nowiki>cite web
| url=http://www.wunderground.com/global/stations/03772.html
| title = Regulation of complementary medicines
| title=London, United Kingdom Forecast
| url = http://www.tga.gov.au/cm/cm.htm
| publisher=The Weather Underground, Inc.  
| accessdate = 17 May 2009 | archiveurl= http://web.archive.org/web/20090513224806/http://www.tga.gov.au/cm/cm.htm| archivedate= 13 May 2009 <!--DASHBot-->| deadurl= no}}
| accessdate=6 June 2008
| ref=harv
| archiveurl=http://www.webcitation.org/5yo0HaAk7
| archivedate=19 May 2011
| deadurl=no}}


;5. Author, link and publication
If we use Cite Web, we have to detect dead links and then switch around the URL's. Also the user may be confused seeing two links instead of one. I know Webcite has had some outages but its been online for most of the time.
:{{cite web
| url=http://www.wunderground.com/global/stations/03772.html
| title=London, United Kingdom Forecast
| author= John Smith
| publisher=The Weather Underground, Inc.  
| accessdate=6 June 2008
| ref=harv
| archiveurl=http://www.webcitation.org/5yo0HaAk7
| archivedate=19 May 2011
| deadurl=no}}


;6. Author and date
So why should Cite Web be used instead of just WebCite? I know none of the available solutions fully solve the difficult problem of link rot so we're just making attempts to improve the chances that the reader gets to a working URL. --[[User:ApplePie3|ApplePie3]] ([[User talk:ApplePie3|talk]]) 04:43, 8 December 2012 (UTC)
:{{cite web
| url=http://www.wunderground.com/global/stations/03772.html
| title=London, United Kingdom Forecast
| author= John Smith
| date = 1 June 2005
| publisher=The Weather Underground, Inc.
| accessdate=6 June 2008
| ref=harv
| archiveurl=http://www.webcitation.org/5yo0HaAk7
| archivedate=19 May 2011
| deadurl=no}}


;7. With series
:{{tl|cite web}} is a template for citing webpages, and it allows for full bibliographic information (authors, publication dates, publisher, work/website name, access date, etc). It can be used to link to the archived copy of a webpage on WebCite, the Wayback Machine/archive.org and other services. The other template doesn't do full citations, and it's limited to just one service. It's important to note that a webpage archived with WebCite is not permanent; the publisher/rights holder could request that the copy be removed from the archives at any time.
:{{cite web
:As for link rot, I just pre-emptively archive online copies of news articles. See [[County Road 595 (Marquette County, Michigan)|County Road 595]] where every digital copy of an article from ''The Mining Journal'' is pre-emptively archived already. I do believe that there is a bot that checks periodically through articles looking for dead links, and it will remove {{para|deadurl|no}} as needed from the citation templates to perform the flip flop with the links. Since those are the online copies of news articles, they're cited using {{tl|cite news}}, which also allows linkages to ISSN or OCLC numbers and other identifiers to allow readers to search for libraries that have the print editions in their holdings. <span style="background:#006B54; padding:2px;">'''[[User:Imzadi1979|<font color="white">Imzadi&nbsp;1979</font>]]&nbsp;[[User talk:Imzadi1979|<font color="white"><big>→</big></font>]]'''</span>  05:59, 8 December 2012 (UTC)
| url=http://www.wunderground.com/global/stations/03772.html
| title=London, United Kingdom Forecast
| author= John Smith
| date = 1 June 2005
| publisher=The Weather Underground, Inc.  
| series=Special Dispatch No.5278
| accessdate=6 June 2008
| ref=harv
| archiveurl=http://www.webcitation.org/5yo0HaAk7
| archivedate=19 May 2011
| deadurl=no}}


;8. With quote
{{ec}}
:{{cite web
:*{{tl|WebCite}} is not a full citation template— it does not support key information such as author, publisher, date of original publication and identifiers such as doi. It does not match the style of {{cs1}} templates, thus they should not be mixed within an article per [[WP:CITEVAR]].
| url=http://www.wunderground.com/global/stations/03772.html
:*{{tl|WebCite}} does not include the original URL. If WebCite were to go dark, then it is harder to find another archive of the site.
| title=London, United Kingdom Forecast
:* Archive sites such as [[WebCite]] or [[Archive.org]] are not a perfect solution. They honor the [[robots exclusion standard]] and the robots attribute of the [[meta element]]; thus they will not archive many commercial sites such as [[The New York Times]].
| author= John Smith
:* {{para|deadurl|no}} is intended for a preemptive archive. That is, the original link is not dead, but an archive is included as a backup.
| date = 1 June 2005
:*You can use the WebCite link in {{tl|cite web}}:
| publisher=The Weather Underground, Inc.  
:** <code><nowiki>{{cite web |last=House of Lords |title=Science and Technology - Sixth Report |work=UK Parliment |date=21 November 2000 |archiveurl=http://www.webcitation.org/5EsdOV0Sd |archivedate=3 April 2006}}</nowiki></code>
| series=Special Dispatch No.5278
:** {{cite web |last=House of Lords |title=Science and Technology - Sixth Report |work=UK Parliment |date=21 November 2000 |archiveurl=http://www.webcitation.org/5EsdOV0Sd |archivedate=3 April 2006}}
| quote = And he said blah blah blah etc etc
:--'''''—&nbsp;[[User:Gadget850|<span style="color:gray">Gadget850&nbsp;(Ed)</span>]]'''''<sup>[[User talk:Gadget850|&nbsp;''talk'']]</sup> 06:12, 8 December 2012 (UTC)
| accessdate=6 June 2008
::Thanks to both of you for the replies and additional information! --[[User:ApplePie3|ApplePie3]] ([[User talk:ApplePie3|talk]]) 14:21, 8 December 2012 (UTC)
| ref=harv
| archiveurl=http://www.webcitation.org/5yo0HaAk7
| archivedate=19 May 2011
| deadurl=no}}

Revision as of 13:55, 26 April 2014

This template should be used whenever an external website is being referenced (RU version: ru:Шаблон:Cite web). See WikiIslam:Citing Sources for more information.

Minimum usage
{{cite web| url= | title= | author= | publisher= | date= | archiveurl= | deadurl=no/yes}}
Other parameters
| accessdate= | series= | isbn= | page= | pages= | quote= | language=
Minimum usage
  • 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.
Other parameters
  • 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

Examples

Click Edit to see the code.

1. Author, publication, date and archive
Borzou Daragahi, "Abortions on the rise in Mideast", Los Angeles Times, June 29, 2008 (archived), http://articles.latimes.com/2008/jun/29/world/fg-abortion29. 
2. With series
Borzou Daragahi, "Abortions on the rise in Mideast", Los Angeles Times, Special Dispatch No.5278, June 29, 2008 (archived), http://articles.latimes.com/2008/jun/29/world/fg-abortion29. 
3. With quote
"According to the United Nations, about one in 10 pregnancies in the region ends in abortion...", Borzou Daragahi, "Abortions on the rise in Mideast", Los Angeles Times, June 29, 2008 (archived), http://articles.latimes.com/2008/jun/29/world/fg-abortion29 

Cite web or WebCite?

Here is a discussion that took place on Wikipedia. It talks about the differences of Cite web and Webcite:

I would be grateful if I could get some opinions on two URL referencing tools, Cite web and Webcite. If we just use WebCite, the advantages are that (1) its one stable link that the reader can click and it will always be there. Multiple links may confuse the reader. (2) WebCite will also take a reliable snapshot of a website which may change later at any time. (3) Reader has access to the original URL at WebCite if he needs it. Example of WebCite:

We can use Cite web, where we can give both the actual URL and the archived URL. They can be switched around using the 'deadurl' URL. An example of Cite Web:

  • {{cite web

| title = Regulation of complementary medicines | url = http://www.tga.gov.au/cm/cm.htm | accessdate = 17 May 2009 | archiveurl= http://web.archive.org/web/20090513224806/http://www.tga.gov.au/cm/cm.htm%7C archivedate= 13 May 2009 | deadurl= no}}

If we use Cite Web, we have to detect dead links and then switch around the URL's. Also the user may be confused seeing two links instead of one. I know Webcite has had some outages but its been online for most of the time.

So why should Cite Web be used instead of just WebCite? I know none of the available solutions fully solve the difficult problem of link rot so we're just making attempts to improve the chances that the reader gets to a working URL. --ApplePie3 (talk) 04:43, 8 December 2012 (UTC)

{{cite web}} is a template for citing webpages, and it allows for full bibliographic information (authors, publication dates, publisher, work/website name, access date, etc). It can be used to link to the archived copy of a webpage on WebCite, the Wayback Machine/archive.org and other services. The other template doesn't do full citations, and it's limited to just one service. It's important to note that a webpage archived with WebCite is not permanent; the publisher/rights holder could request that the copy be removed from the archives at any time.
As for link rot, I just pre-emptively archive online copies of news articles. See County Road 595 where every digital copy of an article from The Mining Journal is pre-emptively archived already. I do believe that there is a bot that checks periodically through articles looking for dead links, and it will remove Template:Para as needed from the citation templates to perform the flip flop with the links. Since those are the online copies of news articles, they're cited using {{cite news}}, which also allows linkages to ISSN or OCLC numbers and other identifiers to allow readers to search for libraries that have the print editions in their holdings. Imzadi 1979  05:59, 8 December 2012 (UTC)

Template:Ec

  • {{WebCite}} is not a full citation template— it does not support key information such as author, publisher, date of original publication and identifiers such as doi. It does not match the style of Template:Cs1 templates, thus they should not be mixed within an article per WP:CITEVAR.
  • {{WebCite}} does not include the original URL. If WebCite were to go dark, then it is harder to find another archive of the site.
  • Archive sites such as WebCite or Archive.org are not a perfect solution. They honor the robots exclusion standard and the robots attribute of the meta element; thus they will not archive many commercial sites such as The New York Times.
  • Template:Para is intended for a preemptive archive. That is, the original link is not dead, but an archive is included as a backup.
  • You can use the WebCite link in {{cite web}}:
--— Gadget850 (Ed) talk 06:12, 8 December 2012 (UTC)
Thanks to both of you for the replies and additional information! --ApplePie3 (talk) 14:21, 8 December 2012 (UTC)