Template:Cite journal

(Difference between revisions)
Jump to: navigation, search
(...)
(still converting documentation...)
Line 30: Line 30:
 
}}{{if|test={{{author|}}}{{{last|}}}{{{year|}}}{{{date|}}}
 
}}{{if|test={{{author|}}}{{{last|}}}{{{year|}}}{{{date|}}}
 
   |then= 
 
   |then= 
}}<!--{{#ifeq:{{{quotes|}}}  
+
}}<!--{{#ifeq:{{{quotes|}}} | no  
| no  
+
 
  |  
 
  |  
 
  | {{#if: {{{curly|}}}|“|"}}  
 
  | {{#if: {{{curly|}}}|“|"}}  
  }}{{#if:{{{url|}}}
+
  }}-->{{if|test={{{url|}}}
   |[{{{url}}} {{{title}}}]
+
   |then=[{{{url}}}&#32;{{{title}}}]
   |{{{title}}}
+
   |else={{{title}}}
}}{{#ifeq:{{{quotes|}}}  
+
}}<!--{{#ifeq:{{{quotes|}}} | no  
| no  
+
 
  |  
 
  |  
 
  | {{#if: {{{curly|}}}|”|"}}  
 
  | {{#if: {{{curly|}}}|”|"}}  
  }}{{#if: {{{language|}}}  
+
  }}-->{{#if: {{{language|}}}  
   | &#32;(in {{{language}}})
+
   | &#32;(in&#32;{{{language}}})
}}-->{{if|test={{{format|}}}
+
}}{{if|test={{{format|}}}
 
   |then=&#32;({{{format}}})
 
   |then=&#32;({{{format}}})
 
}}{{if|test={{{journal|}}}
 
}}{{if|test={{{journal|}}}
Line 83: Line 81:
 
== Usage ==
 
== Usage ==
  
; Blank template (horizontal), common parameters only
+
; Blank template, horizontal format, common parameters only
 
: <tt><nowiki>{{cite journal | last= | first= | authorlink= | coauthors= | year= | month= | title= | journal= | volume= | issue= | pages= | id= | url= | accessdate= | quote= }}</nowiki></tt>
 
: <tt><nowiki>{{cite journal | last= | first= | authorlink= | coauthors= | year= | month= | title= | journal= | volume= | issue= | pages= | id= | url= | accessdate= | quote= }}</nowiki></tt>
  
; Blank template (vertical, with coments), all parameters
+
; Blank template, vertical format, with comments, all parameters
* Replace or delete material in &lt;angle brackets> when using the template in an article.
+
* Replace or delete any <tt><angle-bracketed text></tt> below when using the template in an article.
* Indented items are alternatives to the last non-indented item above them.
+
* Indented items are ''alternatives'' to the last non-indented item above them.
* For those familiar with [[Wikipedia:Template:Cite journal|Wikipedia's version of this template]], the <tt>quotes</tt> parameter is '''not used''' on this wiki.
+
 
: <pre><nowiki>
 
: <pre><nowiki>
 
  {{cite journal
 
  {{cite journal
| title = <title of article>
 
 
  | author = <full name of author>
 
  | author = <full name of author>
 
   | last = <last name of author>
 
   | last = <last name of author>
Line 98: Line 94:
 
  | authorlink = <link author's name to this wiki article>
 
  | authorlink = <link author's name to this wiki article>
 
  | coauthors = <list of coauthors>
 
  | coauthors = <list of coauthors>
  | date = <YYYY-MM-DD>
+
  | date = <date of publication>
 
   | year = <publication year>
 
   | year = <publication year>
 
   | month = <publication month>
 
   | month = <publication month>
 +
| title = <title of article>
 
  | journal = <journal title>
 
  | journal = <journal title>
 
  | volume = <volume of journal>
 
  | volume = <volume of journal>
Line 109: Line 106:
 
   | pmid = <PubMed Unique Identifier>
 
   | pmid = <PubMed Unique Identifier>
 
   | doi = <digital object identifier>
 
   | doi = <digital object identifier>
 +
  | doilabel = <digital object identifier label (see note below)>
 
  | url = <URL for online version of article>
 
  | url = <URL for online version of article>
  | format = <format for URL document, e.g. PDF>
+
  | format = <format for URL document, if not HTML>
 
  | language = <language article is written in, if not English>
 
  | language = <language article is written in, if not English>
 
  | accessdate = <date URL was accessed>
 
  | accessdate = <date URL was accessed>
  | laysummary = <>
+
  | accessyear = <year URL was accessed>
  | laysource = <>
+
  | accessmonthday = <month and day URL was accessed>
  | laydate = <>
+
    | accessdaymonth = <day and month URL was accessed>
  | quote = <>
+
  | laysummary = <popular/simplified summary of article>
 +
  | laysource = <source of lay summary>
 +
  | laydate = <date of lay source>
 +
  | quote = <quote from article>
 
  }}
 
  }}
 
</nowiki></pre>
 
</nowiki></pre>
  
; Notes:
+
''Other notes:''
* Please use the following format for <tt>accessdate</tt>: {{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY2}}
+
* '''<tt>doi</tt>''' is used in a URL to link to information at [http://doi.org/ doi.org]. If the document identifier has characters that need to be "[[Wikipedia:Percent-encoding|percent-escaped]]" (such as "<tt>%26</tt>" in place of "<tt>&</tt>"), then '''<tt>doilabel</tt>''' should contain the raw, "unescaped" version.
* Use ''either'' <tt>author=</tt> ''or'' <tt>last=|first=</tt>, but not both.
+
* For those familiar with [[Wikipedia:Template:Cite journal|Wikipedia's version of this template]], the '''<tt>quotes</tt>''' and '''<tt>curly</tt>''' parameters are ''not used in this version''.
 
+
* '''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 <code>last, first;</code>
+
** '''authorlink''' works either with '''author''' or with '''last''' & '''first''' to link to the appropriate article ([[Wikipedia:Interwikimedia link|interwiki link]])
+
** '''coauthors''': allows additional authors
+
* '''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).
+
*** '''month''': ''January''. Month of publication (ignored if the ''date'' field is used, or if the ''year'' field is ''not'' 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''': ''<nowiki>45&ndash;47</nowiki>'': first page, and optional last page.
+
* '''issn''': The publication's [[International Standard Serial Number]] such as ''1111-2220''
+
* '''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>''
+
**'''doilabel''': If the doi contains some characters that must be [[Percent-encoding|escaped]], use "doilabel" for the unescaped version. See {{tl|doi}}: "id" is equivalent to "doi" and "label" is "doilabel"
+
* '''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.
+
** '''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.
+
* '''accessdate''': Full date when URL was accessed, in [[ISO 8601]] YYYY-MM-DD format, for example "accessdate = {{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}". ''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", <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.''
+
*'''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.
+
* '''quote''': Relevant excerpt from the journal.
+
 
<!--
 
<!--
  

Revision as of 16:36, 3 July 2007

Please see Wikipedia:Template:Cite journal for documentation on this template, which was modified from that original to work (eventually?) on this wiki.

Please note that this template doesn't yet work here on Iron Chariots! See the talk page for information about this.

Usage

Blank template, horizontal format, common parameters only
{{cite journal | last= | first= | authorlink= | coauthors= | year= | month= | title= | journal= | volume= | issue= | pages= | id= | url= | accessdate= | quote= }}
Blank template, vertical format, with comments, all parameters
  • Replace or delete any <angle-bracketed text> below when using the template in an article.
  • Indented items are alternatives to the last non-indented item above them.
{{cite journal
| author = <full name of author>
  | last = <last name of author>
  | first = <first name of author>
| authorlink = <link author's name to this wiki article>
| coauthors = <list of coauthors>
| date = <date of publication>
  | year = <publication year>
  | month = <publication month>
| title = <title of article>
| journal = <journal title>
| volume = <volume of journal>
| issue = <issue of journal>
| pages = <page(s) on which article appears>
| issn = <ISSN of journal>
| id = <unique identifier (specify type)>
  | pmid = <PubMed Unique Identifier>
  | doi = <digital object identifier>
  | doilabel = <digital object identifier label (see note below)>
| url = <URL for online version of article>
| format = <format for URL document, if not HTML>
| language = <language article is written in, if not English>
| accessdate = <date URL was accessed>
  | accessyear = <year URL was accessed>
  | accessmonthday = <month and day URL was accessed>
    | accessdaymonth = <day and month URL was accessed>
| laysummary = <popular/simplified summary of article>
| laysource = <source of lay summary>
| laydate = <date of lay source>
| quote = <quote from article>
}}

Other notes:

  • doi is used in a URL to link to information at doi.org. If the document identifier has characters that need to be "percent-escaped" (such as "%26" in place of "&"), then doilabel should contain the raw, "unescaped" version.
  • For those familiar with Wikipedia's version of this template, the quotes and curly parameters are not used in this version.
Personal tools
Namespaces
Variants
Actions
wiki navigation
IronChariots.Org
Toolbox