Difference between revisions of "Template:Cite web/doc"

From Roovet Articles
Jump to navigation Jump to search
(Created page with " <templatedata> { "params": { "date": { "label": "Month and Year", "description": "the month and year the template was added", "example": "January 2013", "type"...")
 
m
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{pp-template}}</noinclude>
{{Documentation subpage}}
{{High-use|all-pages=yes}}
{{AWB standard installation}}
{{csdoc|lua}}
{{csdoc|cs1}}


<templatedata>
{{csdoc|lead|web sources that are not characterized by another CS1 template}} Do not use this template in the "[[WP:ELCITE|External links]]" section of articles.
{
 
"params": {
==Usage==
"date": {
{{csdoc|usage}}
"label": "Month and Year",
{{csdoc|usage common}}
"description": "the month and year the template was added",
For references with author credit
"example": "January 2013",
:<code><nowiki>{{cite web |url= |title= |last= |first= |date= |website= |publisher= |access-date= |quote=}}</nowiki></code>
"type": "string",
For references without author credit
"autovalue": "{{SUBST:CURRENTMONTHNAME}} {{SUBST:CURRENTYEAR}}",
:<code><nowiki>{{cite web |url= |title= |author=<!--Not stated--> |date= |website= |publisher= |access-date= |quote=}}</nowiki></code>
"suggested": true
{{end}}
},
{{csdoc|usage vertical common}}
"URL": {
<!-- Please synchronize this list with the corresponding one at the overview page [[Wikipedia:Citation templates#Examples]] -->
"label": "URL",
<pre style="margin:0px; border:none; white-space:pre;">
"description": "the url of the website added",
{{cite web
"type": "url",
|url=
"autovalue": "\"url\"",
|title=
"suggested": true
|last=
}
|first=
}
|date=
}
|website=
</templatedata>
|publisher=
|access-date=
|quote=}}
</pre>
{{end}}
{{csdoc|usage full}}
:<code><nowiki>{{cite web |url= |url-access= |title= |last= |first= |author= |author-link= |last2= |first2= |author2= |author-link2= |date= |year= |orig-year= |editor-last= |editor-first= |editor= |editor-link= |editor-last2= |editor-first2= |editor-link2= |editors= |department= |website= |series= |publisher= |agency= |location= |page= |pages= |at= |language= |script-title= |trans-title= |type= |format= |arxiv= |asin= |bibcode= |doi= |doi-broken-date= |isbn= |issn= |jfm= |jstor= |lccn= |mr= |oclc= |ol= |osti= |pmc= |pmid= |rfc= |ssrn= |zbl= |id= |access-date= |url-status= |archive-url= |archive-date= |via= |quote= |ref= |postscript=}}</nowiki></code>
{{end}}
{{csdoc|usage vertical}}
<pre style="margin:0px; border:none; white-space:pre;">
{{cite web
|url=
|url-access=
|title=
|last=
|first=
|author-link=
|last2=
|first2=
|author-link2=
|date=
|year=
|orig-year=
|editor-last=
|editor-first=
|editor-link=
|editor2-last=
|editor2-first=
|editor2-link=
|department=
|website=
|series=
|publisher=
|agency=
|location=
|page=
|pages=
|at=
|language=
|script-title=
|trans-title=
|type=
|format=
|arxiv=
|asin=
|bibcode=
|doi=
|doi-broken-date=
|isbn=
|issn=
|jfm=
|jstor=
|lccn=
|mr=
|oclc=
|ol=
|osti=
|pmc=
|pmid=
|rfc=
|ssrn=
|zbl=
|id=
|access-date=
|url-status=
|archive-url=
|archive-date=
|via=
|quote=
|ref=
|postscript=}}
</pre>
{{csdoc|usage vertical mid}}
<pre style="margin:0px; border:none; white-space:pre;">
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
last
&nbsp;
last
last2
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
editor-last
&nbsp;
editor-last
editor2-last
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
url&nbsp;
url&nbsp;
url, archive-date
archive-url
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
</pre>
{{csdoc|usage vertical mid}}
<pre style="margin:0px; border:none; white-space:pre;">
&nbsp;
required
&nbsp;
required
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
</pre>
{{csdoc|usage vertical end}}
 
===Choosing between [[Template:cite web]] and [[Template:cite news]]===
{{anchor|Consistency}}
Before 2014, editors had to decide whether to use {{tl|cite web}} or {{tl|cite news}} based on their features. In 2014, {{em|most of}} the differences between the two templates were eliminated.
 
As of {{diff|Module:Citation/CS1|732205428|723907342|29 July 2016}}, {{tlf|cite web}} and {{tlf|cite news}} have the following differences:
* {{tlf|cite news}} can be used for [[WP:OFFLINE|offline]] (paper) sources whereas {{tlf|cite web}} generates a missing URL error when no URL is provided
* {{tlf|cite news}} accepts {{para|issue}} and {{para|volume}} parameters while {{tlf|cite web}} does not (See {{slink|Help:Citation Style 1#Pages}}; see also {{tl|cite magazine}}).
But given the same set of valid parameters, their output is exactly the same:
<!-- ATTENTION!
The following example only serves to demonstrate parameter rending results.
 
Whether you must include all these parameters in actual articles is not a concern here.
-->
{|
| '''cite web''': || {{cite web |url=http://blog.chron.com/techblog/2011/07/microsoft-envisions-a-universal-os-but-it-might-not-be-called-windows/ |title=Microsoft envisions a universal OS, but it might not be called Windows |last=Silverman |first=Dwight |date=July 15, 2011 |work=Houston Chronicle |publisher=Hearst Corporation |access-date=May 26, 2015}}
|-
| '''cite news''': || {{cite news |url=http://blog.chron.com/techblog/2011/07/microsoft-envisions-a-universal-os-but-it-might-not-be-called-windows/ |title=Microsoft envisions a universal OS, but it might not be called Windows |last=Silverman |first=Dwight |date=July 15, 2011 |work=Houston Chronicle |publisher=Hearst Corporation |access-date=May 26, 2015}}
|}
 
==Examples==
{{markup2|
|m=<nowiki>{{cite web
|url=http://www.example.org/
|title=My Favorite Things, Part II
|last=Doe
|first=John
|publisher=Open Publishing
|date=April 30, 2005
|website=Encyclopedia of Things
|access-date=</nowiki>{{date|{{date}}|mdy}}<nowiki>}}</nowiki>
|r={{cite web
|url=http://www.example.org/
|title=My Favorite Things, Part II
|last=Doe
|first=John
|publisher=Open Publishing
|date=April 30, 2005
|website=Encyclopedia of Things
|access-date={{date|{{date}}|mdy}}}}
}}
{{markup2|
|m=<nowiki>{{cite web
|url=http://www.example.org/
|title=My Favorite Things, Part II
|last=Doe
|first=John
|date=30 April 2005
|website=Encyclopedia of Things
|access-date=</nowiki>{{date}}<nowiki>}}</nowiki>
|r={{cite web
|url=http://www.example.org/
|title=My Favorite Things, Part II
|last=Doe
|first=John
|date=30 April 2005
|website=Encyclopedia of Things
|access-date={{date}}}}
}}
{{markup2|
|m=<nowiki>{{cite web
|url=http://www.example.org/
|title=My Favorite Things, Part II
|last=Doe
|first=John
|date=2005-04-30
|access-date=</nowiki>{{date|{{date}}|iso}}<nowiki>}}</nowiki>
|r={{cite web
|url=http://www.example.org/
|title=My Favorite Things, Part II
|last=Doe
|first=John
|date=2005-04-30
|access-date={{date|{{date}}|iso}}}}
}}
{{markup2|
|m=<nowiki>{{cite web
|url=http://www.example.org/
|title=My Favorite Things, Part II
|last=Doe
|first=John
|access-date=</nowiki>{{date}}<nowiki>}}</nowiki>
|r={{cite web
|url=http://www.example.org/
|title=My Favorite Things, Part II
|last=Doe
|first=John
|access-date={{date}}}}
}}
{{markup2|
|m=<nowiki>{{cite web
|url=http://www.example.org/
|title=My Favorite Things, Part II
|access-date=</nowiki>{{date|{{date}}|iso}}<nowiki>}}</nowiki>
|r={{cite web
|url=http://www.example.org/
|title=My Favorite Things, Part II
|access-date={{date|{{date}}|iso}}}}
}}
{{markup2|
|m=<nowiki>{{cite web
|url=https://operations.nfl.com/the-rules/nfl-rules-digest/
|title=NFL Rules Digest
|website=NFL Football Operations
|publisher=[[National Football League]]
|access-date=</nowiki>{{date|{{date}}|mdy}}<nowiki>}}</nowiki>
|r={{cite web
|url=https://operations.nfl.com/the-rules/nfl-rules-digest/
|title=NFL Rules Digest
|website=NFL Football Operations
|publisher=[[National Football League]]
|access-date={{date|{{date}}|mdy}}}}
}}
 
===Using "format="===
When this template detects a link whose URL includes an [[filename extension|extension]] of ".pdf" or ".PDF", typical of [[PDF]] files, it automatically displays a PDF icon after the link (regardless of whether the link goes to a PDF file or to an HTML landing page, typical of paysites). It also internally acts as if {{para|format|PDF}} had been specified, which displays " (PDF)" after the icon. (In this case, an explicit {{para|format|PDF}} parameter would be redundant, so it ''is not'' recommended to add it. Users may remove it. Citation bot, when invoked, will remove it. ([[User talk:Citation bot/Archive 13#Remove format=pdf and variants when URLs end in .pdf|ref]]))
<div style="width:auto; overflow:scroll">
{{markup2|
|m=<nowiki>{{cite web
|url=http://www.indiapost.gov.in/Pdf/Customs/List_of_Psychotropic_Substances.pdf
|title=List of psychotropic substances under international control
|publisher=International Narcotics Control Board
|access-date=</nowiki>{{date}}<nowiki>}}</nowiki>
|r={{cite web
|url=http://www.indiapost.gov.in/Pdf/Customs/List_of_Psychotropic_Substances.pdf
|title=List of psychotropic substances under international control
|publisher=International Narcotics Control Board
|access-date={{date}}}}
}}
</div>
 
If the link is to a PDF file that ''is not'' automatically recognizable by its extension, this template does not display the PDF icon. You may add the parameter {{para|format|PDF}}, which displays " (PDF)" after the link.
<div style="width:auto; overflow:scroll">
{{markup2|
|m=<nowiki>{{cite web
|url=http://www.sample.com/somePDFdocument.000
|title=Some PDF Document
|publisher=Sample Int'l
|format=PDF
|access-date=</nowiki>{{date}}<nowiki>}}</nowiki>
|r={{cite web
|url=http://www.sample.com/somePDFdocument.000
|title=Some PDF Document
|publisher=Sample Int'l
|format=PDF
|access-date={{date}}}}
}}
</div>
 
For links to files in other formats, no icon is displayed. For example, for an [[.odt]] file, you may add the parameter {{para|format|ODT}}, which displays " (ODT)" after the link.
<div style="width:auto; overflow:scroll">
{{markup2|
|m=<nowiki>{{cite web
|url=http://www.sample.com/someODTdocument.odt
|title=Some ODT Document
|publisher=Sample Int'l
|format=ODT
|access-date=</nowiki>{{date}}<nowiki>}}</nowiki>
|r={{cite web
|url=http://www.sample.com/someODTdocument.odt
|title=Some ODT Document
|publisher=Sample Int'l
|format=ODT
|access-date={{date}}}}
}}
</div>
===Foreign language and translated title===
{{markup2|
|m=<nowiki>{{cite web
|url=http://www.example.org/
|title=Honi soit qui mal y pense
|last=Joliet
|first=François
|date=30 April 2005
|access-date=</nowiki>{{date}}<nowiki>
|language=fr
|trans-title=Shame on those who think evil of it}}</nowiki>
|r={{cite web
|url=http://www.example.org/
|title=Honi soit qui mal y pense
|last=Joliet
|first=François
|date=30 April 2005
|access-date={{date}}
|language=fr
|trans-title=Shame on those who think evil of it}}
}}
 
===Using author-link===
{{markup2|
|m=<nowiki>{{cite web
|url=http://www.example.org/
|title=My Favorite Things, Part II
|last=Doe
|first=John
|author-link=John Doe
|publisher=Open Publishing
|date=April 30, 2005
|website=Encyclopedia of Things
|access-date=</nowiki>{{date|{{date}}|mdy}}<nowiki>}}</nowiki>
|r={{cite web
|url=http://www.example.org/
|title=My Favorite Things, Part II
|last=Doe
|first=John
|author-link=John Doe
|publisher=Open Publishing
|date=April 30, 2005
|website=Encyclopedia of Things
|access-date={{date|{{date}}|mdy}}}}
}}
 
===Multiple authors===
{{markup2|
|m=<nowiki>{{cite web
|url=http://www.example.org/
|title=Our Favourite Things
|last1=Doe
|first1=John
|last2=Smith
|first2=Peter
|last3=Smythe
|first3=Jim
|publisher=Open Publishing
|date=30 April 2005
|website=Encyclopaedia of Things
|access-date=</nowiki>{{date}}<nowiki>}}</nowiki>
|r={{cite web
|url=http://www.example.org/
|title=Our Favourite Things
|last1=Doe
|first1=John
|last2=Smith
|first2=Peter
|last3=Smythe
|first3=Jim
|publisher=Open Publishing
|date=30 April 2005
|website=Encyclopaedia of Things
|access-date={{date}}}}
}}
 
===No author===
{{markup2|
|m=<nowiki>{{cite web
|url=http://www.example.org/
|title=Index of Sharp Things
|publisher=Open Publishing
|date=2005-04-30
|website=Encyclopedia of Things
|access-date=</nowiki>{{date|{{date}}|iso}}<nowiki>}}</nowiki>
|r={{cite web
|url=http://www.example.org/
|title=Index of Sharp Things
|publisher=Open Publishing
|date=2005-04-30
|website=Encyclopedia of Things
|access-date={{date|{{date}}|iso}}}}
}}
 
===No author, no publisher===
{{markup2|
|m=<nowiki>{{cite web
|url=http://www.example.org/
|title=Index of Sharp Things
|date=30 April 2005
|website=Encyclopedia of Things
|access-date=</nowiki>{{date}}<nowiki>}}</nowiki>
|r={{cite web
|url=http://www.example.org/
|title=Index of Sharp Things
|date=30 April 2005
|website=Encyclopedia of Things
|access-date={{date}}}}
}}
{{markup2|
|m=<nowiki>{{cite web
|url=http://www.example.org/
|title=Index of Sharp Things
|date=April 30, 2005
|access-date=</nowiki>{{date|{{date}}|mdy}}<nowiki>}}</nowiki>
|r={{cite web
|url=http://www.example.org/
|title=Index of Sharp Things
|date=April 30, 2005
|access-date={{date|{{date}}|mdy}}}}
}}
{{markup2|
|m=<nowiki>{{cite web
|url=http://www.incb.org/pdf/e/list/green.pdf
|title=List of psychotropic substances under international control
|date=2005-04-30
|access-date=</nowiki>{{date|{{date}}|iso}}<nowiki>
|language=el}}</nowiki>
|r={{cite web
|url=http://www.incb.org/pdf/e/list/green.pdf
|title=List of psychotropic substances under international control
|date=2005-04-30
|access-date={{date|{{date}}|iso}}
|language=el}}
}}
 
===Using "archive-url" and "archive-date" (and optionally "url-status") for webpages that have been archived {{anchor|archive-url}}===
<div style="width:auto; overflow:scroll">By default, if "archive-url" is used, {{para|url-status|dead}} and the main link is to the archive:
{{markup2|
|m=<nowiki>{{cite web
|url=http://www.incb.org/pdf/e/list/green.pdf
|title=List of psychotropic substances under international control
|date=2005-04-30
|access-date=</nowiki>{{date|{{date}}|iso}}<nowiki>
|archive-url=https://web.archive.org/web/20050907150136/http://www.incb.org/pdf/e/list/green.pdf
|archive-date=2005-09-07}}</nowiki>
|r={{cite web
|url=http://www.incb.org/pdf/e/list/green.pdf
|title=List of psychotropic substances under international control
|date=2005-04-30
|access-date={{date|{{date}}|iso}}
|archive-url=https://web.archive.org/web/20050907150136/http://www.incb.org/pdf/e/list/green.pdf
|archive-date=2005-09-07}}
}}
</div>
<div style="width:auto; overflow:scroll">With {{para|url-status|live}}, the main link is to the original:
{{markup2|
|m=<nowiki>{{cite web
|url=http://joanjettbadrep.com/cgi-bin/fullStory.cgi?archive=currnews&story=20060405-01shore.htm
|title=Interview with Maggie Downs
|date=March 31, 2006
|publisher=The Desert Sun
|url-status=live
|archive-url=http://72.14.207.104/search?q=cache:JAxf4v-pQmgJ:joanjettbadrep.com/cgi-bin/fullStory.cgi%3Farchive%3Dcurrnews%26story%3D20060405-01shore.htm
|archive-date=April 26, 2006}}</nowiki>
|r={{cite web
|url=http://joanjettbadrep.com/cgi-bin/fullStory.cgi?archive=currnews&story=20060405-01shore.htm
|title=Interview with Maggie Downs
|date=March 31, 2006
|publisher=The Desert Sun
|url-status=live
|archive-url=http://72.14.207.104/search?q=cache:JAxf4v-pQmgJ:joanjettbadrep.com/cgi-bin/fullStory.cgi%3Farchive%3Dcurrnews%26story%3D20060405-01shore.htm
|archive-date=April 26, 2006}}
}}
</div>
<div style="width:auto; overflow:scroll">With {{para|url-status|unfit}} or {{code|usurped}}, the original is not linked at all:
{{markup2|
|m=<nowiki>{{cite web
|url=http://www.wunderground.com/global/stations/03772.html
|title=London, United Kingdom Forecast: Weather Underground (weather and elevation at Heathrow Airport)
|publisher=The Weather Underground
|access-date=</nowiki>{{date}}<nowiki>
|url-status=unfit |archive-url=https://www.webcitation.org/5yo0HaAk7 |archive-date=19 May 2011}}</nowiki>
|r={{cite web
|url=http://www.wunderground.com/global/stations/03772.html
|title=London, United Kingdom Forecast: Weather Underground (weather and elevation at Heathrow Airport)
|publisher=The Weather Underground
|access-date={{date}}
|url-status=unfit |archive-url=https://www.webcitation.org/5yo0HaAk7 |archive-date=19 May 2011}}
}}
</div>
 
===Using quote===
<div style="width:auto; overflow:scroll">
{{markup2|
|m=<nowiki>{{cite web
|url=http://www.webexhibits.org/daylightsaving/c.html
|title=Daylight saving time: rationale and original idea
|website=WebExhibits
|date=2008
|access-date=</nowiki>{{date}}<nowiki>
|quote=...&amp;nbsp;Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins&amp;nbsp;...'}}</nowiki>
|r={{cite web
|url=http://www.webexhibits.org/daylightsaving/c.html
|title=Daylight saving time: rationale and original idea
|website=WebExhibits
|date=2008
|access-date={{date}}
|quote=...&nbsp;Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins&nbsp;...'}}
}}
</div>

Revision as of 07:53, 23 November 2021

Lua error in Module:Effective_protection_level at line 63: attempt to index field 'TitleBlacklist' (a nil value).

Citation Style 1 templates
{{Cite arXiv}}arXiv preprints
{{Cite AV media}}audio and visual media
{{Cite AV media notes}}AV media liner notes
{{Cite bioRxiv}}bioRxiv preprints
{{Cite book}}books and chapters
{{Cite citeseerx}}CiteSeerX papers
{{Cite conference}}conference papers
{{Cite encyclopedia}}edited collections
{{Cite episode}}radio or TV episodes
{{Cite interview}}interviews
{{Cite journal}}academic journals
{{Cite magazine}}magazines, periodicals
{{Cite mailing list}}public mailing lists
{{Cite map}}maps
{{Cite news}}news articles
{{Cite newsgroup}}online newsgroups
{{Cite podcast}}podcasts
{{Cite press release}}press releases
{{Cite report}}reports
{{Cite serial}}audio or video serials
{{Cite sign}}signs, plaques
{{Cite speech}}speeches
{{Cite ssrn}}SSRN papers
{{Cite techreport}}technical reports
{{Cite thesis}}theses
{{Cite web}}web sources not covered by the above
See alsoSpecific-source templates
Wrapper templates

This Citation Style 1 template is used to create citations for web sources that are not characterized by another CS1 template. Do not use this template in the "External links" section of articles.

Usage

Copy a blank version to use. Almost all parameter names are supported only in lower case (some initialisms, such as |isbn= have upper-case aliases like |ISBN=, which are acceptable for use). Use the "|" (pipe) character between each parameter. Unused parameters may be deleted to avoid clutter in the edit window. Some samples on this documentation page may include the current date. If the date is not current, then purge the page.

Most commonly used parameters in horizontal format

For references with author credit

{{cite web |url= |title= |last= |first= |date= |website= |publisher= |access-date= |quote=}}

For references without author credit

{{cite web |url= |title= |author=<!--Not stated--> |date= |website= |publisher= |access-date= |quote=}}
Most commonly used parameters in vertical format
{{cite web
 |url=
 |title=
 |last=
 |first=
 |date=
 |website=
 |publisher=
 |access-date=
 |quote=}}
Full parameter set in horizontal format
{{cite web |url= |url-access= |title= |last= |first= |author= |author-link= |last2= |first2= |author2= |author-link2= |date= |year= |orig-year= |editor-last= |editor-first= |editor= |editor-link= |editor-last2= |editor-first2= |editor-link2= |editors= |department= |website= |series= |publisher= |agency= |location= |page= |pages= |at= |language= |script-title= |trans-title= |type= |format= |arxiv= |asin= |bibcode= |doi= |doi-broken-date= |isbn= |issn= |jfm= |jstor= |lccn= |mr= |oclc= |ol= |osti= |pmc= |pmid= |rfc= |ssrn= |zbl= |id= |access-date= |url-status= |archive-url= |archive-date= |via= |quote= |ref= |postscript=}}
Full parameter set in vertical format
Vertical list Prerequisites Brief instructions / notes
{{cite web
 |url=
 |url-access=
 |title=
 |last=
 |first=
 |author-link=
 |last2=
 |first2=
 |author-link2=
 |date=
 |year=
 |orig-year=
 |editor-last=
 |editor-first=
 |editor-link=
 |editor2-last=
 |editor2-first=
 |editor2-link=
 |department=
 |website=
 |series=
 |publisher=
 |agency=
 |location=
 |page=
 |pages=
 |at=
 |language=
 |script-title=
 |trans-title=
 |type=
 |format=
 |arxiv=
 |asin=
 |bibcode=
 |doi=
 |doi-broken-date=
 |isbn=
 |issn=
 |jfm=
 |jstor=
 |lccn=
 |mr=
 |oclc=
 |ol=
 |osti=
 |pmc=
 |pmid=
 |rfc=
 |ssrn=
 |zbl=
 |id=
 |access-date=
 |url-status=
 |archive-url=
 |archive-date=
 |via=
 |quote=
 |ref=
 |postscript=}}
 
 
 
 
 
last
 
last
last2
 
 
 
 
 
editor-last
 
editor-last
editor2-last
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
url 
url 
url, archive-date
archive-url
 
 
 
 
 
 
 
required
 
required
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
  • If a field name is listed in the Prerequisites column, it is a prerequisite for the field to the left.

Choosing between Template:cite web and Template:cite news

Before 2014, editors had to decide whether to use {{cite web}} or {{cite news}} based on their features. In 2014, most of the differences between the two templates were eliminated.

As of 29 July 2016, {{cite web}} and {{cite news}} have the following differences:

  • {{cite news}} can be used for offline (paper) sources whereas {{cite web}} generates a missing URL error when no URL is provided
  • {{cite news}} accepts |issue= and |volume= parameters while {{cite web}} does not (See Help:Citation Style 1 § Pages; see also {{cite magazine}}).

But given the same set of valid parameters, their output is exactly the same:

cite web: Silverman, Dwight (July 15, 2011). "Microsoft envisions a universal OS, but it might not be called Windows". Houston Chronicle. Hearst Corporation. Retrieved May 26, 2015.
cite news: Silverman, Dwight (July 15, 2011). "Microsoft envisions a universal OS, but it might not be called Windows". Houston Chronicle. Hearst Corporation. Retrieved May 26, 2015.

Examples

  • {{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |last=Doe |first=John |publisher=Open Publishing |date=April 30, 2005 |website=Encyclopedia of Things |access-date=January 17, 2022}}
Doe, John (April 30, 2005). "My Favorite Things, Part II". Encyclopedia of Things. Open Publishing. Retrieved January 17, 2022.
  • {{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |last=Doe |first=John |date=30 April 2005 |website=Encyclopedia of Things |access-date=17 January 2022}}
Doe, John (30 April 2005). "My Favorite Things, Part II". Encyclopedia of Things. Retrieved 17 January 2022.
  • {{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |last=Doe |first=John |date=2005-04-30 |access-date=2022-01-17}}
Doe, John (2005-04-30). "My Favorite Things, Part II". Retrieved 2022-01-17.
  • {{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |last=Doe |first=John |access-date=17 January 2022}}
Doe, John. "My Favorite Things, Part II". Retrieved 17 January 2022.
  • {{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |access-date=2022-01-17}}
"My Favorite Things, Part II". Retrieved 2022-01-17.
  • {{cite web |url=https://operations.nfl.com/the-rules/nfl-rules-digest/ |title=NFL Rules Digest |website=NFL Football Operations |publisher=[[National Football League]] |access-date=January 17, 2022}}
"NFL Rules Digest". NFL Football Operations. National Football League. Retrieved January 17, 2022.

Using "format="

When this template detects a link whose URL includes an extension of ".pdf" or ".PDF", typical of PDF files, it automatically displays a PDF icon after the link (regardless of whether the link goes to a PDF file or to an HTML landing page, typical of paysites). It also internally acts as if |format=PDF had been specified, which displays " (PDF)" after the icon. (In this case, an explicit |format=PDF parameter would be redundant, so it is not recommended to add it. Users may remove it. Citation bot, when invoked, will remove it. (ref))

  • {{cite web |url=http://www.indiapost.gov.in/Pdf/Customs/List_of_Psychotropic_Substances.pdf |title=List of psychotropic substances under international control |publisher=International Narcotics Control Board |access-date=17 January 2022}}
"List of psychotropic substances under international control" (PDF). International Narcotics Control Board. Retrieved 17 January 2022.

If the link is to a PDF file that is not automatically recognizable by its extension, this template does not display the PDF icon. You may add the parameter |format=PDF, which displays " (PDF)" after the link.

  • {{cite web |url=http://www.sample.com/somePDFdocument.000 |title=Some PDF Document |publisher=Sample Int'l |format=PDF |access-date=17 January 2022}}
"Some PDF Document" (PDF). Sample Int'l. Retrieved 17 January 2022.

For links to files in other formats, no icon is displayed. For example, for an .odt file, you may add the parameter |format=ODT, which displays " (ODT)" after the link.

  • {{cite web |url=http://www.sample.com/someODTdocument.odt |title=Some ODT Document |publisher=Sample Int'l |format=ODT |access-date=17 January 2022}}
"Some ODT Document" (ODT). Sample Int'l. Retrieved 17 January 2022.

Foreign language and translated title

  • {{cite web |url=http://www.example.org/ |title=Honi soit qui mal y pense |last=Joliet |first=François |date=30 April 2005 |access-date=17 January 2022 |language=fr |trans-title=Shame on those who think evil of it}}
Joliet, François (30 April 2005). "Honi soit qui mal y pense" [Shame on those who think evil of it] (in français). Retrieved 17 January 2022.

Using author-link

  • {{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |last=Doe |first=John |author-link=John Doe |publisher=Open Publishing |date=April 30, 2005 |website=Encyclopedia of Things |access-date=January 17, 2022}}
Doe, John (April 30, 2005). "My Favorite Things, Part II". Encyclopedia of Things. Open Publishing. Retrieved January 17, 2022.

Multiple authors

  • {{cite web |url=http://www.example.org/ |title=Our Favourite Things |last1=Doe |first1=John |last2=Smith |first2=Peter |last3=Smythe |first3=Jim |publisher=Open Publishing |date=30 April 2005 |website=Encyclopaedia of Things |access-date=17 January 2022}}
Doe, John; Smith, Peter; Smythe, Jim (30 April 2005). "Our Favourite Things". Encyclopaedia of Things. Open Publishing. Retrieved 17 January 2022.

No author

  • {{cite web |url=http://www.example.org/ |title=Index of Sharp Things |publisher=Open Publishing |date=2005-04-30 |website=Encyclopedia of Things |access-date=2022-01-17}}
"Index of Sharp Things". Encyclopedia of Things. Open Publishing. 2005-04-30. Retrieved 2022-01-17.

No author, no publisher

  • {{cite web |url=http://www.example.org/ |title=Index of Sharp Things |date=30 April 2005 |website=Encyclopedia of Things |access-date=17 January 2022}}
"Index of Sharp Things". Encyclopedia of Things. 30 April 2005. Retrieved 17 January 2022.
  • {{cite web |url=http://www.example.org/ |title=Index of Sharp Things |date=April 30, 2005 |access-date=January 17, 2022}}
"Index of Sharp Things". April 30, 2005. Retrieved January 17, 2022.
  • {{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |date=2005-04-30 |access-date=2022-01-17 |language=el}}
"List of psychotropic substances under international control" (PDF) (in Ελληνικά). 2005-04-30. Retrieved 2022-01-17.

Using "archive-url" and "archive-date" (and optionally "url-status") for webpages that have been archived

By default, if "archive-url" is used, |url-status=dead and the main link is to the archive:
  • {{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |date=2005-04-30 |access-date=2022-01-17 |archive-url=https://web.archive.org/web/20050907150136/http://www.incb.org/pdf/e/list/green.pdf |archive-date=2005-09-07}}
"List of psychotropic substances under international control" (PDF). 2005-04-30. Archived from the original (PDF) on 2005-09-07. Retrieved 2022-01-17.
With |url-status=live, the main link is to the original:
  • {{cite web |url=http://joanjettbadrep.com/cgi-bin/fullStory.cgi?archive=currnews&story=20060405-01shore.htm |title=Interview with Maggie Downs |date=March 31, 2006 |publisher=The Desert Sun |url-status=live |archive-url=http://72.14.207.104/search?q=cache:JAxf4v-pQmgJ:joanjettbadrep.com/cgi-bin/fullStory.cgi%3Farchive%3Dcurrnews%26story%3D20060405-01shore.htm |archive-date=April 26, 2006}}
"Interview with Maggie Downs". The Desert Sun. March 31, 2006. Archived from the original on April 26, 2006.
With |url-status=unfit or <syntaxhighlight lang="text" class="" id="" style="" inline="1">usurped</syntaxhighlight>, the original is not linked at all:
  • {{cite web |url=http://www.wunderground.com/global/stations/03772.html |title=London, United Kingdom Forecast: Weather Underground (weather and elevation at Heathrow Airport) |publisher=The Weather Underground |access-date=17 January 2022 |url-status=unfit |archive-url=https://www.webcitation.org/5yo0HaAk7 |archive-date=19 May 2011}}
"London, United Kingdom Forecast: Weather Underground (weather and elevation at Heathrow Airport)". The Weather Underground. Archived from the original on 19 May 2011. Retrieved 17 January 2022.CS1 maint: unfit URL (link)

Using quote

  • {{cite web |url=http://www.webexhibits.org/daylightsaving/c.html |title=Daylight saving time: rationale and original idea |website=WebExhibits |date=2008 |access-date=17 January 2022 |quote=...&nbsp;Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins&nbsp;...'}}
"Daylight saving time: rationale and original idea". WebExhibits. 2008. Retrieved 17 January 2022. ... Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins ...'