Wikipedia:Template index/Sources of articles/Citation quick reference: Difference between revisions
Content deleted Content added
m Bot: Fixing lint errors, replacing obsolete HTML tags: <tt> (3x) Tag: Fixed lint errors |
|||
(46 intermediate revisions by 27 users not shown) | |||
Line 1:
'''Note that the use of these templates is not required.'''
Use of these templates is manual, authors may copy-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. Another template which covers all these uses may be found at [[Template:Citation|Citation]]. For more information see [[Wikipedia:Citing sources]].
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 namespace]].
== Citing a book ==
'''{{tl|cite book}}'''
;Not complete
{| cellpadding="0" cellspacing="6"
!
|- width="50%"
|
<pre>
{{
| last =
| first =
| author-link =
| author =
| author2 =
| editor =
| others =
| title = <!-- required -->
| orig-year =
| url =
| format =
| access-date =
| edition =
| date =
| year =
| publisher =
| ___location =
| language =
| isbn =
| pages =
| chapter =
| chapter-url =
| quote =
}}
</pre>
| style="vertical-align: top;" |
<pre>
{{Cite book
| last =
|
|
| year =
|
|
|
|
|
}}
</pre>
|}
== Citing a journal ==
'''{{tl|cite journal}}'''
;Not complete
{| cellpadding="0" cellspacing="6"
! Longer version !! Most common fields
|- width="50%"
|
<pre>
{{Cite journal
| first = Jean
| last = Elford
| author-link =
| author =
| author2 =
| date = 1974
| year =
| title = The Icelanders - Their Ontario Year
| quote =
| journal = The Beaver
| volume =
| issue =
| pages = 53–57
| doi =
| id =
| url =
| format =
|
}}</pre>
| style="vertical-align: top;" |
<pre>
{{
| author =
| date =
| year =
|
| journal =
| volume =
| issue =
| pages =
| doi =
| id =
| url =
Line 51 ⟶ 113:
|}
== Citing a news article ==
'''{{tl|cite news}}'''
;Not complete
<pre>
{{
| first =
| last =
|
| author =
|
| title =
| url =
Line 69 ⟶ 134:
| page =
| date =
|
| language =
| quote =
Line 75 ⟶ 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>
** '''
** '''
** '''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 85 ⟶ 151:
* '''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
* '''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.
* '''
* '''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 -->
|
|
| last =
| first =
| author-link =
| date =
| year =
| work =
| publisher =
| pages =
| format =
| language =
| quote =
| archive-url =
| archive-date =
}}</pre>
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
<
;Using author
<
;Using last, first
<
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.
* '''access-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 '''
* '''date''': Full date of publication, in same format as main text of article. Or, use '''year'''. If you also have the day, use ''date'' instead. (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| ]]
[[Category:Wikipedia template administration]]
</noinclude>
|