Template:Cite journal/doc: Difference between revisions
From All Skies Encyclopaedia
imported>Omegatron  (update docs for pmid and issn)  | 
				imported>Omegatron   (→Usage)  | 
				||
| Line 73: | Line 73: | ||
* '''pmid''': The document's [[PMID|PubMed Unique Identifier]], such as ''15128012''  | 
  * '''pmid''': The document's [[PMID|PubMed Unique Identifier]], such as ''15128012''  | 
||
* '''doi''': A [[digital object identifier]] for the document, such as ''<nowiki>10.1016/j.coi.2004.08.001</nowiki>''  | 
  * '''doi''': A [[digital object identifier]] for the document, such as ''<nowiki>10.1016/j.coi.2004.08.001</nowiki>''  | 
||
* '''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 {{tl|US patent}}.  (Use one of the more specialized parameters if possible; they are linked automatically.  In other words, don't use   | 
  * '''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 {{tl|US patent}}.  (Use one of the more specialized parameters if possible; they are linked automatically.  In other words, don't use <code><nowiki>id = PMID 15128012</nowiki></code> anymore.  Use <code>pmid = 15128012</code>.)  | 
||
* '''url''': URL of a copy of the article, if available online.  | 
  * '''url''': URL of a copy of the article, if available online.  | 
||
** '''format''': Format, i.e. PDF. Don't specify for HTML (implied as default).  | 
  ** '''format''': Format, i.e. PDF. Don't specify for HTML (implied as default).  | 
||
Revision as of 19:57, 11 February 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 |quotes= |last= |first= |authorlink= |coauthors= |year= |month= |title= |journal= |volume= |issue= |pages= |id= |url= |accessdate= }}
| using first, last | using author | 
|---|---|
{{cite journal
 | quotes = 
 | last = 
 | first = 
 | authorlink = 
 | coauthors = 
 | date = 
 | year = 
 | month = 
 | title = 
 | journal = 
 | volume = 
 | issue = 
 | pages = 
 | issn = 
 | pmid = 
 | doi = 
 | id = 
 | url = 
 | language = 
 | format = 
 | accessdate = 
 }}
 | 
{{cite journal
 | quotes = 
 | author = 
 | date = 
 | year = 
 | month = 
 | title = 
 | journal = 
 | volume = 
 | issue = 
 | pages = 
 | doi = 
 | id = 
 | url = 
 | language = 
 | format = 
 | accessdate = 
 }}
 | 
- 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 (internal 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 15128012anymore. 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-11-4". 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.
 
Examples
- {{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).
 
- {{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).
 
- {{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).
 
- {{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
 




