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

Content deleted Content added
m Remove deprecated parameters;
Hyphenating parameters per July 2014 RFC. Also removing redundant and unsupported parameters.
Line 8:
<pre><ref>{{cite book|author=...}}</ref></pre>
 
''See full list of citation templates at [[Wikipedia:Citation templates]].'' For other templates, see [[Wikipedia:Template_namespaceTemplate namespace]].
 
== Citing a book ==
Line 22:
| last =
| first =
| authorlinkauthor-link =
| editor =
| others =
| title = <!-- required -->
| origdateorig-year =
| origyear =
| url =
| format =
| accessdateaccess-date =
| edition =
| date =
| year =
| publisher =
| ___location =
| language =
| idisbn =
| pages =
| chapter =
| chapterurlchapter-url =
| quote =
}}
Line 49 ⟶ 47:
| last =
| first =
| authorlinkauthor-link =
| year =
| title = <!-- required -->
| publisher =
| ___location =
| idisbn =
| pages =
}}
Line 72 ⟶ 70:
| first = Jean
| last = Elford
| authorlinkauthor-link =
| yeardate = 1974
| title = <The Icelanders - Their Ontario Year.>
| date =
| title = <The Icelanders - Their Ontario Year.>
| quote =
| journal = The Beaver
| volume =
| issue =
| pages = 53-753–57
| doi =
| id =
| url =
| format =
| accessdateaccess-date =
}}</pre>
| style="vertical-align: top;" |
Line 91 ⟶ 88:
{{Cite journal
| author =
| yeardate =
| title = <!-- required -->
| journal =
Line 112 ⟶ 109:
| first =
| last =
| authorlinkauthor-link =
| author =
| title =
Line 122 ⟶ 119:
| page =
| date =
| accessdateaccess-date =
| language =
| quote =
Line 130 ⟶ 127:
* '''author''': Author
** '''last''' works with '''first''' to produce <code>last, first</code>
** '''authorlinkauthor-link''' works either with '''author''' or with '''last''' & '''first''' to link to the appropriate wikipedia article. Does not work with URLs.
* '''url''': Link to the news item if available online
** '''format''': Format, i.e. PDF. Don't specify for HTML (implied as default).
Line 139 ⟶ 136:
* '''date''': date of publication, in same format as dates in the body of the article.
* '''pages''' or '''page''': the page number or numbers of the relevant information (e.g. pages=31-32 or page=157). Note that "pages" overrides "page" if they are both present.
* '''accessdateaccess-date''': Date when item was accessed, in same format as dates in the body of the article.
* '''language''': the language in which the source is written.
* '''quote''': Relevant quote.
Line 152 ⟶ 149:
| url = <!-- required -->
| title = <!-- required -->
| accessdateaccess-date =
| author =
| last =
| first =
| authorlinkauthor-link =
| date =
| year =
| work =
| publisher =
Line 165 ⟶ 161:
| language =
| quote =
| archiveurlarchive-url =
| archivedatearchive-date =
}}</pre>
 
Line 172 ⟶ 168:
 
;Common form for cases where little is known about authorship of the page
<tt><nowiki>{{Cite web |url= |title= |accessdate= |formataccess-date= |work= }}</nowiki></tt>
 
;Using author
<tt><nowiki>{{Cite web |url= |title= |accessdateaccess-date= |author= |authorlinkauthor-link= |date= |year= |format= |work= |publisher= |pages= |language= |archiveurlarchive-url= |archivedatearchive-date= |quote= }}</nowiki></tt>
 
;Using last, first
<tt><nowiki>{{Cite web |url= |title= |accessdateaccess-date= |last= |first= |authorlinkauthor-link= |date= |year= |format= |work= |publisher= |pages= |language= |archiveurlarchive-url= |archivedatearchive-date= |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.
* '''accessdateaccess-date''' in same format as dates in body of article.
* either '''author''', or '''last''' and '''first''' to produce <code>last, first</code>. Don't wikilink these; instead use '''authorlinkauthor-link''' to link to the appropriate wikipedia article. Does not work with URLs.
* '''date''': Full date of publication, in same format as main text of article.
* '''archiveurlarchive-url''': URL of the archive ___location of the item, and '''archivedatearchive-date''': Date when the item was archived, in same format as main text of the article.
 
<noinclude>