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
Line 29: Line 29:
Click Edit to see the code.
Click Edit to see the code.


When main link is active:
;1. Author and date
:{{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}}
 
;2. Author, link and publication
:{{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}}


:{{Cite web
;3. No author and no date (just link and publication)
| url=http://www.wunderground.com/global/stations/03772.html
:{{cite web
| title=London, United Kingdom Forecast : Weather Underground
| url=http://www.wunderground.com/global/stations/03772.html  
| title=London, United Kingdom Forecast
| publisher=The Weather Underground, Inc.  
| publisher=The Weather Underground, Inc.  
| accessdate=6 June 2008  
| accessdate=6 June 2008  
Line 39: Line 63:
| archiveurl=http://www.webcitation.org/5yo0HaAk7  
| archiveurl=http://www.webcitation.org/5yo0HaAk7  
| archivedate=19 May 2011
| archivedate=19 May 2011
| deadurl=no }}
| deadurl=no}}
 
;4. Just link
:{{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}}
 
;5. Just link but link is dead (archived)
:{{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}}
 
;6. No archive link
:{{cite web
| url=http://www.wunderground.com/global/stations/03772.html
| title=London, United Kingdom Forecast
| accessdate=6 June 2008
| ref=harv
| deadurl=no}}


When main link is dead:  
;7. With series
:{{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.
| series=Special Dispatch No.5278
| accessdate=6 June 2008
| ref=harv
| archiveurl=http://www.webcitation.org/5yo0HaAk7
| archivedate=19 May 2011
| deadurl=no}}


:{{Cite web
;8. With quote
:{{cite web
| url=http://www.wunderground.com/global/stations/03772.html  
| url=http://www.wunderground.com/global/stations/03772.html  
| title=London, United Kingdom Forecast : Weather Underground
| title=London, United Kingdom Forecast
| author= John Smith
| date = 1 June 2005
| publisher=The Weather Underground, Inc.  
| publisher=The Weather Underground, Inc.  
| series=Special Dispatch No.5278
| quote = And he said blah blah blah etc etc
| accessdate=6 June 2008  
| accessdate=6 June 2008  
| ref=harv  
| ref=harv  
| archiveurl=http://www.webcitation.org/5yo0HaAk7  
| archiveurl=http://www.webcitation.org/5yo0HaAk7  
| archivedate=19 May 2011
| archivedate=19 May 2011
| deadurl=yes }}
| deadurl=no}}

Revision as of 15:20, 9 June 2013

See Template:Cite web (wikipedia) for documentation. Uses Template:Citation/core

Minimum usage:

{{cite web
 |url        =       
 |title      =
 |archiveurl= 
 |archivedate=
 |deadurl=no
}}

Other parameters:

|date       =
|accessdate =
|quote=
  • url: URL of an online location where the text of the publication can be found.
  • 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).
  • 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.

Examples

Click Edit to see the code.

1. Author and date
John Smith, "London, United Kingdom Forecast", The Weather Underground, Inc., 1 June 2005 (archived), http://www.wunderground.com/global/stations/03772.html. 
2. Author, link and publication
John Smith, "London, United Kingdom Forecast", The Weather Underground, Inc. (archived), http://www.wunderground.com/global/stations/03772.html. 
3. No author and no date (just link and publication)
"London, United Kingdom Forecast", The Weather Underground, Inc. (archived), http://www.wunderground.com/global/stations/03772.html. 
4. Just link
"London, United Kingdom Forecast" (archived), http://www.wunderground.com/global/stations/03772.html. 
5. Just link but link is dead (archived)
"London, United Kingdom Forecast" (archived from the original), http://www.webcitation.org/5yo0HaAk7. 
6. No archive link
"London, United Kingdom Forecast", http://www.wunderground.com/global/stations/03772.html. 
7. With series
John Smith, "London, United Kingdom Forecast", The Weather Underground, Inc., Special Dispatch No.5278, 1 June 2005 (archived), http://www.wunderground.com/global/stations/03772.html. 
8. With quote
"And he said blah blah blah etc etc", John Smith, "London, United Kingdom Forecast", The Weather Underground, Inc., Special Dispatch No.5278, 1 June 2005 (archived), http://www.wunderground.com/global/stations/03772.html