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

Content deleted Content added
Restore Table of Contents, for ease of navigation
Citing the web: Fill out the cite web parameters list, and copy some documentation from Template:Cite_web/doc.
Line 136:
'''{{tl|cite web}}'''
 
<nowikipre>{{cite web
| lasturl =
| firsttitle =
| accessdate = | accessmonthday = | accessyear =
| authorlink =
| author = | last = | first =
| coauthors =
| yearauthorlink =
| urlcoauthors =
| date = | year = | month =
| title =
| work = | publisher =
| format =
| pages = | format = | language = | quote =
| work =
| archiveurl = | archivedate =
| publisher =
}}</nowikipre>
| accessdate =
 
| accessyear =
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.
}}</nowiki>
 
;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.
* one of '''accessdate''' in YYYY-MM-DD format with no wikilink (e.g. "accessdate = 2006-02-17"), or '''accessmonthday''' and '''accessyear''', for example "accessmonthday = May 10 |accessyear = 2005". (One or the other required.)
* 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-DD format, e.g. ''2006-02-17''. May be wikilinked. 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-DD format, e.g. ''2006-02-17''. Must not be wikilinked; the template will link it automatically. (optional, but must use both together or neither)