Template:Cite web/doc

Template page
< Template:Cite web
Revision as of 10:12, 7 April 2022 by Aeywoo (talk | contribs) (Updated.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This template is used to cite sources in Wikipedia. It is specifically for web sites which are not news sources. This template replaces deprecated Template:Web reference. It provides lower case parameters only.

A general discussion of the use of templates for adding citation of open-source web content to Wikipedia articles is available at citation templates.

This page uses Creative Commons Licensed content from Wookieepedia

Usage

Common form for cases where little is known about authorship of the page (with current date)

{{Cite web |url= |title= |access-date=2024-11-24 |format= |work= }}

Using last, first (with current date)

{{Cite web |url= |title= |access-date=2024-11-24 |last= |first= |author-link= |co-authors= |date= |year= |month= |format= |work= |publisher= |pages= |language= |archive-url= |archive-date= |quote= }}

Using author (with current date)

{{Cite web |url= |title= |access-date=2024-11-24 |author= |author-link= |co-authors= |date= |year= |month= |format= |work= |publisher= |pages= |language= |archive-url= |archive-date= |quote= }}

Using non-linked retrieved date, last, first

{{Cite web |url= |title= |access-monthday= |access-year= |last= |first= |author-link= |co-authors= |date= |year= |month= |format= |work= |publisher= |pages= |language= |archive-url= |archive-date= |quote= }}

Using non-linked retrieved date, author

{{Cite web |url= |title= |access-monthday= |access-year= |author= |author-link= |co-authors= |date= |year= |month= |format= |work= |publisher= |pages= |language= |archive-url= |archive-date= |quote= }}

All parameters, horizontal format (delete the ones you don't need)

{{Cite web |url= |title= |access-date= |access-monthday= |access-daymonth = |access-year= |author= |last= |first= |author-link= |co-authors= |date= |year= |month= |format= |work= |publisher= |pages= |language= |archive-url= |archive-date= |quote= }}

All parameters, vertical format
{{Cite web
|url = 
|title = 
|access-date = 
|access-daymonth = 
|access-monthday = 
|access-year = 
|author = 
|last = 
|first = 
|author-link = 
|co-authors = 
|date = 
|year = 
|month = 
|format = 
|work = 
|publisher = 
|pages = 
|language = 
|archive-url = 
|archive-date = 
|quote = 
}}

Required parameters

  • url: URL of online item.
  • title: Title of online item.

For producing a wikilinked date of retrieval:

  • access-date: Full date when item was accessed, in ISO 8601 YYYY-MM-DD format, for example "access-date = 2024-11-24". Must not be wikilinked

For producing a non-wikilinked date of retrieval:

  • access-monthday and accessyear: Month and day when item was accessed, for example "accessmonthday = May 10", and year when item was accessed, for example "accessyear = 2005". Produces: Retrieved on May 10, 2006.
  • access-daymonth and accessyear: Month and day when item was accessed, for example "accessmonthday = 10 May", and year when item was accessed, for example "accessyear = 2005". Produces: Retrieved on 10 May 2006.

Optional parameters

  • author: Author
    • last works with first to produce last, first
    • author-link works either with author or with last & first to link to the appropriate wikipedia article. Does not work with URLs.
    • co-authors: allows additional authors
  • date: Full date of publication, preferably in ISO 8601 YYYY-MM-DD format, e.g. 2006-02-17. May be wikilinked.
    • OR: year: Year of publication, and month: Name of the month of publication. If you also have the day, use date instead. Must not be wikilinked.
  • format: Format, e.g. PDF. HTML implied if not specified.
  • work: If this item is part of a larger work, name of that work.
  • publisher: Publisher, if any.
  • pages: pp. 5–7: first page and optional last page. This is for listing the pages relevant to the citation, not the total number of pages in the book. This is especially useful for PDF format, where the page can be linked to with the #page=number anchor tagged on the end of the URL:
    pages = [http://www.example.org/file.pdf#page=123 p. 123]
  • language: language of publication (don't specify "English" as this is the default).
  • archive-url: URL of the archive location of the item (requires archive-date)
  • archive-date: Date when the item was archived (requires archive-url), in ISO 8601 YYYY-MM-DD format, e.g. 2006-02-17. Must not be wikilinked; it will be linked automatically.
  • quote: Relevant quote from online item.

Examples

Some standard use cases
  • {{Cite web |url = http://www.example.org/ |author = Doe, John |title = My Favourite Things Part II |publisher = Open Publishing |date = 30 April 2005 |work = Encyclopaedia of Things |access-date = 6 July 2005 }}
    Doe, John (30 April 2005). My Favourite Things Part II. Encyclopaedia of Things. Open Publishing. Retrieved on July 6, 2005.
  • {{Cite web |author = Doe, John |title = My Favourite Things Part II |date = 30 April 2005 |work = Encyclopaedia of Things |url = http://www.example.org/ |access-date = 6 July 2005 }}
    Doe, John (30 April 2005). My Favourite Things Part II. Encyclopaedia of Things. Retrieved on July 6, 2005.
  • {{Cite web |url = http://www.example.org/ |author = Doe, John |title = My Favourite Things Part II |date = 30 April 2005 |access-date = 6 July 2005 }}
    Doe, John (30 April 2005). My Favourite Things Part II. Retrieved on July 6, 2005.
  • {{Cite web |url = http://www.example.org/ |author = Doe, John |title = My Favourite Things Part II |access-date = 6 July 2005 }}
    Doe, John. My Favourite Things Part II. Retrieved on July 6, 2005.
  • {{Cite web |title = My Favourite Things Part II |url = http://www.example.org/ |access-date = 6 July 2005 }}
    My Favourite Things Part II. Retrieved on July 6, 2005.
  • {{Cite web |url = http://www.nfl.com/fans/ |title = Digest of Rules |publisher = National Football League |access-date = 6 July 2005 }}
    Digest of Rules. National Football League. Retrieved on July 6, 2005.
Non-linking date of retrieval (using access-monthday and access-year)
  • {{Cite web |url = http://www.example.org/ |title = My Favourite Things Part II |work = Encyclopaedia of Things |access-monthday = July 6 |access-year = 2005 }}
    My Favourite Things Part II. Encyclopaedia of Things. Retrieved on July 6, 2005.
Using format
  • {{Cite web |url = http://www.incb.org/pdf/e/list/green.pdf |title = List of psychotropic substances under international control |publisher = International Narcotics Control Board |format = PDF |access-date = 6 July 2005 }}
    List of psychotropic substances under international control (PDF). International Narcotics Control Board. Retrieved on July 6, 2005.
language
  • {{Cite web |author = Joliet, François |title = Honnit soit qui mal y pense |date = 30 April 2005 |url = http://www.example.org/ |access-date = 2005-07-06 |language = French }}
    Joliet, François (2005-04-30). Honnit soit qui mal y pense (French). Retrieved on July 6, 2005.
co-authors
  • {{Cite web |url=http://www.example.org/ |first=John |last=Doe |co-authors=Peter Smith, Jim Smythe |title=My Favourite Things Part II |publisher=Open Publishing |date=30 April 2005 |work=Encyclopaedia of Things |access-date=16 May 2006 }}
    Doe, John; Peter Smith, Jim Smythe (2005-04-30). My Favourite Things Part II. Encyclopaedia of Things. Open Publishing. Retrieved on May 16, 2006.
No author
  • {{Cite web |url=http://www.example.org/ |title=My Favourite Things Part II |publisher=Open Publishing |date=30 April 2005 |work=Encyclopaedia of Things |access-date=16 May 2006 }}
    My Favourite Things Part II. Encyclopedia of Things. Open Publishing (30 April 2005). Retrieved on May 16, 2006.
No author, no publisher
  • {{Cite web |url=http://www.example.org/ title=My Favourite Things Part II | date=30 April 2005 |work=Encyclopaedia of Things |access-date=6 July 2005 }}
    My Favourite Things Part II. Encyclopaedia of Things (30 April 2005). Retrieved on July 6, 2005.
  • {{Cite web |url=http://www.example.org/ |title=My Favourite Things Part II |date=30 April 2005 | access-date=6 July 2005}}
    My Favourite Things Part II (30 April 2005). Retrieved on July 6, 2005.
  • {{Cite web |url = http://www.incb.org/pdf/e/list/green.pdf |title = List of psychotropic substances under international control |date = 30 April 2005 |format = PDF |access-date = 6 July 2005 |language = Greek }}
    List of psychotropic substances under international control (Greek) (PDF) (30 April 2005).
Using archive-url and archive-date to refer to items that went away but are available from an archive site
  • {{Cite web |url = http://www.incb.org/pdf/e/list/green.pdf |title = List of psychotropic substances under international control |date = 2005-04-30 |format = PDF |access-date = 6 July 2005 |archive-url = http://www.archive.org/2005-09-11/www.incb.org/pdf/e/list/green.pdf |archive-date = 11 September 2005 }}
    List of psychotropic substances under international control (PDF) (30 April 2005). Archived from the original on September 11, 2005. Retrieved on July 6, 2005.
  • {{Cite web |url = http://joanjettbadrep.com/cgi-bin/fullStory.cgi?archive=currnews&story=20060405-01shore.htm |title = Interview with Maggie Downs |date = 31 March 2006 |publisher = The Desert Sun |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 = 26 April 2006 }}
    Interview with Maggie Downs. The Desert Sun (31 March 2006). Archived from the original on April 26, 2006.
Using quote
  • {{Cite web |title = My Favourite Things Part II |work = Encyclopaedia of Things |url = http://www.example.org/ |access-date = 6 July 2005 |quote = Lorem ipsum dolor. }}
    My Favourite Things Part II. Encyclopaedia of Things. Retrieved on July 6, 2005. “Lorem ipsum dolor.”
No parameters (error)
  • {{Cite web}}
    Error on call to Template:Cite web: Parameters url and title must be specified.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.