Template:Cite web/doc

From WikiProjectMed
Jump to navigation Jump to search
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= |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

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

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=13 April 2024}}
"List of psychotropic substances under international control" (PDF). International Narcotics Control Board. Retrieved 13 April 2024.

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=13 April 2024}}
"Some PDF Document" (PDF). Sample Int'l. Retrieved 13 April 2024.

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=13 April 2024}}
"Some ODT Document" (ODT). Sample Int'l. Retrieved 13 April 2024.

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=13 April 2024 |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 13 April 2024.{{cite web}}: CS1 maint: unrecognized language (link)

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

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

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=2024-04-13}}
"Index of Sharp Things". Encyclopedia of Things. Open Publishing. 2005-04-30. Retrieved 2024-04-13.

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

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=2024-04-13 |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 2024-04-13.
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=13 April 2024 |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 13 April 2024.{{cite web}}: 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=13 April 2024 |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 13 April 2024. ... Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins ...'

Parameters

Syntax

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

This template embeds COinS metadata in the HTML output, allowing reference management software to retrieve bibliographic metadata.