Template:Cite journal
(Difference between revisions)
(...) |
(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 |
| − | + | ||
| | | | ||
| {{#if: {{{curly|}}}|“|"}} | | {{#if: {{{curly|}}}|“|"}} | ||
| − | }}{{ | + | }}-->{{if|test={{{url|}}} |
| − | |[{{{url}}} {{{title}}}] | + | |then=[{{{url}}} {{{title}}}] |
| − | |{{{title}}} | + | |else={{{title}}} |
| − | }}{{#ifeq:{{{quotes|}}} | + | }}<!--{{#ifeq:{{{quotes|}}} | no |
| − | + | ||
| | | | ||
| {{#if: {{{curly|}}}|”|"}} | | {{#if: {{{curly|}}}|”|"}} | ||
| − | }}{{#if: {{{language|}}} | + | }}-->{{#if: {{{language|}}} |
| − | |  (in {{{language}}}) | + | |  (in {{{language}}}) |
| − | }} | + | }}{{if|test={{{format|}}} |
|then= ({{{format}}}) | |then= ({{{format}}}) | ||
}}{{if|test={{{journal|}}} | }}{{if|test={{{journal|}}} | ||
| Line 83: | Line 81: | ||
== Usage == | == Usage == | ||
| − | ; Blank template | + | ; 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 | + | ; Blank template, vertical format, with comments, all parameters |
| − | * Replace or delete | + | * 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. |
| − | + | ||
: <pre><nowiki> | : <pre><nowiki> | ||
{{cite journal | {{cite journal | ||
| − | |||
| 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 = < | + | | 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, | + | | 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> | ||
| − | + | ''Other notes:'' | |
| − | + | * '''<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. | |
| − | + | * 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''. | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | * | + | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
<!-- | <!-- | ||
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.