Template:Cite web/doc
This is a documentation subpage for Template:Cite web. It contains usage information, categories and other content that is not part of the original Template page. |
This template is used on many pages. To avoid large-scale disruption and unnecessary server load, any changes to this template should first be tested in its /sandbox or /testcases subpages or in your own user subpage. The tested changes can then be added to this page in one single edit. Please consider discussing any changes on the talk page before implementing them. |
Template:AWB standard installation Template:Csdoc Template:Csdoc Template:Csdoc
Usage
Template:Csdoc Template:Csdoc 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=}}
| url =
| title =
| last =
| first =
| date =
| website =
| publisher =
| access-date =
| quote =
}}
{{cite web |url= |url-access= |title= |last= |first= |author= |author-link= |last2= |first2= |author2= |author-link2= |date= |year= |orig-date= |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= |trans-quote= |ref= |postscript=}}
{{cite web | url = | url-access = | title = | last = | first = | author-link = | last2 = | first2 = | author-link2 = | date = | year = | orig-date = | 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 date or year editor-last editor-last editor2-last url url, archive-url url, archive-date archive-url
required required
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 § Notes; 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: | Template:Cite news |
Examples
Template:Markup2 Template:Markup2 Template:Markup2 Template:Markup2 Template:Markup2 Template:Markup2
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))
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).
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.
Foreign language and translated title
Using author-link
Multiple authors
No author
No author, no publisher
Template:Markup2 Template:Markup2 Template:Markup2
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:
|url-status=live
is specified, the resulting main link is to the original page:
Using quote
Parameters
Syntax
COinS
What's new
Deprecated
Description
Authors
Title
Template:Csdoc Template:Csdoc Template:Csdoc
Date
Website
Publisher
Series
In-source locations
URL
Access-date
See § url.
Anchor
Identifiers
Quote
Editors
Display options
Subscription or registration required
TemplateData
This is the TemplateData documentation for this template used by VisualEditor and other tools.
Cite web
Script error: No such module "cs1 documentation support".
Formats a citation to a website using the provided information such as URL and title. Used only for sources that are not correctly described by the specific citation templates for books, journals, news sources, etc.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Last name | last last1 author author1 author1-last author-last surname1 author-last1 subject1 surname author-last subject | The surname of the author; don't wikilink, use 'author-link'; can suffix with a numeral to add additional authors | Line | suggested |
First name | first given author-first first1 given1 author-first1 author1-first | Given or first name, middle names, or initials of the author; don't wikilink, use 'author-link'; can suffix with a numeral to add additional authors | Line | suggested |
Author link | author-link author-link1 author1-link subject-link subject-link1 subject1-link authorlink | Title of existing Wikipedia article about the author; can suffix with a numeral to add additional authors | Page name | optional |
Last name 2 | last2 author2 | The surname of the second author; don't wikilink, use 'author-link2'. | Line | optional |
First name 2 | first2 | Given or first name, middle names, or initials of the second author; don't wikilink. | Line | optional |
Author link 2 | author-link2 author2-link | Title of existing Wikipedia article about the second author. | Page name | optional |
Last name 3 | last3 author3 | The surname of the third author; don't wikilink, use 'author-link3'. | Line | optional |
First name 3 | first3 | Given or first name, middle names, or initials of the third author; don't wikilink. | Line | optional |
Author link 3 | author-link3 author3-link | Title of existing Wikipedia article about the third author. | Page name | optional |
Last name 4 | last4 author4 | The surname of the fourth author; don't wikilink, use 'author-link4'. | Line | optional |
First name 4 | first4 | Given or first name, middle names, or initials of the fourth author; don't wikilink. | Line | optional |
Author link 4 | author-link4 author4-link | Title of existing Wikipedia article about the fourth author. | Page name | optional |
Last name 5 | last5 author5 | The surname of the fifth author; don't wikilink, use 'author-link5'. | Line | optional |
First name 5 | first5 | Given or first name, middle names, or initials of the fifth author; don't wikilink. | Line | optional |
Author link 5 | author-link5 author5-link | Title of existing Wikipedia article about the fifth author. | Page name | optional |
Last name 6 | last6 author6 | The surname of the sixth author; don't wikilink, use 'author-link6'. | Line | optional |
First name 6 | first6 | Given or first name, middle names, or initials of the sixth author; don't wikilink. | Line | optional |
Author link 6 | author-link6 author6-link | Title of existing Wikipedia article about the sixth author. | Page name | optional |
Last name 7 | last7 author7 | The surname of the seventh author; don't wikilink, use 'author-link7'. | Line | optional |
First name 7 | first7 | Given or first name, middle names, or initials of the seventh author; don't wikilink. | Line | optional |
Author link 7 | author-link7 author7-link | Title of existing Wikipedia article about the seventh author. | Page name | optional |
Last name 8 | last8 author8 | The surname of the eighth author; don't wikilink, use 'author-link8'. | Line | optional |
First name 8 | first8 | Given or first name, middle names, or initials of the eighth author; don't wikilink. | Line | optional |
Author link 8 | author-link8 author8-link | Title of existing Wikipedia article about the eighth author. | Page name | optional |
Last name 9 | last9 author9 | The surname of the ninth author; don't wikilink, use 'author-link9'. | Line | optional |
First name 9 | first9 | Given or first name, middle names, or initials of the ninth author; don't wikilink. | Line | optional |
Author link 9 | author-link9 author9-link | Title of existing Wikipedia article about the ninth author. | Page name | optional |
Last name 10 | last10 author10 | The surname of the tenth author; don't wikilink, use 'author-link10'. | Line | optional |
First name 10 | first10 | Given or first name, middle names, or initials of the tenth author; don't wikilink. | Line | optional |
Author link 10 | author-link10 author10-link | Title of existing Wikipedia article about the tenth author. | Page name | optional |
Last name 11 | last11 author11 | The surname of the eleventh author; don't wikilink, use 'author-link11'. | Line | optional |
First name 11 | first11 | Given or first name, middle names, or initials of the eleventh author; don't wikilink. | Line | optional |
Author link 11 | author-link11 author11-link | Title of existing Wikipedia article about the eleventh author. | Page name | optional |
Last name 12 | last12 author12 | The surname of the twelfth author; don't wikilink, use 'author-link12'. | Line | optional |
First name 12 | first12 | Given or first name, middle names, or initials of the twelfth author; don't wikilink. | Line | optional |
Author link 12 | author-link12 author12-link | Title of existing Wikipedia article about the twelfth author. | Page name | optional |
Last name 13 | last13 author13 | The surname of the thirteenth author; don't wikilink, use 'author-link13'. | Line | optional |
First name 13 | first13 | Given or first name, middle names, or initials of the thirteenth author; don't wikilink. | Line | optional |
Author link 13 | author-link13 author13-link | Title of existing Wikipedia article about the thirteenth author. | Page name | optional |
Last name 14 | last14 author14 | The surname of the fourteenth author; don't wikilink, use 'author-link14'. | Line | optional |
First name 14 | first14 | Given or first name, middle names, or initials of the fourteenth author; don't wikilink. | Line | optional |
Author link 14 | author-link14 author14-link | Title of existing Wikipedia article about the fourteenth author. | Page name | optional |
Last name 15 | last15 author15 | The surname of the fifteenth author; don't wikilink, use 'author-link15'. | Line | optional |
First name 15 | first15 | Given or first name, middle names, or initials of the fifteenth author; don't wikilink. | Line | optional |
Author link 15 | author-link15 author15-link | Title of existing Wikipedia article about the fifteenth author. | Page name | optional |
Authors list | authors | List of authors as a free form list. This parameter is deprecated, use "lastn" or "firstn" (preferred) or "authorn" or "vauthors". Warning: do not use if last or any of its aliases are used. | String | deprecated |
Author mask | author-mask | Replaces the name of the first author with em dashes or text; set to a numeric value 'n' to set the dash 'n' em spaces wide; set to a text value to display the text without a trailing author separator; for example, 'with' instead | String | optional |
Display authors | display-authors | Number of authors to display before 'et al.' is used. By default, all authors are displayed. Examples: |display-authors=2 will display only the first two authors in a citation followed by et al. |display-authors=etal displays all authors in the list followed by et al. | String | optional |
Name list style | name-list-style | Set to 'amp' or 'and' to change the separator between the last two names of the name list to ' & ' or ' and ', respectively. Set to 'vanc' to display name lists in Vancouver style.
| String | optional |
Source date | date | Full date when the source was published; if unknown, use access-date instead; do not wikilink | Date | suggested |
Year of publication | year | Year of the source being referenced; deprecated in favor of 'date', except for the special case of ISO dates with disambiguating letter | String | optional |
Original date | orig-date | Original date of publication; provide specifics | String | optional |
Editor last name | editor-last editor1-last editor | The surname of the editor; don't wikilink, use 'editor-link'; can suffix with a numeral to add additional editors. | Line | optional |
Editor first name | editor-first editor1-first | Given or first name, middle names, or initials of the editor; don't wikilink, use 'editor-link'; can suffix with a numeral to add additional editors; alias of 'editor1-first' | Line | optional |
Editor link | editor-link editor1-link | Title of existing Wikipedia article about the editor; can suffix with a numeral to add additional editors | Page name | optional |
Editor last name 2 | editor2-last editor2 | The surname of the second editor; don't wikilink, use 'editor2-link'. | Line | optional |
Editor first name 2 | editor2-first | Given or first name, middle names, or initials of the second editor; don't wikilink. | Line | optional |
Editor link 2 | editor2-link | Title of existing Wikipedia article about the second editor. | Page name | optional |
Editor last name 3 | editor3-last editor3 | The surname of the third editor; don't wikilink, use 'editor3-link'. | Line | optional |
Editor first name 3 | editor3-first | Given or first name, middle names, or initials of the third editor; don't wikilink. | Line | optional |
Editor link 3 | editor3-link | Title of existing Wikipedia article about the third editor. | Page name | optional |
Editor last name 4 | editor4-last editor4 | The surname of the fourth editor; don't wikilink, use 'editor4-link'. | Line | optional |
Editor first name 4 | editor4-first | Given or first name, middle names, or initials of the fourth editor; don't wikilink. | Line | optional |
Editor link 4 | editor4-link | Title of existing Wikipedia article about the fourth editor. | Page name | optional |
Editor last name 5 | editor5-last editor5 | The surname of the fifth editor; don't wikilink, use 'editor5-link'. | Line | optional |
Editor first name 5 | editor5-first | Given or first name, middle names, or initials of the fifth editor; don't wikilink. | Line | optional |
Editor link 5 | editor5-link | Title of existing Wikipedia article about the fifth editor. | Page name | optional |
Editor last name 6 | editor6-last editor6 | The surname of the sixth editor; don't wikilink, use 'editor6-link'. | Line | optional |
Editor first name 6 | editor6-first | Given or first name, middle names, or initials of the sixth editor; don't wikilink. | Line | optional |
Editor link 6 | editor6-link | Title of existing Wikipedia article about the sixth editor. | Page name | optional |
Editor last name 7 | editor7-last editor7 | The surname of the seventh editor; don't wikilink, use 'editor7-link'. | Line | optional |
Editor first name 7 | editor7-first | Given or first name, middle names, or initials of the seventh editor; don't wikilink. | Line | optional |
Editor link 7 | editor7-link | Title of existing Wikipedia article about the seventh editor. | Page name | optional |
Editor last name 8 | editor8-last editor8 | The surname of the eighth editor; don't wikilink, use 'editor8-link'. | Line | optional |
Editor first name 8 | editor8-first | Given or first name, middle names, or initials of the eighth editor; don't wikilink. | Line | optional |
Editor link 8 | editor8-link | Title of existing Wikipedia article about the eighth editor. | Page name | optional |
Editor last name 9 | editor9-last editor9 | The surname of the ninth editor; don't wikilink, use 'editor9-link'. | Line | optional |
Editor first name 9 | editor9-first | Given or first name, middle names, or initials of the ninth editor; don't wikilink. | Line | optional |
Editor link 9 | editor9-link | Title of existing Wikipedia article about the ninth editor. | Page name | optional |
Others | others | Used to record other (non-author) contributions to the work, such as 'Illustrated by John Smith' or 'Translated by John Smith'. Only one ''others'' parameter is allowed: e.g., 'Illustrated by Jane Doe; Translated by John Smith' | String | optional |
Title | title | The title of the source page on the website; will display with quotation marks added. Usually found at the top of your web browser. Not the name of the website. | String | required |
Script title | script-title | For titles in languages that do not use a Latin-based alphabet (Arabic, Chinese, Cyrillic, Greek, Hebrew, Japanese, Korean, etc.). Prefix with two-character ISO639-1 language code followed by a colon. For Japanese use: |script-title=ja:... | String | optional |
Translated title | trans-title | An English language title, if the source cited is in a foreign language; 'language' is recommended | String | optional |
URL | url URL | The URL of the online location where the text of the publication can be found. Requires schemes of the type "https://..." or maybe even the protocol relative scheme "//..."
| URL | required |
URL access level | url-access | Classification of the access restrictions on the URL ('registration', 'subscription' or 'limited')
| String | optional |
URL status | url-status | If set to 'live', the title display is adjusted; useful for when the URL is archived preemptively but still live. Set to "dead" or 'usurped' for broken links. Entering 'unfit' or 'usurped' makes the original link not appear at all.
| String | suggested |
Archive URL | archive-url archiveurl | The URL of an archived copy of a web page, if or in case the URL becomes unavailable; requires 'archive-date'
| URL | suggested |
Archive date | archive-date archivedate | Date when the original URL was archived; do not wikilink | Date | suggested |
Archive format | archive-format | Format of the archived copy; examples: PDF, DOC, XLS; do not specify HTML | String | optional |
URL access date | access-date accessdate | The full date when the original URL was accessed; do not wikilink | Date | suggested |
Name of the website | website work | Title (name) of the website (or its short URL if no plain-language title is discernible); may be wikilinked; will display in italics. Having both 'publisher' and 'website' is redundant in many cases.
| String | suggested |
Series identifier | series | Series identifier when the source is part of a series, such as a book series or a journal | String | optional |
Publisher | publisher | Name of the publisher; may be wikilinked. Having both 'publisher' and 'website' (a.k.a. 'work') is redundant in many cases.
| String | optional |
Place | place | For news stories with a dateline, the location where the story was written; will be treated as the publication place if publication place is absent; alias of 'location' | String | optional |
Page | page | Page in the source that supports the content; displays after 'p.' | String | optional |
Pages | pages | Pages in the source that support the content (not an indication of the number of pages in the source); displays after 'pp.' | String | optional |
At | at | May be used instead of 'page' or 'pages' where a page number is inappropriate or insufficient | String | optional |
Language | language lang | The language in which the source is written, if not English; use a two-letter language code or the full language name. Do not use icons or templates. Separate multiple languages with commas
| String | optional |
Type | type | Additional information about the media type of the source; format in sentence case | String | optional |
Format | format | Format of the work referred to by 'url'; examples: PDF, DOC, XLS; do not specify HTML | String | optional |
Place of publication | publication-place | Publication place shows after title; if 'place' or 'location' are also given, they are displayed before the title prefixed with 'written at' | String | optional |
Publication date | publication-date | Date of publication when different from the date the work was written; do not wikilink | Date | optional |
Published via | via | Name of the entity hosting the original copy of the work, if different from the publisher. This entity is committed not to alter the work.
| String | optional |
No pp | no-pp | Set to 'y' to suppress the 'p.' or 'pp.' display with 'page' or 'pages' when inappropriate (such as 'Front cover')
| Boolean | optional |
arXiv identifier | arxiv | An identifier for arXive electronic preprints of scientific papers | String | optional |
ASIN | asin | Amazon Standard Identification Number; 10 characters | String | optional |
ASIN TLD | asin-tld | ASIN top-level domain for Amazon sites other than the US | String | optional |
Bibcode | bibcode | Bibliographic Reference Code (REFCODE); 19 characters | String | optional |
biorXiv | biorxiv | biorXiv identifier; 6 digits | Line | optional |
CiteSeerX | citeseerx | CiteSeerX identifier; found after the 'doi=' query parameter | Line | optional |
DOI | doi | Digital Object Identifier; begins with '10.' | String | optional |
DOI broken date | doi-broken-date | The date that the DOI was determined to be broken
| Date | optional |
ISBN | isbn | International Standard Book Number; use the 13-digit ISBN where possible | String | optional |
ISSN | issn | International Standard Serial Number; 8 characters; may be split into two groups of four using a hyphen | String | optional |
jfm code | jfm | Jahrbuch über die Fortschritte der Mathematik classification code | String | optional |
JSTOR | jstor | JSTOR identifier | String | optional |
LCCN | lccn | Library of Congress Control Number | String | optional |
MR | mr | Mathematical Reviews identifier | String | optional |
OCLC | oclc | Online Computer Library Center number | String | optional |
OL | ol | Open Library identifier | String | optional |
OSTI | osti | Office of Scientific and Technical Information identifier | String | optional |
PMC | pmc | PubMed Center article number | String | optional |
PMID | pmid | PubMed Unique Identifier | String | optional |
RFC | rfc | Request for Comments number | String | optional |
SSRN | ssrn | Social Science Research Network | String | optional |
Zbl | zbl | Zentralblatt MATH journal identifier | String | optional |
id | id | A unique identifier used where none of the specialized ones are applicable | String | optional |
Docket | docket | Docket number | Line | optional |
Quote | quote | Relevant text quoted from the source; displays last, enclosed in quotes; must include terminating punctuation | String | optional |
Translated quote | trans-quote | English translation of the quotation if the source quoted is in a foreign language. Displays in square brackets. | String | optional |
Ref | ref | An anchor identifier; can be made the target of wikilinks to full references | String | optional |
Postscript | postscript | The closing punctuation for the citation; ignored if 'quote' is defined
| String | optional |
Edition | edition | Specify the edition or revision of the source, when applicable. For example: '2nd' or '5.1'. What you supply here is suffixed by ' ed.'
| Line | optional |
Bibcode access level | bibcode-access | If the full text is available from ADS via this Bibcode, type 'free'.
| String | optional |
DOI access level | doi-access | If the full text is free to read via the DOI, type 'free'.
| String | optional |
HDL access level | hdl-access | If the full text is free to read via the HDL, type 'free'.
| String | optional |
Jstor access level | jstor-access | If the full text is free to read on Jstor, type 'free'.
| String | optional |
OpenLibrary access level | ol-access | If the full text is free to read on OpenLibrary, type 'free'.
| String | optional |
OSTI access level | osti-access | If the full text is free to read on OSTI, type 'free'.
| String | optional |
Agency | agency | The news agency (wire service) that provided the content; examples: Associated Press, Reuters, Agence France-Presse | String | optional |