Template:Cite paper/doc
(New page: <includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude> <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> This template ...) |
Latest revision as of 00:00, 10 August 2008
{{#if: |
{{#if:x||}} |{{#ifeq: cite paper/doc | doc
|
{{
#ifeq: show | show|
}}{{ #if: | | [[Category:{{ #if: Template | Template | Article }} documentation]] }}
| }}}} This template is used to cite sources in Wikipedia. It is specifically for academic papers.
[edit] Usage summary
All field names must be lowercase.
Copy a blank version to use. Remember to use the "|" (pipe) character between each field. Please delete any unused fields to avoid clutter in the edit window.
{{cite paper | last= | first= | author= | authorlink= | coauthors= | title= | version= | pages= | publisher= | date= | doi= | url= | format= | id= | accessdate= }}
or
{{cite paper | last = | first = | author = | authorlink = | coauthors = | title = | version = | pages = | publisher = | date = | doi = | doi_brokendate = | id = | url = | format = | accessdate = }}
[edit] Fields
[edit] Wikilinks
Most fields can be wikilinked (i.e. title = [[book article|book title]]), but should generally only be linked to an existing Wikipedia article. Any wikilinked field must not contain any brackets apart from normal round brackets ()
— don't use <>[]{}
.
[edit] Description of fields
[edit] Syntax (for the technical-minded)
Nested fields either rely on their parent fields, or replace them:
- parent
- child — may be used with parent (and is ignored if parent is not used)
- OR: child2 — may be used instead of parent (and is ignored if parent is used)
[edit] Description
- last: Surname of author. Don't wikilink (use authorlink instead).
- first: First name(s) of author, including title(s) (e.g. Firstname Middlename or Firstname M. or Dr. Firstname M., Snr.). Don't wikilink (use authorlink instead).
- authorlink: Title of Wikipedia article about author. Article should already exist. Must not be wikilinked itself. Do not use this on its own, but along with "author" or "first" and "last".
- coauthors: Full name of additional author or authors, separated by ", " (e.g. Joe Bloggs, John F. Kennedy, H. R. Dent).
- OR: author: Full name of author, preferably surname first.
- title: Title of paper. This is the only required parameter. Can be wikilinked only to an existing Wikipedia article. Do not use italics.
- version: Version of paper, if available.
- pages: First page and optional last page. This is for listing the pages relevant to the citation, not the total number of pages in the book, e.g. pp. 5–7.
- publisher: Publisher should not include corporate designation such as "Ltd" or "Inc".
- date: Full date of publication edition being referenced, in ISO 8601 YYYY-MM-DD format, e.g. 2006-02-17. Must not be wikilinked.
- format: Format, e.g. PDF. HTML implied if not specified.
- doi: A digital object identifier for the document, such as
10.1130/0091-7613(1990)018<1153:TAFSIA>2.3.CO;2
.
- doi_brokendate: Sometimes the doi target link might not function (e.g. the journal is transferred to a new publisher which does not provide doi access). A blanked out doi parameter could lead to a later editor or bot re-adding the doi. Instead, use this parameter which, like accessdate, takes ISO 8601 YYYY-MM-DD format, for example "doi_brokendate= 2024-03-28". Must not be wikilinked.
The doi value is still shown, but without a link, and the mainspace article is added to "Category:Pages with DOIs broken since YYYY".
- doi_brokendate: Sometimes the doi target link might not function (e.g. the journal is transferred to a new publisher which does not provide doi access). A blanked out doi parameter could lead to a later editor or bot re-adding the doi. Instead, use this parameter which, like accessdate, takes ISO 8601 YYYY-MM-DD format, for example "doi_brokendate= 2024-03-28". Must not be wikilinked.
- id: A unique identifier other than doi. You need to specify the kind of identifier you are using, preferably with a template like {{ISSN}}.
- url: URL of an online location where the book can be found. Cannot be used if you wikilinked title.
- If a DOI or PMID is available, the URL should only be specified if it would point to a different page to that which a DOI or PMID would redirect to.
- accessdate: Full date when url was accessed, in ISO 8601 YYYY-MM-DD format, e.g. 2006-02-17. Required when url field is used. Must not be wikilinked.
[edit] Examples
- A simple case
- {{cite paper
| author = Ziman, J.M., F.R.S.
| title = Public Knowledge: An essay concerning the social dimension of science
| date = 1968
| url =http://info.med.yale.edu/therarad/summers/ziman.htm
| accessdate = 2006-07-03 }} gives:
- {{#if: Public Knowledge: An essay concerning the social dimension of science
|{{ #if: Ziman, J.M., F.R.S. | {{ #if: | [[{{{authorlink}}}|{{ #if: | {{{last}}}{{ #if: | , {{{first}}} }} | Ziman, J.M., F.R.S. }}]] | {{ #if: | {{{last}}}{{ #if: | , {{{first}}} }} | Ziman, J.M., F.R.S. }} }}{{#if: | ; {{{coauthors}}} }} }}{{#if: 1968 | ({{#ifeq:{{#time:Y-m-d|1968}}|1968|1968|1968}}). |. }}{{#if: http://info.med.yale.edu/therarad/summers/ziman.htm | {{#if: |“|"}}Public Knowledge: An essay concerning the social dimension of science{{#if: |”|"}} | {{#if: |“|"}}Public Knowledge: An essay concerning the social dimension of science{{#if: |”|"}} }}{{#if: | ({{{format}}}) }}. {{#if: | {{{version}}}. }}{{#if: | {{{pages}}} }}{{#if: | {{{publisher}}}. }}{{#if: | {{{id}}} }}{{#if: |. doi:{{#if: | {{{doi}}} (inactive [[]]) {{#ifeq: Template | | [[Category:Pages with DOIs broken since {{#time: Y | }}]] }} | }} }}{{#if: 2006-07-03 | Retrieved on 2006-07-03. }} |You must specify title = when using {{cite paper}}{{#if:| “{{{quote}}}”}}.{{#if: Template||}}
}}
- Multiple authors
- {{cite paper
| author = Williamson, John
| coauthors = Zagha, Roberto
| title = From the Hindu Rate of Growth to the Hindu Rate of Reform
| version = Working Paper No. 144
| pages = p. 22
| publisher = Center for research on economic development and policy reform
| date = 2002
| url = http://scid.stanford.edu/pdf/credpr144.pdf
| format = [[PDF]]
| accessdate = 2006-07-03 }} gives:
- {{#if: From the Hindu Rate of Growth to the Hindu Rate of Reform
|{{ #if: Williamson, John | {{ #if: | [[{{{authorlink}}}|{{ #if: | {{{last}}}{{ #if: | , {{{first}}} }} | Williamson, John }}]] | {{ #if: | {{{last}}}{{ #if: | , {{{first}}} }} | Williamson, John }} }}{{#if: Zagha, Roberto | ; Zagha, Roberto }} }}{{#if: 2002 | ({{#ifeq:{{#time:Y-m-d|2002}}|2002|2002|2002}}). |. }}{{#if: http://scid.stanford.edu/pdf/credpr144.pdf | {{#if: |“|"}}From the Hindu Rate of Growth to the Hindu Rate of Reform{{#if: |”|"}} | {{#if: |“|"}}From the Hindu Rate of Growth to the Hindu Rate of Reform{{#if: |”|"}} }}{{#if: PDF | (PDF) }}. {{#if: Working Paper No. 144 | Working Paper No. 144. }}{{#if: p. 22 | p. 22 }}{{#if: Center for research on economic development and policy reform | Center for research on economic development and policy reform. }}{{#if: | {{{id}}} }}{{#if: |. doi:{{#if: | {{{doi}}} (inactive [[]]) {{#ifeq: Template | | [[Category:Pages with DOIs broken since {{#time: Y | }}]] }} | }} }}{{#if: 2006-07-03 | Retrieved on 2006-07-03. }} |You must specify title = when using {{cite paper}}{{#if:| “{{{quote}}}”}}.{{#if: Template||}}
}}
- The title parameter is required
- {{cite paper
| author = Ziman, J.M., F.R.S.
| date = 1968
| url =http://info.med.yale.edu/therarad/summers/ziman.htm
| format = [[PDF]]
| accessdate = 2006-07-03 }} gives:
- {{#if:
|{{ #if: Ziman, J.M., F.R.S. | {{ #if: | [[{{{authorlink}}}|{{ #if: | {{{last}}}{{ #if: | , {{{first}}} }} | Ziman, J.M., F.R.S. }}]] | {{ #if: | {{{last}}}{{ #if: | , {{{first}}} }} | Ziman, J.M., F.R.S. }} }}{{#if: | ; {{{coauthors}}} }} }}{{#if: 1968 | ({{#ifeq:{{#time:Y-m-d|1968}}|1968|1968|1968}}). |. }}{{#if: http://info.med.yale.edu/therarad/summers/ziman.htm | {{#if: |“|"}}{{{title}}}{{#if: |”|"}} | {{#if: |“|"}}{{{title}}}{{#if: |”|"}} }}{{#if: PDF | (PDF) }}. {{#if: | {{{version}}}. }}{{#if: | {{{pages}}} }}{{#if: | {{{publisher}}}. }}{{#if: | {{{id}}} }}{{#if: |. doi:{{#if: | {{{doi}}} (inactive [[]]) {{#ifeq: Template | | [[Category:Pages with DOIs broken since {{#time: Y | }}]] }} | }} }}{{#if: 2006-07-03 | Retrieved on 2006-07-03. }} |You must specify title = when using {{cite paper}}{{#if:| “{{{quote}}}”}}.{{#if: Template||}}
}}
[edit] Tools
See Wikipedia:Citing sources#Tools for a list of tools which can help create a reference in the 'cite paper' format.
[edit] Notes
- Template 'Cite journal' allows more details to be entered and may be more appropriate if the paper was published in a journal.