Template:Cite web

From FAMEPedia, The free encyclopedia
Template documentation[view] [edit] [history] [purge]
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.

Usage[edit source]

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= |editor2-last= |editor2-first= |editor2-link= |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[edit source]

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[edit source]

  • {{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=October 1, 2022}}
Doe, John (April 30, 2005). "My Favorite Things, Part II". Encyclopedia of Things. Open Publishing. Retrieved October 1, 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=1 October 2022}}
Doe, John (30 April 2005). "My Favorite Things, Part II". Encyclopedia of Things. Retrieved 1 October 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-10-01}}
Doe, John (2005-04-30). "My Favorite Things, Part II". Retrieved 2022-10-01.
  • {{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |last=Doe |first=John |access-date=1 October 2022}}
Doe, John. "My Favorite Things, Part II". Retrieved 1 October 2022.
  • {{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |access-date=2022-10-01}}
"My Favorite Things, Part II". Retrieved 2022-10-01.
  • {{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=October 1, 2022}}
"NFL Rules Digest". NFL Football Operations. National Football League. Retrieved October 1, 2022.

Using "format="[edit source]

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=1 October 2022}}
"List of psychotropic substances under international control" (PDF). International Narcotics Control Board. Retrieved 1 October 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=1 October 2022}}
"Some PDF Document" (PDF). Sample Int'l. Retrieved 1 October 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=1 October 2022}}
"Some ODT Document" (ODT). Sample Int'l. Retrieved 1 October 2022.

Foreign language and translated title[edit source]

  • {{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=1 October 2022 |language=French |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 French). Retrieved 1 October 2022.

Using author-link[edit source]

  • {{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=October 1, 2022}}
Doe, John (April 30, 2005). "My Favorite Things, Part II". Encyclopedia of Things. Open Publishing. Retrieved October 1, 2022.

Multiple authors[edit source]

  • {{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=1 October 2022}}
Doe, John; Smith, Peter; Smythe, Jim (30 April 2005). "Our Favourite Things". Encyclopaedia of Things. Open Publishing. Retrieved 1 October 2022.

No author[edit source]

  • {{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-10-01}}
"Index of Sharp Things". Encyclopedia of Things. Open Publishing. 2005-04-30. Retrieved 2022-10-01.

No author, no publisher[edit source]

  • {{cite web |url=http://www.example.org/ |title=Index of Sharp Things |date=30 April 2005 |website=Encyclopedia of Things |access-date=1 October 2022}}
"Index of Sharp Things". Encyclopedia of Things. 30 April 2005. Retrieved 1 October 2022.
  • {{cite web |url=http://www.example.org/ |title=Index of Sharp Things |date=April 30, 2005 |access-date=October 1, 2022}}
"Index of Sharp Things". April 30, 2005. Retrieved October 1, 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-10-01 |language=Greek}}
"List of psychotropic substances under international control" (PDF) (in Greek). 2005-04-30. Retrieved 2022-10-01.

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

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-10-01 |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-10-01.
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 usurped, 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=1 October 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 1 October 2022.{{cite web}}: CS1 maint: unfit URL (link)

Using quote[edit source]

  • {{cite web |url=http://www.webexhibits.org/daylightsaving/c.html |title=Daylight saving time: rationale and original idea |website=WebExhibits |date=2008 |access-date=1 October 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 1 October 2022. ... Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins ...'

Parameters[edit source]

Syntax[edit source]

Nested parameters rely on their parent parameters:

  • parent
  • OR: parent2—may be used instead of parent
    • child—may be used with parent (and is ignored if parent is not used)
    • OR: child2—may be used instead of child (and is ignored if parent2 is not used)
Where aliases are listed, only one of the parameters may be defined; if multiple aliased parameters are defined, then only one will show.

By default, sets of fields are terminated with a period (.).

COinS[edit source]

This template embeds COinS metadata in the HTML output, allowing reference management software to retrieve bibliographic metadata.
  1. 1.0 1.1 This guidance does not restrict linking to websites that are being used as sources to provide content in articles.