Template:Cite web
![]() | This template is used on many pages, and changes to it will be widely noticed. Please test any changes in the template's /sandbox or /testcases subpages, or in a user subpage, and consider discussing changes at the talk page before implementing them. |
Template:Cascade-protected template Template:AWB standard installation
![]() | Uses Lua: |
Template:Citation Style documentation/cs1 Template:Citation Style documentation/lead
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 the page.
{{cite web |last= |first= |date= |title= |url= |website= |location= |publisher= |access-date=}}
{{cite web |author=<!-- not stated --> |date= |title= |url= |website= |location= |publisher= |access-date=}}
{{cite web |last= |first= |date= |title= |url= |website= |location= |publisher= |url-status= |archive-url= |archive-date= |access-date=}}
{{cite web |last= |first= |date= |title= |url= |trans-title= |website= |language= |location= |publisher= |access-date=}}
{{cite web |last1= |first1= |last2= |first2= |date= |title= |url= |url-access= |trans-title= |format= |website= |language= |location= |publisher= |url-status= |archive-url= |archive-date= |access-date= |via= |quote=}} |
{{cite web |last1= |first1= |author-link1= |last2= |first2= |author-link2= |display-authors= |author-mask1= |author-mask2= |collaboration= |df= |date= |year= |orig-date= |orig-year= |location= |editor-last1= |editor-first1= |editor-link1= |editor-last2= |editor-first2= |editor-link2= |display-editors= |editor-mask1= |editor-mask2= |title= |script-title= |title-link= |url= |url-access= |trans-title= |format= |department= |website= |script-website= |trans-website= |type= |series= |language= |interviewer-last1= |interviewer-first1= |interviewer-link1= |interviewer-last2= |interviewer-first2= |interviewer-link2= |display-interviewers= |interviewer-mask1= |interviewer-mask2= |translator-last1= |translator-first1= |translator-link1= |translator-last2= |translator-first2= |translator-link2= |display-translators= |translator-mask1= |translator-mask2= |others= |name-list-style= |edition= |publication-place= |publisher= |publication-date= |agency= |minutes= |time-caption= |time= |page= |pages= |at= |no-pp= |arxiv= |asin= |asin-tld= |bibcode= |bibcode-access= |biorxiv= |citeseerx= |doi= |doi-access= |doi-broken-date= |eissn= |hdl= |hdl-access= |isbn= |ismn= |issn= |jfm= |jstor= |jstor-access= |lccn= |medrxiv= |mr= |oclc= |ol= |ol-access= |osti= |osti-access= |pmc= |pmc-embargo-date= |pmid= |rfc= |sbn= |ssrn= |s2cid= |s2cid-access= |zbl= |id= |url-status= |archive-url= |archive-format= |archive-date= |access-date= |via= |quote-page= |quote-pages= |quote= |script-quote= |trans-quote= |mode= |ref= |postscript=}} |
{{cite web
|last =
|first =
|date =
|title =
|url =
|website =
|location =
|publisher =
|access-date =
}}
{{cite web
|author = <!-- not stated -->
|date =
|title =
|url =
|website =
|location =
|publisher =
|access-date =
}}
{{cite web
|last =
|first =
|date =
|title =
|url =
|website =
|location =
|publisher =
|url-status =
|archive-url =
|archive-date =
|access-date =
}}
{{cite web
|last =
|first =
|date =
|title =
|url =
|trans-title =
|website =
|language =
|location =
|publisher =
|access-date =
}}
{{cite web
|last1 =
|first1 =
|last2 =
|first2 =
|date =
|title =
|url =
|url-access =
|trans-title =
|format =
|website =
|language =
|location =
|publisher =
|url-status =
|archive-url =
|archive-date =
|access-date =
|via =
|quote =
}} |
Parameters | Prerequisites | Brief instructions / notes | Vertical list |
---|---|---|---|
last1
|
Author's last name or single name author. Don't link. | {{cite web
|last1 =
|first1 =
|author-link1 =
|last2 =
|first2 =
|author-link2 =
|display-authors =
|author-mask1 =
|author-mask2 =
|collaboration =
|df =
|date =
|year =
|orig-date =
|orig-year =
|location =
|editor-last1 =
|editor-first1 =
|editor-link1 =
|editor-last2 =
|editor-first2 =
|editor-link2 =
|display-editors =
|editor-mask1 =
|editor-mask2 =
|title =
|script-title =
|title-link =
|url =
|url-access =
|trans-title =
|format =
|department =
|website =
|script-website =
|trans-website =
|type =
|series =
|language =
|interviewer-last1 =
|interviewer-first1 =
|interviewer-link1 =
|interviewer-last2 =
|interviewer-first2 =
|interviewer-link2 =
|display-interviewers =
|interviewer-mask1 =
|interviewer-mask2 =
|translator-last1 =
|translator-first1 =
|translator-link1 =
|translator-last2 =
|translator-first2 =
|translator-link2 =
|display-translators =
|translator-mask1 =
|translator-mask2 =
|others =
|name-list-style =
|edition =
|publication-place =
|publisher =
|publication-date =
|agency =
|minutes =
|time-caption =
|time =
|page =
|pages =
|at =
|no-pp =
|arxiv =
|asin =
|asin-tld =
|bibcode =
|bibcode-access =
|biorxiv =
|citeseerx =
|doi =
|doi-access =
|doi-broken-date =
|eissn =
|hdl =
|hdl-access =
|isbn =
|ismn =
|issn =
|jfm =
|jstor =
|jstor-access =
|lccn =
|medrxiv =
|mr =
|oclc =
|ol =
|ol-access =
|osti =
|osti-access =
|pmc =
|pmc-embargo-date =
|pmid =
|rfc =
|sbn =
|ssrn =
|s2cid =
|s2cid-access =
|zbl =
|id =
|url-status =
|archive-url =
|archive-format =
|archive-date =
|access-date =
|via =
|quote-page =
|quote-pages =
|quote =
|script-quote =
|trans-quote =
|mode =
|ref =
|postscript =
}} | |
first1
|
last1
|
Author's first name. Don't link. | |
author-link1
|
last1
|
Title of TechInfoDepot article about the first author. Don't link. | |
last2
|
last1
|
Like last1 , but for 2nd author. Don't link. Similar: last3 , etc.
| |
first2
|
last2
|
Like first1 , but for 2nd author. Don't link. Similar: first3 , etc.
| |
author-link2
|
last2
|
Like author-link1 , but for 2nd author. Don't link. Similar: author-link3 , etc.
| |
display-authors
|
last1
|
Number (number of authors displayed) or etal (more authors)
| |
author-mask1
|
last1
|
See Display options below; not for lists of cited works | |
author-mask2
|
last2
| ||
collaboration
|
last1
| ||
df |
|||
date |
|||
year |
|||
orig-date |
date or year |
||
orig-year |
date or year |
||
location |
publisher |
can be used for written-at location when publication-place is used for publication place
| |
editor-last1
|
Like last1 , but for editor. Don't link.
| ||
editor-first1
|
editor-last1
|
Like first1 , but for editor. Don't link.
| |
editor-link1
|
editor-last1
|
Like author-link1 , but for editor. Don't link.
| |
editor-last2
|
editor-last1
|
Like last1 , but for 2nd editor. Don't link. Similar: editor-last3 , etc.
| |
editor-first2
|
editor-last2
|
Like first1 , but for 2nd editor. Don't link. Similar: editor-first3 , etc.
| |
editor-link2
|
editor-last2
|
Like author-link1 , but for 2nd editor. Don't link. Similar: editor-link3 , etc.
| |
display-editors
|
editor-last1
|
Like display-authors , but for editors
| |
editor-mask1
|
editor-last1
|
See Display options below; not for lists of cited works | |
editor-mask2
|
editor-last2
| ||
title |
This parameter is required. | ||
script-title |
|||
title-link |
title or script-title |
Name of a TechInfoDepot article about the work. Do not use if url is provided
| |
url |
title or script-title |
This parameter is required. Do not use if title-link is provided
| |
url-access |
url |
||
trans-title |
title or script-title |
||
format |
url |
||
department |
|||
website |
|||
script-website |
|||
trans-website |
website or script-website |
||
type |
|||
series |
|||
language |
|||
interviewer-last1
|
Like last1 , but for interviewer. Don't link.
| ||
interviewer-first1
|
interviewer-last1
|
Like first1 , but for interviewer. Don't link.
| |
interviewer-link1
|
interviewer-last1
|
Like author-link1 , but for interviewer. Don't link.
| |
interviewer-last2
|
interviewer-last1
|
Like last1 , but for 2nd interviewer. Don't link. Similar: interviewer-last3 , etc.
| |
interviewer-first2
|
interviewer-last2
|
Like first1 , but for 2nd interviewer. Don't link. Similar: interviewer-first3 , etc.
| |
interviewer-link2
|
interviewer-last2
|
Like author-link1 , but for 2nd interviewer. Don't link. Similar: interviewer-link3 , etc.
| |
display-interviewers
|
interviewer-last1
|
Like display-authors , but for interviewers
| |
interviewer-mask1
|
interviewer-last1
|
See Display options below; not for lists of cited works | |
interviewer-mask2
|
interviewer-last2
| ||
translator-last1
|
Like last1 , but for translator. Don't link.
| ||
translator-first1
|
translator-last1
|
Like first1 , but for translator. Don't link.
| |
translator-link1
|
translator-last1
|
Like author-link1 , but for translator. Don't link.
| |
translator-last2
|
translator-last1
|
Like last1 , but for 2nd translator. Don't link. Similar: translator-last3 , etc.
| |
translator-first2
|
translator-last2
|
Like first1 , but for 2nd translator. Don't link. Similar: translator-first3 , etc.
| |
translator-link2
|
translator-last2
|
Like author-link1 , but for 2nd translator. Don't link. Similar: translator-link3 , etc.
| |
display-translators
|
translator-last1
|
Like display-authors , but for translators
| |
translator-mask1
|
translator-last1
|
See Display options below; not for lists of cited works | |
translator-mask2
|
translator-last2
| ||
others |
|||
name-list-style
|
last2
|
Set to amp or ampersand to separate the last author with " & "; set to and to separate with " and "
| |
edition |
|||
publication-place |
publisher |
||
publisher |
|||
publication-date |
|||
agency |
|||
minutes |
|||
time-caption |
time |
||
time |
|||
page |
choose one: page , pages , or at
| ||
pages |
choose one: page , pages , or at . Use when content on multiple pages supports the article text.
| ||
at |
choose one: page , pages , or at
| ||
no-pp |
page or pages |
set to "yes" to suppress the "p." or "pp." before page numbers | |
arxiv |
|||
asin |
|||
asin-tld |
asin |
||
bibcode |
|||
biorxiv |
|||
biorxiv-access |
biorxiv |
||
citeseerx |
|||
doi |
|||
doi-access |
doi |
||
doi-broken-date |
doi |
||
eissn |
|||
hdl |
|||
hdl-access |
hdl |
||
isbn |
|||
ismn |
|||
issn |
|||
jfm |
|||
jstor |
|||
jstor-access |
jstor |
||
lccn |
|||
medrxiv |
|||
mr |
|||
oclc |
|||
ol |
|||
ol-access |
ol |
||
osti |
|||
osti-access |
osti |
||
pmc |
|||
pmc-embargo-date |
pmc |
||
pmid |
|||
rfc |
|||
sbn |
|||
ssrn |
|||
s2cid |
|||
s2cid-access |
s2cid |
||
zbl |
|||
id |
|||
url-status |
archive-url |
||
archive-url |
archive-date , url |
||
archive-format |
archive-url |
||
archive-date |
archive-url |
||
access-date |
url |
||
via |
|||
quote-page |
choose one: quote-page , quote-pages
| ||
quote-pages |
choose one: quote-page , quote-pages . Use when quote contains contents from multiple pages.
| ||
quote |
|||
script-quote |
|||
trans-quote |
|||
mode |
cs1 or cs2
| ||
ref |
|||
postscript |
|||
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
Previously, editors had to decide whether to use {{cite web}} or {{cite news}} based on these templates' features. In 2014, however, 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 § Notes, Help talk:Citation Style 1/Archive 10 § |volume=, |issue=, |page(s)= and cite magazine and {{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). https://blog.chron.com/techblog/2011/07/microsoft-envisions-a-universal-os-but-it-might-not-be-called-windows/. |
Examples
{{cite web |url=https://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=February 7, 2025}}
- Doe, John (April 30, 2005). "My Favorite Things, Part II". Encyclopedia of Things. Open Publishing. Retrieved February 7, 2025.
{{cite web |url=https://www.example.org/ |title=My Favorite Things, Part II |last=Doe |first=John |date=30 April 2005 |website=Encyclopedia of Things |access-date=7 February 2025}}
- Doe, John (30 April 2005). "My Favorite Things, Part II". Encyclopedia of Things. Retrieved 7 February 2025.
{{cite web |url=https://www.example.org/ |title=My Favorite Things, Part II |last=Doe |first=John |date=2005-04-30 |access-date=2025-02-07}}
- Doe, John (2005-04-30). "My Favorite Things, Part II". Retrieved 2025-02-07.
{{cite web |url=https://www.example.org/ |title=My Favorite Things, Part II |last=Doe |first=John |access-date=7 February 2025}}
- Doe, John. "My Favorite Things, Part II". Retrieved 7 February 2025.
{{cite web |url=https://www.example.org/ |title=My Favorite Things, Part II |access-date=2025-02-07}}
- "My Favorite Things, Part II". Retrieved 2025-02-07.
{{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=February 7, 2025}}
- "NFL Rules Digest". NFL Football Operations. National Football League. Retrieved February 7, 2025.
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=https://www.indiapost.gov.in/MBE/DOP_PDFFiles/List_of_Psychotropic_Substances.pdf |title=List of psychotropic substances under international control |publisher=International Narcotics Control Board |access-date=7 February 2025}}
- "List of psychotropic substances under international control" (PDF). International Narcotics Control Board. Retrieved 7 February 2025.
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 (but no PDF icon).
{{cite web |url=https://www.sample.com/somePDFdocument.000 |title=Some PDF Document |publisher=Sample Int'l |format=PDF |access-date=7 February 2025}}
- "Some PDF Document" (PDF). Sample Int'l. Retrieved 7 February 2025.
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=https://www.sample.com/someODTdocument.odt |title=Some ODT Document |publisher=Sample Int'l |format=ODT |access-date=7 February 2025}}
- "Some ODT Document" (ODT). Sample Int'l. Retrieved 7 February 2025.
Foreign language and translated title
{{cite web |url=https://www.example.org/ |title=Honi soit qui mal y pense |last=Joliet |first=François |date=30 April 2005 |access-date=7 February 2025 |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 7 February 2025.
Using author-link
{{cite web |url=https://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=February 7, 2025}}
- Doe, John (April 30, 2005). "My Favorite Things, Part II". Encyclopedia of Things. Open Publishing. Retrieved February 7, 2025.
Multiple authors
{{cite web |url=https://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=7 February 2025}}
- Doe, John; Smith, Peter; Smythe, Jim (30 April 2005). "Our Favourite Things". Encyclopaedia of Things. Open Publishing. Retrieved 7 February 2025.
No author
{{cite web |url=https://www.example.org/ |title=Index of Sharp Things |publisher=Open Publishing |date=2005-04-30 |website=Encyclopedia of Things |access-date=2025-02-07}}
- "Index of Sharp Things". Encyclopedia of Things. Open Publishing. 2005-04-30. Retrieved 2025-02-07.
No author, no publisher
{{cite web |url=https://www.example.org/ |title=Index of Sharp Things |date=30 April 2005 |website=Encyclopedia of Things |access-date=7 February 2025}}
- "Index of Sharp Things". Encyclopedia of Things. 30 April 2005. Retrieved 7 February 2025.
{{cite web |url=https://www.example.org/ |title=Index of Sharp Things |date=April 30, 2005 |access-date=February 7, 2025}}
- "Index of Sharp Things". April 30, 2005. Retrieved February 7, 2025.
{{cite web |url=https://www.incb.org/documents/Psychotropics/forms/greenlist/2024/2311984R.pdf |title=List of psychotropic substances under international control |date=December 2023 |access-date=2025-02-07 |language=ru}}
- "List of psychotropic substances under international control" (PDF) (in русский). December 2023. Retrieved 2025-02-07.
Using "archive-url" and "archive-date" (and optionally "url-status") for webpages that have been archived
|url-status=dead
is assumed and the resulting main link is to the archived version:
{{cite web |url=https://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |date=2005-04-30 |publisher=International Narcotics Control Board |access-date=2025-02-07 |archive-url=https://web.archive.org/web/20050907150136/https://www.incb.org/pdf/e/list/green.pdf |archive-date=2005-09-07}}
- "List of psychotropic substances under international control" (PDF). International Narcotics Control Board. 2005-04-30. Archived from the original (PDF) on 2005-09-07. Retrieved 2025-02-07.
|url-status=live
is specified, the resulting main link is to the original page:
{{cite web |url=https://www.hollywoodreporter.com/heat-vision/dc-entertainment-give-classic-batman-824572 |title=DC Entertainment To Give Classic Batman Writer Credit in 'Gotham' and 'Batman v Superman' (Exclusive) |website=The Hollywood Reporter |date=September 18, 2015 |access-date=September 21, 2015 |url-status=live |archive-url=https://web.archive.org/web/20151022181821/https://www.hollywoodreporter.com/heat-vision/dc-entertainment-give-classic-batman-824572 |archive-date=October 22, 2015}}
- "DC Entertainment To Give Classic Batman Writer Credit in 'Gotham' and 'Batman v Superman' (Exclusive)". The Hollywood Reporter. September 18, 2015. Archived from the original on October 22, 2015. Retrieved September 21, 2015.
|url-status=unfit
or usurped
, the original is not linked at all:
{{cite web |url=https://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=7 February 2025 |url-status=unfit |archive-url=https://web.archive.org/web/20110522171657/https://www.wunderground.com/global/stations/03772.html |archive-date=22 May 2011}}
- "London, United Kingdom Forecast: Weather Underground (weather and elevation at Heathrow Airport)". The Weather Underground. Archived from the original on 22 May 2011. Retrieved 7 February 2025.
{{cite web}}
: CS1 maint: unfit URL (link)
- "London, United Kingdom Forecast: Weather Underground (weather and elevation at Heathrow Airport)". The Weather Underground. Archived from the original on 22 May 2011. Retrieved 7 February 2025.
Using quote
{{cite web |url=https://www.webexhibits.org/daylightsaving/c.html |title=Daylight saving time: rationale and original idea |website=WebExhibits |date=2008 |access-date=7 February 2025 |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 7 February 2025.
... 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 7 February 2025.
Parameters
Syntax
Template:Citation Style documentation/syntax Template:Citation Style documentation/sep period
COinS
Template:Citation Style documentation/coins
What's new
Template:Citation Style documentation/whats new
Deprecated
Template:Citation Style documentation/deprecated
Description
Authors
Template:Citation Style documentation/author
Date
Template:Citation Style documentation/date
Editors
Template:Citation Style documentation/editor
Title
Template:Citation Style documentation/web Template:Citation Style documentation/type Template:Citation Style documentation/language
URL
Template:Citation Style documentation/url
Website
Template:Citation Style documentation/journal
Edition, series
Template:Citation Style documentation/edition Template:Citation Style documentation/series
Publisher
Template:Citation Style documentation/publisher Template:Citation Style documentation/agency
In-source locations
Template:Citation Style documentation/time Template:Citation Style documentation/pages
Identifiers
Template:Citation Style documentation/id1 Template:Citation Style documentation/id2
Subscription or registration required
Template:Citation Style documentation/registration
Quote
Template:Citation Style documentation/quote
Anchor
Template:Citation Style documentation/ref
Display options
Template:Citation Style documentation/display
See also
Template:Citation Style 1 Template:TechInfoDepot referencing Template:UF-COinS
The above documentation is transcluded from Template:Cite web/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |