Template:Cite journal/doc: Difference between revisions
From All Skies Encyclopaedia
imported>Ligulem (new) |
imported>Ligulem (move "quotes" parameter to beginning of lists) |
||
Line 6: | Line 6: | ||
Copyable version: |
Copyable version: |
||
<code><nowiki>{{cite journal |quotes= |last= |first= |authorlink= |coauthors= |year= |month= |title= |journal= |volume= |issue= |pages= |id= |url= |accessdate= }}</nowiki></code> |
|||
{| cellpadding="0" cellspacing="6" |
{| cellpadding="0" cellspacing="6" |
||
Line 14: | Line 14: | ||
<pre> |
<pre> |
||
{{cite journal |
{{cite journal |
||
⚫ | |||
| last = |
| last = |
||
| first = |
| first = |
||
Line 21: | Line 22: | ||
| year = |
| year = |
||
| month = |
| month = |
||
| title = |
| title = |
||
| journal = |
| journal = |
||
| volume = |
| volume = |
||
Line 31: | Line 32: | ||
| format = |
| format = |
||
| accessdate = |
| accessdate = |
||
⚫ | |||
}}</pre> |
}}</pre> |
||
| style="vertical-align: top;" | |
| style="vertical-align: top;" | |
||
<pre> |
<pre> |
||
{{cite journal |
{{cite journal |
||
| quotes = |
|||
| author = |
| author = |
||
| date = |
| date = |
||
| year = |
| year = |
||
| month = |
| month = |
||
| title = |
| title = |
||
| journal = |
| journal = |
||
| volume = |
| volume = |
||
Line 53: | Line 54: | ||
|} |
|} |
||
⚫ | |||
* '''author''': Author |
* '''author''': Author |
||
** '''last''' works with '''first''' to produce <code>last, first</code> |
** '''last''' works with '''first''' to produce <code>last, first</code> |
||
Line 71: | Line 73: | ||
** '''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). |
||
* '''accessdate''': Full date when URL was accessed, in [[ISO 8601]] YYYY-MM-DD format, eg. ''2006-02-17''. |
* '''accessdate''': Full date when URL was accessed, in [[ISO 8601]] YYYY-MM-DD format, eg. ''2006-02-17''. |
||
⚫ | |||
=== Examples === |
=== Examples === |
Revision as of 15:50, 15 September 2006
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 = | doi = | id = | url = | format = | accessdate = }} |
{{cite journal | quotes = | author = | date = | year = | month = | title = | journal = | volume = | issue = | pages = | doi = | id = | url = | 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.
- doi: digital object identifier. See also {{doi}}
- id: Identifier such as {{ISSN|1111-2220}}, PMID 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).
- accessdate: Full date when URL was accessed, in ISO 8601 YYYY-MM-DD format, eg. 2006-02-17.
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 | id = {{doi|10.1038/426007a}} }}
- → Lua error: bad argument #1 to "get" (not a valid title).
- You can also specify the doi directly:
- {{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 | format = PDF }}
- → 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