Template:Cite web
Goal
This template is used to cite online sources in wiki articles.
Usage
Copyable examples with pre-filled accessdate
Citations within a page should use consistent formats. However, there is no consensus about which format is best. The following examples are for citations where one or more authors are listed in a single |author=authors parameter, using any format. Also shown below are two separate date formats that are commonly used:
- Day Month Year
{{cite web |url= |title= |author= |date= |publisher= |accessdate=25 April 2024}}
- Month Day, Year
{{cite web |url= |title= |author= |date= |publisher= |accessdate=April 25, 2024}}
- Day Month Year, all parameters
{{cite web |url= |title= |first= |last= |author= |authorlink= |coauthors= |date= |month= |year= |work= |publisher= |page= |pages= |language= |format= |id= |archiveurl= |archivedate= |accessdate=25 April 2024|quote= }}
- Month Day, Year, all parameters
{{cite web |url= |title= |first= |last= |author= |authorlink= |coauthors= |date= |month= |year= |work= |publisher= |page= |pages= |language= |format= |id= |archiveurl= |archivedate= |accessdate=April 25, 2024|quote= }}
Paramenters
{{cite web |url= |title= |first= |last= |author= |authorlink= |coauthors= |date= |month= |year= |work= |publisher= |page= |pages= |language= |format= |id= |archiveurl= |archivedate= |accessdate=|quote= }}
The only mandatory parameters are url and title. If archiveurl and archivedate are used, both of of them or neither must be used.
- url
- URL of the resource.
- title
- Title of the resource.
- first
- First name of the single author. Not needed if author is used instead.
- last
- Last name of the single author. Not needed if author is used instead.
- author
- Name of the author(s), not needed to use if the resource have only one author and first and last are used instead.
- authorlink
- Link to authors home page, user page or profile.
- coauthors
- FIXME (unknown usage)
- date
- Date of resource. Could be a full date or a partial date like month and year.
- month
- The month the resource was published. Not needed if date is used.
- year
- The year the resource was published. Not needed if date is used.
- work
- See url.
- publisher
- The publisher of the resource. May include a link.
- page
- The page in the resource (online book, catalogue etc.) that is relevant. Use pages if more than one page.
- pages
- The numbered pages in the resource that is relevant. Separate ranges with en dash – (–) and non sequaential pages with comma (,).
- language
- The language of the resource if it is not English or the language of a translated page.
- format
- Format of the resource, for example pdf, doc or djvu.
- id
- FIXME (unknown usage)
- archiveurl
- Link to an archived copy of a web page. Both of archiveurl and archivedate or neither must be used.
- archivedate
- Date when original URL was archived.
- accessdate
- The date the resource was found and added this page, or date it was updated. For example date=25 April 2024, or date=April 25, 2024.
- quote
- A quote from the resource.