Template:Cite web/doc

From S E B A S T I E N G O Y

Jump to: navigation, search


This template is used to cite online sources in Wikipedia articles. {{Cite news}} can also be used when citing a news source; for general information about citations in Wikipedia articles, see Wikipedia:Cite sources. A general discussion of the use of templates for adding citations to Wikipedia articles is available at Wikipedia:Citation templates.

Contents

Usage

Note: None of the parameters should be capitalised, in order to avoid the article being tagged as having a broken citation. For example, use "url", "title", etc. - not "URL", "Title", etc.

Common forms with authors in any format

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 in Wikipedia:

Day Month Year
{{cite web |url= |title= |author= |date= |work= |publisher= |accessdate=27 April 2024}}
Month Day, Year
{{cite web |url= |title= |author= |date= |work= |publisher= |accessdate=April 27, 2024}}

Common forms with last1, first1; last2, first2

The examples below will suffice for up to two authors each with first and last names; for more, just create more parameters in a similar style:

Day Month Year
{{cite web |url= |title= |last1= |first1= |last2= |first2= |date= |work= |publisher= |accessdate=27 April 2024}}
Month Day, Year
{{cite web |url= |title= |last1= |first1= |last2= |first2= |date= |work= |publisher= |accessdate=April 27, 2024}}

All parameters

When copying all parameters in either the vertical or horizontal layouts, delete those which are not needed.

All parameters, horizontal layout
{{cite web |url= |title= |first= |last= |author= |authorlink= |coauthors= |date= |month= |year= |work= |publisher= |location= |page= |pages= |at= |language= |trans_title= |format= |doi= |archiveurl= |archivedate= |accessdate= |quote= |ref= |separator= |postscript= }}
All parameters, vertical layout
{{cite web
| url         = 
| title       = 
| first       = 
| last        = 
| author      = 
| authorlink  = 
| coauthors   = 
| date        = 
| month       = 
| year        = 
| work        = 
| publisher   = 
| location    = 
| page        = 
| pages       = 
| at          = 
| language    = 
| trans_title = 
| format      = 
| doi         = 
| archiveurl  = 
| archivedate = 
| accessdate  = 
| quote       = 
| ref         = 
| separator   = 
| postscript  = 
}}

Required parameters

Optional parameters

Duplicate periods

By default, {{cite web}} separates some fields with periods, so don't encode those fields ending with a period or a duplicate period will be added. Example: "publisher=Camelot, Inc" will correctly show as Camelot, Inc. but "publisher=Camelot, Inc." will incorrectly show as Camelot, Inc..

Examples

Some standard use cases
Using format
Foreign language and translated title
coauthors
No author
No author, no publisher

This abbreviated format should only be used when the editor cannot determine the publisher and author.

Using "archiveurl" and "archivedate" for webpages that have been archived
Using "quote"

See also


Personal tools
Namespaces
Variants
Actions
S E B A S T I E N  G O Y                                                   
Works
About