Open main menu

Usage

This template may be used for creating citations in "References" sections and on discussion pages. Do not use the template for online versions of books or journal articles (including magazines and newspapers) – use {{cite-book}} or {{cite-journal}} instead.

For indicating quotations in dictionary entries, use {{quote-web}}.

Sample templates

Most commonly used parameters
{{cite-web|author=|authorlink=|title=|url=|archiveurl=|archivedate=|work=|publisher=|date=|accessdate=|passage=}}
All available parameters
{{cite-web|author=|last=|first=|authorlink=|author2=|last2=|first2=|authorlink2=|author3=|last3=|first3=|authorlink3=|author4=|last4=|first4=|authorlink4=|author5=|last5=|first5=|authorlink5=|coauthors=|quotee=|editor=|editors=|title=|trans-title=|entry=|trans-entry=|work=|trans-work=|url=|archiveurl=|archivedate=|edition=|format=|lang=|location=|publisher=|date=|month=|year=|year_published=|accessdate=|volume=|page=|pages=|pageurl=|section=|sectionurl=|column=|columns=|columnurl=|passage=|passage_block=}}

Certain basic parameters can be used in the template without any named parameters, as follows:

#* {{cite-web|[date]|[author]|[title]|[work]|[url]|[passage]}}

These numbered parameters will not work if any of the parameters contains an equals ("=") sign. To work around this, replace the equals sign with the {{=}} template (which generates an equals sign in the output): http://foo.com?id{{=}}bar in place of http://foo.com?id=bar.

The following example:

{{cite-web|author=Jim Fay|title=The Choctaw Expression ‘Okeh’ and the Americanism ‘Okay’|url=http://www.illinoisprairie.info/chocokeh.htm|archiveurl=https://web.archive.org/web/20101224185657/http://www.illinoisprairie.info/chocokeh.htm|archivedate=24 December 2010|work=Illinoisprairie.info|date=16 September 2009}}.

produces this:

Jim Fay (16 September 2009), “The Choctaw Expression ‘Okeh’ and the Americanism ‘Okay’”, in Illinoisprairie.info[1], archived from the original on 24 December 2010.

Parameters

All parameters are optional except for those marked "Mandatory", and may contain inline interwiki or external links as needed.

Parameter Description
author
or
last and first
The author's name. Use either author, or last and first, not both. Additional authors can be added using the parameters author2 to author5, or last2 and first2 to last5 and first5.
authorlink The name of an English Wikipedia article about the author, which will be linked to the author's name. Additional articles can be linked to other authors' names using the parameters authorlink2 to authorlink5. Do not add the prefix ":en:" or "w:".

Alternatively, link each person's name directly, like this: "author=[[w:Kathleen Taylor (biologist)|Kathleen Taylor]]" or "author={{w|Samuel Johnson}}".

coauthors The names of one or more coauthors. If there is more than one, separate the names with semicolons.
quotee The name of the person being quoted, if the whole passage quoted is a quotation of someone other than the author.
editor or editors The name of one or more editors of the website.
title
or
entry
The title of the webpage.

Use |entry= if you wish the title to be linked directly to the URL or web address of the webpage. (If you use |title=, the URL appears as a superscript number after the name of the website containing the webpage which is specified using |work=.)

trans-title
or
trans-entry
If the title of the webpage is not in English, use one of these parameters to provide an English translation of the title.
url The URL or web address of the webpage. Do not link to any webpage that has content in breach of copyright.
archiveurl and archivedate
or
accessdate
Use archiveurl and archivedate (which must be used together) to indicate the URL or web address of a webpage on a website such as the Internet Archive or Perma.cc at which the webpage has been archived, and the date on which the webpage was archived.

Alternatively, if the webpage cannot be archived, use accessdate to indicate when its URL was accessed. (If the webpage has been archived, it is unnecessary to use these parameters.)

format The format of the webpage, for example, "blog" or "PDF".
lang or language A code indicating the language that the webpage is written in; for a list of the codes, see Wiktionary:List of languages. It is unnecessary to indicate the language if the webpage is written in English.
work Mandatory: the name of the website containing the webpage. In addition to work, blog or site can also be used.
trans-work If the name of the website is not in English, this parameter can be used to provide an English translation of the name.
location The location(s) where the website was published. If more than one location is stated, separate the locations with semicolons, like this: "London; New York, N.Y.".
publisher The name of one or more publishers of the website. If more than one publisher is stated, separate the names with semicolons.
date
or
(month and) year
The date, or (month and) year, that the webpage was published. Use either date, or year (and month), not both.
year_published If year is used to state the year when the original version of the website was published, year_published can be used to state the year in which the version quoted from was published, for example, "|year=2005|year_published=2015".
volume The volume number, if the website has one.
page or pages The page number or range of page numbers of a document on the website. Use page to indicate a single page, and pages to indicate a range of pages. For example, "pages=1–2" will display "pages 1–2". Use an en dash to separate the page numbers in the range.
pageurl The URL or web address of a specific page or pages of a document on the website. The page number(s) will be linked to this webpage.
section Use this parameter to identify a page or other portion of a website that does not have page numbers.
sectionurl The URL or web address of the webpage containing the section of the website referred to. The section number will be linked to this webpage.
column
or
columns
The column number or range of column numbers of the webpage. Use an en dash to separate the column numbers in the range.
columnurl The URL or web address of the webpage containing the column(s) of the website referred to. The column number(s) will be linked to this webpage.
passage A passage from the website that you wish to quote. If the passage exceeds 200 characters, it is automatically displayed in a separate text block. To suppress this, use passage_block=no.
passage_block This parameter can be used in two ways:
  • To have the template display a quote in a separate text block.
  • Use passage_block=no together with passage to ensure that the quote is not displayed in a separate text block (see passage above).

Technical information

This template makes use of {{cite-meta}}.

See also

  • {{quote-web}} – for quotations in dictionary entries
  • {{cite web}} – the corresponding template at the English Wikipedia.