Template:Citation
<templatestyles src="Module:Documentation/styles.css"></templatestyles>
Dependencies: |
Usage
The Citation template is a versatile template for citing books, periodicals, contributions in collective works, patents, and web-sites. Its goal is to be an all-purpose citation template. It also has functionality to aid the use of the Harvard referencing style. The template allows author-date ("Harvard") citations in the main body of text to link to a full citation (generated by this template) in a "References" section at the end of the article via the Template:Harvard citation template. This template creates an HTML anchor, linked by #CITEREF followed by up to 4 author/editor last names and the date, to which the Harvard citation and related templates can link.
The template knows whether you are citing a book, periodical, or a chapter in a compilation, depending on which combination of parameters you use. For use with author-date systems such as the Harvard citation template, use of last and date parameters should be considered compulsory, where possible.
Citing books
Parameters (all are optional)
{{Citation | last = | first = | author-link = | last2 = | first2 = | author2-link = | publication-date = | date = | year = | title = | edition = | volume = | series = | publication-place = | place = | publisher = | pages = | page = | id = | isbn = | doi = | oclc = | url = | accessdate = }} |
|
Citing journals, newspapers, magazines, or other periodicals
Parameters
{{Citation | last = | first = | author-link = | publication-date = | date = | year = | title = | periodical = | series = | publication-place = | place = | publisher = | volume = | issue = | pages = | url = | issn = | pmid= | pmc= | doi = | oclc = | accessdate = }} |
|
Citing edited books, or parts of edited books, including encyclopedias and encyclopedia articles
Parameters
{{Citation | last = | first = | author-link = | last2 = | first2 = | author2-link = | year = | date = | publication-date = | contribution = | contribution-url = | editor-last = | editor-first = | editor-link = | editor2-last = | editor2-first = | editor2-link = | title = | edition = | series = | place = | publication-place = | publisher = | volume = | pages = | id = | isbn = | doi = | oclc = | url = }} |
|
Citing contributions, republications, or edited quotations in a periodical article
Parameters
{{Citation | last = | first = | author-link = | last2 = | first2 = | author2-link = | year = | date = | publication-date = | contribution = | contribution-url = | editor-last = | editor-first = | editor-link = | editor2-last = | editor2-first = | editor2-link = | title = | periodical = | series = | volume = | issue = | pages = | place = | publication-place = | publisher = | id = | issn = | doi = | oclc = | url = }} |
|
Citing patents
Parameters (all are optional)
{{Citation | inventor-last = | inventor-first = | inventorlink = | inventor2-last = | inventor2-first = | inventorlink2 = | publication-date = | issue-date = | title = | country-code = | description = | patent-number = }} |
|
Dates
The date and publication-date parameters should use one of the following formats
- date=February 14, 1990 (comma required)
- date=14 February 1990
- date=February 1990
- date=1990
For the accessdate parameter unlinked ISO 8601 format 2008-10-25 is preferred.
Tools
See Wikipedia:Citing sources#Tools for a list of tools which can help create a reference in the 'citation' format.