Template:Cite web
More actions
| This template is used on many pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Template:AWB standard installation
| 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. 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.
|
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-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 = }}
Lua error: expandTemplate: template "Citation Style documentation/usage vertical mid" does not exist. last last last2 editor-last editor-last editor2-last url url url, archive-date archive-url Lua error: expandTemplate: template "Citation Style documentation/usage vertical mid" does not exist. required required Lua error: expandTemplate: template "Citation Style documentation/usage vertical end" does not exist. Choosing between Template:cite web and Template:cite newsBefore 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 Template:Diff, {{cite web}} and {{cite news}} have the following differences:
But given the same set of valid parameters, their output is exactly the same:
Examples
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
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
For links to files in other formats, no icon is displayed. For example, for an .odt file, you may add the parameter
Foreign language and translated title
Using author-link
Multiple authors
No author
No author, no publisher
Using "archive-url" and "archive-date" (and optionally "url-status") for webpages that have been archivedBy default, if "archive-url" is used, the parameter
|url-status=dead is assumed and the resulting main link is to the archived version:
When
|url-status=live is specified, the resulting main link is to the original page:
With
|url-status=unfit or usurped, the original is not linked at all:
Using quote
ParametersSyntaxNested parameters rely on their parent parameters:
By default, sets of fields are terminated with a period (.). COinSThis template embeds COinS metadata in the HTML output, allowing reference management software to retrieve bibliographic metadata. Error: no text specified (help). As a general rule, only one data item per parameter. Do not include explanatory or alternate text:
Use of templates within the citation template is discouraged because many of these templates will add extraneous HTML or CSS that will be included raw in the metadata. Also, HTML entities, for example COinS metadata is created for these parametersNote: This table of metadata is displayed in the documentation of all Citation Style 1 templates. Not all of these parameters are supported by every CS1 template. Some of these parameters are mutually exclusive, some are aliases of another parameter, and some require other parameters to be present. A full list of this template's supported parameters, their aliases, and their dependencies is shown in the Usage section near the top of this documentation page.
What's new
Deprecated{{#lst:Help:CS1 errors|deprecated_params_table}} {{#lst:Help:CS1 errors|deleted_params_table}} DescriptionAuthors
TitleLua error: expandTemplate: template "Citation Style documentation/web" does not exist.
Date
Website
Publisher
Series
In-source locations
URL
URLs must begin with a supported URI scheme. If URLs in citation template parameters contain certain characters, then they will not display and link correctly. Those characters need to be percent-encoded. For example, a space must be replaced by
Single apostrophes do not need to be encoded; however, unencoded multiples will be parsed as italic or bold markup. Single curly closing braces also do not need to be encoded; however, an unencoded pair will be parsed as the double closing braces for the template transclusion. Access-dateSee Template:Slink. Anchor
Identifiers
The following identifiers create links and are designed to accept a single value. Using multiple values or other text will break the link and/or invalidate the identifier. In general, the parameters should include only the variable part of the identifier, e.g.
In very rare cases, valid identifiers (f.e., as actually printed on publications) do not follow their defined standard format or use non-conforming checksums, which would typically cause an error message to be shown. Do not alter them to match a different checksum. In order to suppress the error message, some identifiers ( For some identifiers, it is possible to specify the access status using the corresponding For {{cite journal}}, some identifiers (specifying free resources) will automatically be linked to the title when It is not necessary to specify a URL to a link identical to a link also produced by an identifier. The Quote
Editors
Lay summaryThese parameters are deprecated. If the source that they name is important to the article, create a separate cs1|2 template for that source.
Display options
Subscription or registration requiredCitations of online sources that require registration or a subscription are acceptable in Wikipedia as documented in Verifiability § Access to sources. As a courtesy to readers and other editors, editors should signal restrictions on access to material provided via the external links included in a citation. These levels describe requirements or constraints related to accessing and viewing the cited material; they are not intended to indicate the ability to reuse, or the copyright status, of the material, since that status is not relevant to verifying claims in articles. Four access levels can be used:
As there are often multiple external links with different access levels in the same citation, each value is attributed to a specific external link. Access indicators for url-holding parametersOnline sources linked by
For example, this cites a web page that requires registration but not subscription:
which renders as:
Access indicator for named identifiersLinks inserted by named identifiers are presumed to lie behind a paywall or registration barrier – exceptions listed below. When they are free-to-read, editors should mark those sources with the matching access-indicator parameter so that an appropriate icon is included in the rendered citation. When the sources linked by these named-identifier parameters are not presumed to carry a free-to-read full text (for instance because they're just abstracting services), they may not be marked as
Some named-identifiers are always free-to-read. For those named identifiers there are no access-indicator parameters; the access level is automatically indicated by the template. These named identifiers are:
For embargoed pmc that will become available in the future, see pmc-embargo-date. TemplateData
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools.
TemplateData for Cite web 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.
NotesThis template produces COinS metadata; see COinS in Wikipedia for background information. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||