Wikipedia:Template index/Sources of articles/Citation quick reference: Difference between revisions

Content deleted Content added
removed deprecated parameter
Update date format advise.
Line 138:
* '''work''': If this item is part of a larger work (such as a newspaper), name of that work.
* '''publisher''': Publisher, if any.
* '''date''': date of publication., [[ISOin 8601]] YYYY-MM-DDsame format recommendedas dates in the body of the article.
* '''pages''' overrides '''page'''
* '''accessdate''': Date when item was accessed., Usein [[ISOsame 8601]]format YYYY-MM-DDas format.dates Doin the notbody wikilinkof the datearticle.
* '''language''': the language in which the source is written.
* '''quote''': Relevant quote.
Line 165:
This template is specifically for web sites which are not news sources. See also [[citation templates]] for more on templates for citing open-source web content in Wikipedia articles. Here are some convenient examples.
 
;Common form for cases where little is known about authorship of the page (with current date)
<tt><nowiki>{{cite web |url= |title= |accessdate=</nowiki>{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY2}}<nowiki> |format= |work= }}</nowiki></tt>
 
;Using author (with current date)
<tt><nowiki>{{cite web |url= |title= |accessdate=</nowiki>{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY2}}<nowiki> |author= |authorlink= |coauthors= |date= |year= |month= |format= |work= |publisher= |pages= |language= |archiveurl= |archivedate= |quote= }}</nowiki></tt>
 
;Using last, first (with current date)
<tt><nowiki>{{cite web |url= |title= |accessdate=</nowiki>{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY2}}<nowiki> |last= |first= |authorlink= |coauthors= |date= |year= |month= |format= |work= |publisher= |pages= |language= |archiveurl= |archivedate= |quote= }}</nowiki></tt>
 
The most common parameters are as follows. See also the complete documentation in [[Template:Cite web]].
* '''url''' (required): URL of online item.
* '''title''' (required): Title of online item.
* '''accessdate''' in YYYY-MM-DDsame format withas nodates wikilinkin (e.g.body "accessdateof = 2006-02-17")article.
* either '''author''', or '''last''' and '''first''' to produce <code>last, first</code>. Don't wikilink these; instead use '''authorlink''' to link to the appropriate wikipedia article. Does not work with URLs. Add optional '''coauthors''' to record additional authors. (optional)
* '''date''': Full date of publication, YYYY-MM-DDin same format, e.g.as ''2006-02-17''.main Maytext beof wikilinkedarticle. Or, use '''year''', and optionally '''month'''. If you also have the day, use ''date'' instead. (optional)
* '''archiveurl''': URL of the archive ___location of the item, and '''archivedate''': Date when the item was archived, in YYYY-MM-DDsame format, e.g.as ''2006-02-17''.main Musttext not be wikilinked;of the template will link it automaticallyarticle. (optional, but must use both together or neither)
 
[[Category:Citation templates]]