Template:Cite web
This template is used on approximately 4,300,000 pages, or roughly 215755% of all pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
![]() | This template is used by the standard installation of AutoWikiBrowser (AWB). If you are planning to make changes to this template, how it should be used, or nominate it for deletion, please notify AWB's user base and maintainers beforehand at Wikipedia talk:AWB as a courtesy. |
This template uses Lua: |
{{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 also | Specific-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.
UsageEdit
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 the page.
For references with author credit
For references without author credit
|
{{cite web |url= |title= |last= |first= |date= |website= |publisher= |access-date= |quote=}} |
|
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 newsEdit
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. |
ExamplesEdit
{{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 2, 2023}}
- Doe, John (April 30, 2005). "My Favorite Things, Part II". Encyclopedia of Things. Open Publishing. Retrieved October 2, 2023.
{{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=2 October 2023}}
- Doe, John (30 April 2005). "My Favorite Things, Part II". Encyclopedia of Things. Retrieved 2 October 2023.
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |last=Doe |first=John |date=2005-04-30 |access-date=2023-10-02}}
- Doe, John (2005-04-30). "My Favorite Things, Part II". Retrieved 2023-10-02.
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |last=Doe |first=John |access-date=2 October 2023}}
- Doe, John. "My Favorite Things, Part II". Retrieved 2 October 2023.
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |access-date=2023-10-02}}
- "My Favorite Things, Part II". Retrieved 2023-10-02.
{{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 2, 2023}}
- "NFL Rules Digest". NFL Football Operations. National Football League. Retrieved October 2, 2023.
Using "format="Edit
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=2 October 2023}}
- "List of psychotropic substances under international control" (PDF). International Narcotics Control Board. Retrieved 2 October 2023.
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=2 October 2023}}
- "Some PDF Document" (PDF). Sample Int'l. Retrieved 2 October 2023.
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=2 October 2023}}
- "Some ODT Document" (ODT). Sample Int'l. Retrieved 2 October 2023.
Foreign language and translated titleEdit
{{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=2 October 2023 |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 2 October 2023.
Using author-linkEdit
{{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 2, 2023}}
- Doe, John (April 30, 2005). "My Favorite Things, Part II". Encyclopedia of Things. Open Publishing. Retrieved October 2, 2023.
Multiple authorsEdit
{{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=2 October 2023}}
- Doe, John; Smith, Peter; Smythe, Jim (30 April 2005). "Our Favourite Things". Encyclopaedia of Things. Open Publishing. Retrieved 2 October 2023.
No authorEdit
{{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=2023-10-02}}
- "Index of Sharp Things". Encyclopedia of Things. Open Publishing. 2005-04-30. Retrieved 2023-10-02.
No author, no publisherEdit
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |date=30 April 2005 |website=Encyclopedia of Things |access-date=2 October 2023}}
- "Index of Sharp Things". Encyclopedia of Things. 30 April 2005. Retrieved 2 October 2023.
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |date=April 30, 2005 |access-date=October 2, 2023}}
- "Index of Sharp Things". April 30, 2005. Retrieved October 2, 2023.
{{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=2023-10-02 |language=Greek}}
- "List of psychotropic substances under international control" (PDF) (in Greek). 2005-04-30. Retrieved 2023-10-02.
Using "archive-url" and "archive-date" (and optionally "url-status") for webpages that have been archived Edit
|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=2023-10-02 |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 2023-10-02.
|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.
|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=2 October 2023 |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 2 October 2023.
{{cite web}}
: CS1 maint: unfit URL (link)
Using quoteEdit
{{cite web |url=http://www.webexhibits.org/daylightsaving/c.html |title=Daylight saving time: rationale and original idea |website=WebExhibits |date=2008 |access-date=2 October 2023 |quote=... Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins ...'}}
- "Daylight saving time: rationale and original idea". WebExhibits. 2008. Retrieved 2 October 2023.
... Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins ...'
ParametersEdit
SyntaxEdit
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 (.).