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

Content deleted Content added
Citing a journal: Longer, not full
Legobot (talk | contribs)
m Bot: Fixing lint errors, replacing obsolete HTML tags: <tt> (3x)
 
(27 intermediate revisions by 17 users not shown)
Line 1:
{{Shortcut|WP:CITEQR}}
 
'''Note that the use of these templates is not required.'''
 
Use of these templates is manual:, authors shouldmay cutcopy-and-paste the desired template into their text, and erase fields they do not need. Remember the <nowiki>{{double curly braces}}</nowiki>, and a vertical bar between fields. Introductory ("Beginner" and "Tutorial") pages such as the CITING SOURCES tab in the [[Wikipedia:Tutorial]] page do not necessarily cover templates.
 
Introductory ("Beginner" and "Tutorial") pages such as the CITING SOURCES tab in the [[Wikipedia:Tutorial]] page do not necessarily cover templates. Another template which covers all these uses may be found at [[Template:Citation|Citation]]. For more information see [[Wikipedia:Citing sources]].
''See full list of citation templates at [[Wikipedia:Citation templates]].'' For other templates, see [[Wikipedia:Template_namespace]].
 
If you are using the inline reference citation style in your article (using <nowiki><ref></nowiki> tags to create footnotes), then these templates would go inside the <nowiki><ref></nowiki> tags as follows:
<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 ==
 
'''{{tl|cite book}}'''
 
;Not complete
 
{| cellpadding="0" cellspacing="6"
Line 17 ⟶ 26:
| last =
| first =
| authorlinkauthor-link =
| coauthorsauthor =
| monthauthor2 =
| editor =
| others =
| title = <!-- required -->
| origdateorig-year =
| origyear =
| origmonth =
| url =
| format =
| accessdateaccess-date =
| edition =
| date =
| year =
| month =
| publisher =
| ___location =
| language =
| idisbn =
| pages =
| chapter =
| chapterurlchapter-url =
| quote =
}}
Line 47 ⟶ 54:
| last =
| first =
| authorlinkauthor-link =
| coauthors =
| year =
| title = <!-- required -->
| publisher =
| ___location =
| idisbn =
| pages =
}}
Line 60 ⟶ 66:
 
== Citing a journal ==
 
'''{{tl|cite journal}}'''
 
;Not complete
 
{| cellpadding="0" cellspacing="6"
Line 68 ⟶ 77:
<pre>
{{Cite journal
| first = Jean
| last = Elford
| authorlinkauthor-link =
| coauthorsauthor =
| dateauthor2 =
| date = 1974
| year =
| title = The Icelanders - Their Ontario Year
| month =
| date =
| title = <!-- required -->
| quote =
| journal = The Beaver
| volume =
| issue =
| pages = 53–57
| doi =
| id =
| url =
| format =
| accessdateaccess-date =
}}</pre>
| style="vertical-align: top;" |
Line 91 ⟶ 100:
{{Cite journal
| author =
| monthdate =
| year =
| month =
| title = <!-- required -->
| journal =
Line 98 ⟶ 107:
| issue =
| pages =
| monthdoi =
| id =
| url =
Line 104 ⟶ 114:
 
== Citing a news article ==
 
'''{{tl|cite news}}'''
 
;Not complete
 
<pre>
{{Cite news
| first =
| last =
| authorlinkauthor-link =
| author =
| coauthorsauthor2 =
| title =
| url =
Line 120 ⟶ 134:
| page =
| date =
| accessdateaccess-date =
| language =
| quote =
Line 126 ⟶ 140:
</pre>
*'''title''' is required, rest is optional. Note that title must be on one line in order for the hyperlink to display properly.
* '''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.
** '''coauthorsauthor2''', or '''last2''' & '''first2''': allows additional authors
** '''author2-link''' and '''author-last2''': allow links to Wikipedia pages for additional authors
* '''url''': Link to the news item if available online
** '''format''': Format, i.e. PDF. Don't specify for HTML (implied as default).
Line 137 ⟶ 152:
* '''publisher''': Publisher, if any.
* '''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.
* '''pages''' overrides '''page'''
* '''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.
 
== Citing the web ==
 
'''{{tl|cite web}}'''
 
;Not complete
 
<pre>{{Cite web
| url = <!-- required -->
| title = <!-- required -->
| accessdateaccess-date =
| author =
| last =
| first =
| authorlinkauthor-link =
| coauthors =
| date =
| year =
| month =
| work =
| publisher =
Line 163 ⟶ 179:
| language =
| quote =
| archiveurlarchive-url =
| archivedatearchive-date =
}}</pre>
 
Line 170 ⟶ 186:
 
;Common form for cases where little is known about authorship of the page
<ttcode><nowiki>{{Cite web |url= |title= |accessdateaccess-date= |format= |work= }}</nowiki></ttcode>
 
;Using author
<ttcode><nowiki>{{Cite web |url= |title= |accessdateaccess-date= |author= |authorlinkauthor-link= |coauthorsauthor2= |date= |year= |month= |format= |work= |publisher= |pages= |language= |archiveurlarchive-url= |archivedatearchive-date= |quote= }}</nowiki></ttcode>
 
;Using last, first
<ttcode><nowiki>{{Cite web |url= |title= |accessdateaccess-date= |last= |first= |authorlinkauthor-link= |coauthorsauthor2= |date= |year= |month= |format= |work= |publisher= |pages= |language= |archiveurlarchive-url= |archivedatearchive-date= |quote= }}</nowiki></ttcode>
 
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. AddMore optionalauthors can be added as author2 author3 etc. as can first, last pairs of parameters. When there are multiple authors, both '''coauthorsauthor2-link''' toand record'''author-link2''' additionalallow links to multiple authors.' (optional)Wikipedia pages.
 
* '''date''': Full date of publication, in same format as main text of article. Or, use '''year''', and optionally '''month'''. If you also have the day, use ''date'' instead. (optional)
* '''archiveurldate''': URLFull date of thepublication, archivein ___locationsame format as main text of thearticle. itemOr, anduse '''archivedateyear''':. DateIf whenyou thealso itemhave wasthe archivedday, inuse same''date'' format as main text ofinstead. the article.(optional)
* '''archive-url''': URL of the archive ___location of the item, and '''archive-date''': Date when the item was archived, in same format as main text of the article.
 
<noinclude>
[[Category:Citation templates|*{{PAGENAME}} ]]
[[Category:Wikipedia template administration]]
</noinclude>