Cite journal: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
(adding "Usage" section, as cite book and cite web have)
m (252 revisions imported)
 
(154 intermediate revisions by 51 users not shown)
Line 1: Line 1:
<cite style="font-style:normal">{{#if:{{{author|}}}{{{last|}}}
<includeonly>{{#invoke:Citation/CS1|citation
  |{{#if:{{{authorlink|}}}
|CitationClass=journal
    |[[{{{authorlink}}}|{{#if:
}}</includeonly><noinclude>
      {{{last|}}}
{{documentation}}
      |{{{last}}}{{#if:
        {{{first|}}}
        |, {{{first}}}
      }}
      |{{{author}}}
    }}]]
    |{{#if:{{{last|}}}
      |{{{last}}}{{#if:
        {{{first|}}}
        |, {{{first}}}
      }}
      |{{{author}}}
    }}
  }}
}}{{#if:{{{author|}}}{{{last|}}}
  |{{#if:{{{coauthors|}}}
    |, {{{coauthors}}}
  }}
}}{{#if:{{{date|}}}
  |&#32;({{{date}}})
  |{{#if:{{{year|}}}
    |{{#if:{{{month|}}}
      |&#32;({{{month}}} {{{year}}})
      |&#32;({{{year}}})
    }}
  }}
}}{{#if:{{{author|}}}{{{last|}}}{{{year|}}}
  |.&#32;
}}{{#if:{{{url|}}}
  |[{{{url}}}
  |
}} {{#if: {{{curly|}}}|“|"}}{{{title}}}{{#if: {{{curly|}}}|”|"}}{{#if:{{{url|}}}
  |]
  |
}}{{#if: {{{format|}}}
  | &#32;({{{format}}})
}}{{#if:{{{journal|}}}
  |. ''{{{journal}}}''
}}{{#if:{{{volume|}}}
  |&#32;'''{{{volume}}}'''
}}{{#if:{{{issue|}}}
  |&#32;({{{issue}}})
}}{{#if:{{{pages|}}}
  |<nowiki>:</nowiki> {{{pages}}}
}}{{#if: {{{doi|}}}
  | . [[Digital object identifier|DOI]]:[http://dx.doi.org/{{{doi}}} {{{doi}}}]
}}{{#if:{{{id|}}}
  |. {{{id}}}
}}{{#if:{{{accessdate|}}}
  |. Retrieved on [[{{{accessdate}}}]]
}}.</cite><noinclude>
 
{{esoteric}}
 
== Usage ==
{| cellpadding="0" cellspacing="6"
! using first, last !! using author
|- width="50%"
|
<pre>
{{cite journal
| last =
| first =
| authorlink =
| coauthors =
| year =
| month =
| title = '''REQUIRED'''
| journal =
| volume =
| issue =
| pages =
| doi =
| id =
| url =
| format =
| accessdate =
}}</pre>
| style="vertical-align: top;" |
<pre>
{{cite journal
| author =
| year =
| month =
| title = '''REQUIRED'''
| journal =
| volume =
| issue =
| pages =
| doi =
| id =
| url =  
| format =
| accessdate =
}}</pre>
|}
 
* '''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 (internal link)
** '''coauthors''': allows additional authors
* '''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).
* '''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.
* '''doi''': [[digital object identifier]]. See also {{tl|doi}}
* '''id''': Identifier such as ''<nowiki>{{</nowiki>[[:Template:ISSN|ISSN]]|1111-2220}}'', PMID 15128012
**other suitable id-related templates: {{tl|doi}}, {{tl|US patent}}
* '''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''.
</onlyinclude>
 
[[Category:Citation templates|{{PAGENAME}}]]
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
 
[[cs:Šablona:Citace časopisu]]
[[de:Vorlage:Cite journal]]
[[ru:Шаблон:Статья]]
[[vi:Tiêu bản:Chú thích tạp chí]]
</noinclude>
</noinclude>

Latest revision as of 03:47, 5 September 2020