Template:Cite journal/doc: Difference between revisions
From All Skies Encyclopaedia
imported>Mwtoews (fix consistency in examples; formatting) |
imported>Mwtoews (added suggested alternate form for adding layman's terms citations) |
||
Line 67: | Line 67: | ||
* '''quotes''': Specify "quotes=no" to disable the quotes around the title. If "quotes" is not defined or set to the empty string, the template emits quotes around the title (default). |
* '''quotes''': Specify "quotes=no" to disable the quotes around the title. If "quotes" is not defined or set to the empty string, the template emits quotes around the title (default). |
||
* '''author''': Author |
* '''author''': Author |
||
** '''last''' works with '''first''' to produce <code>last, first</code> |
** '''last''' works with '''first''' to produce <code>last, first;</code> |
||
** '''authorlink''' works either with '''author''' or with '''last''' & '''first''' to link to the appropriate article ( |
** '''authorlink''' works either with '''author''' or with '''last''' & '''first''' to link to the appropriate article ([[Wikipedia:Interwikimedia link|interwiki link]]) |
||
** '''coauthors''': allows additional authors |
** '''coauthors''': allows additional authors |
||
* '''date''': ''[[January 1]], [[2006]]''. Full date of publication. |
* '''date''': ''<nowiki>[[January 1]], [[2006]]</nowiki>''. Full [[Wikipedia:Date#Dates|date]] of publication. |
||
** '''year''': ''2006''. Year of publication (ignored if the ''date'' field is used). |
** '''year''': ''2006''. Year of publication (ignored if the ''date'' field is used). |
||
*** '''month''': ''January''. Month of publication (ignored if the ''date'' field is used, or if the ''year'' field is ''not'' used). |
*** '''month''': ''January''. Month of publication (ignored if the ''date'' field is used, or if the ''year'' field is ''not'' used). |
||
Line 91: | Line 91: | ||
:* '''accessmonthday''' and '''accessyear''': Month and day when item was accessed, for example "accessmonthday = May 10", <u>and</u> year when item was accessed, for example "accessyear = 2005". Produces: ''Retrieved on May 10, 2006.'' |
:* '''accessmonthday''' and '''accessyear''': Month and day when item was accessed, for example "accessmonthday = May 10", <u>and</u> year when item was accessed, for example "accessyear = 2005". Produces: ''Retrieved on May 10, 2006.'' |
||
:* '''accessdaymonth''' and '''accessyear''': Month and day when item was accessed, for example "accessmonthday = 10 May", <u>and</u> year when item was accessed, for example "accessyear = 2005". Produces: ''Retrieved on 10 May 2006.'' |
:* '''accessdaymonth''' and '''accessyear''': Month and day when item was accessed, for example "accessmonthday = 10 May", <u>and</u> year when item was accessed, for example "accessyear = 2005". Produces: ''Retrieved on 10 May 2006.'' |
||
*'''laysummary''': URL of a lay summary, which could be in a popular science magazine or newspaper |
*'''laysummary''': URL of a lay summary, which could be in a popular science magazine or newspaper. |
||
**'''laysource''': Name of the source, e.g. ''The Guardian'' (UK newspaper) or ''New Scientist''. |
**'''laysource''': Name of the source, e.g. ''The Guardian'' (UK newspaper) or ''New Scientist''. |
||
**'''laydate''': Date of publication or, where this is not available, date of retrieval of the lay summary. |
**'''laydate''': Date of publication or, where this is not available, date of retrieval of the lay summary. |
||
:An alternate method of adding one or more references to common media (preferably in [[Layman's terms]]) from the related journal citation can be specified ''within'' a single <code><nowiki><ref>...</ref></nowiki></code> tag using other [[:Category:Citation templates|citation templates]]; for example: |
|||
⚫ | |||
::<tt>''Text in the article.'''''<ref>'''<nowiki>{{cite journal | ... }}<br/></nowiki><br/><nowiki> |
|||
'''Related news articles:'''</nowiki><br/><nowiki> |
|||
*{{cite news | ... }}</nowiki><br/><nowiki> |
|||
*{{cite web | ... }}</nowiki>'''</ref>'''</tt> |
|||
⚫ | |||
;Formal citation |
;Formal citation |
||
:<tt><nowiki> |
:<tt><nowiki> |
Revision as of 03:09, 21 March 2007
Template:Template doc page viewed directly cite journal is for formatting references to articles in academic journals in a consistent and legible manner. It can be used at the end of the article, directly in the References section. It can also be placed within <ref> tags for in-line citations (see Wikipedia:Footnotes).
Usage
Copyable version:
{{cite journal |last= |first= |authorlink= |coauthors= |year= |month= |title= |journal= |volume= |issue= |pages= |id= |url= |accessdate= }}
Using lastname, firstname | Using author (firstname lastname) |
---|---|
{{cite journal | quotes = | last = | first = | authorlink = | coauthors = | date = | year = | month = | title = | journal = | volume = | issue = | pages = | issn = | pmid = | doi = | id = | url = | language = | format = | accessdate = | laysummary = | laysource = | laydate = }} |
{{cite journal | quotes = | author = | date = | year = | month = | title = | journal = | volume = | issue = | pages = | issn = | pmid = | doi = | id = | url = | language = | format = | accessdate = | laysummary = | laysource = | laydate = }} |
- quotes: Specify "quotes=no" to disable the quotes around the title. If "quotes" is not defined or set to the empty string, the template emits quotes around the title (default).
- author: Author
- last works with first to produce
last, first;
- authorlink works either with author or with last & first to link to the appropriate article (interwiki link)
- coauthors: allows additional authors
- last works with first to produce
- date: [[January 1]], [[2006]]. Full date of publication.
- year: 2006. Year of publication (ignored if the date field is used).
- month: January. Month of publication (ignored if the date field is used, or if the year field is not used).
- year: 2006. Year of publication (ignored if the date field is used).
- title: Title of article. This is the only required parameter. All other parameters are optional.
- journal: Name of the journal.
- volume: Volume number of the journal in which the article is found
- issue: Issue number of the journal in which the article is found
- pages: 45–47: first page, and optional last page.
- issn: The publication's International Standard Serial Number such as 1111-2220
- pmid: The document's PubMed Unique Identifier, such as 15128012
- doi: A digital object identifier for the document, such as 10.1016/j.coi.2004.08.001
- id: A unique identifier, used if none of the above are applicable. In this case, you need to specify the kind of identifier you are using, preferably with a template like {{US patent}}. (Use one of the more specialized parameters if possible; they are linked automatically. In other words, don't use
id = PMID 15128012
anymore. Usepmid = 15128012
.) - url: URL of a copy of the article, if available online.
- format: Format, i.e. PDF. Don't specify for HTML (implied as default).
- Specify as 'fee required' if free access no longer available.
- Specify as 'Reprint' if a full original version but not hosted by the original publisher.
- format: Format, i.e. PDF. Don't specify for HTML (implied as default).
- accessdate: Full date when URL was accessed, in ISO 8601 YYYY-MM-DD format, for example "accessdate = 2025-05-6". Must not be wikilinked
For producing a non-wikilinked date of retrieval:
- accessmonthday and accessyear: Month and day when item was accessed, for example "accessmonthday = May 10", and year when item was accessed, for example "accessyear = 2005". Produces: Retrieved on May 10, 2006.
- accessdaymonth and accessyear: Month and day when item was accessed, for example "accessmonthday = 10 May", and year when item was accessed, for example "accessyear = 2005". Produces: Retrieved on 10 May 2006.
- laysummary: URL of a lay summary, which could be in a popular science magazine or newspaper.
- laysource: Name of the source, e.g. The Guardian (UK newspaper) or New Scientist.
- laydate: Date of publication or, where this is not available, date of retrieval of the lay summary.
- An alternate method of adding one or more references to common media (preferably in Layman's terms) from the related journal citation can be specified within a single
<ref>...</ref>
tag using other citation templates; for example:- Text in the article.<ref>{{cite journal | ... }}<br/>
'''Related news articles:'''
*{{cite news | ... }}
*{{cite web | ... }}</ref>
- Text in the article.<ref>{{cite journal | ... }}<br/>
Examples
- Formal citation
- {{cite journal |last=Smith |first=Joseph III |title=Last Testimony of Sister Emma |journal=The Saints' Herald |volume=26 |year=1879 |month=October |pages=289 }}
- → Lua error: bad argument #1 to "get" (not a valid title).
- Include URL link to free-article, pre-print or abstract
- {{cite journal |last=Smith |first=Joseph III |title=Last Testimony of Sister Emma |journal=The Saints' Herald |volume=26 |issue=19 |date=[[October 1]], [[1879]] |pages=289 |url=http://www.lavazone2.com/dbroadhu/IL/sain1872.htm#100179 |accessdate=2006-03-23 }}
- → Lua error: bad argument #1 to "get" (not a valid title).
- Specify the DOI to provide a permanent and direct link to the article from the publisher
- {{cite journal |last=Giles |first=Jim |title=Preprint Server Seeks Way to Halt Plagiarists |url=http://www.nature.com/nature/journal/v426/n6962/full/426007a.html |journal=Nature |date=6 November 2003 |pages=7 |doi=10.1038/426007a }}
- → Lua error: bad argument #1 to "get" (not a valid title).
- Other examples
- {{cite journal |last=Fowler |first=Martin |authorlink=Martin Fowler |coauthors=Kent Beck |title=Last Testimony of Sister Emma |journal=The Saints' Herald |volume=26 |year=1879 |month=October |pages=289 }}
- → Lua error: bad argument #1 to "get" (not a valid title).
- {{cite journal |first=W. Hugh |last=Woodin |title=The Continuum Hypothesis, Part I |journal=Notices of the AMS |volume=48 |issue=6 |year=2001 |pages=567–576 |url=http://www.ams.org/notices/200106/fea-woodin.pdf |language=Greek |format=PDF }}
- → Lua error: bad argument #1 to "get" (not a valid title).
- {{cite journal |title=Disney Releases 10 Titles on Laser Videodisc |year=1982 |journal=VIDEODISC/VIDEOTEX |volume=2 |issue=3 |pages=175 }}
- → Lua error: bad argument #1 to "get" (not a valid title).
See also
- Wikipedia:Cite sources: Style guide
- Wikipedia:Cite sources/example style: Style guide examples
- Wikipedia:Citation templates: Related templates