Difference between revisions of "Template:REFjournal"

From IntactiWiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
<includeonly>{{{last}}}{{#if: {{{first|}}} | ,&nbsp;{{{first}}} | }}{{#if: {{{coauthors|}}} | &#59; with {{{coauthors}}} | }}{{#if: {{{last|first|coauthors|}}} | &nbsp; | }}{{#if: {{{pubyear|}}} | ({{{pubyear}}}):&nbsp; | }}{{#if: {{{date|}}} | ({{{date}}}):&nbsp; | }}{{#if: {{{url|}}} | [{{{url}}} {{{title}}}] | {{{title}}}}}{{#if: {{{journal|}}} | , in: ''{{{journal}}}'' | }}{{#if: {{{volume|}}} | , vol. {{{volume}}} | }}{{#if: {{{issue|}}} | , issue {{{issue}}} | }}{{#if: {{{pages|}}} | , p. {{{pages}}} | }}{{#if: {{{quote|}}} | , Quote: ''"{{{quote}}}"'' | }}{{#if: {{{pubmedID|}}} | ,&nbsp;[https://www.ncbi.nlm.nih.gov/pubmed/{{{pubmedID}}}?dopt=Abstract PMID] | }}{{#if: {{{pubmedCID|}}} | ,&nbsp;[https://www.ncbi.nlm.nih.gov/pmc/articles/PMC{{{pubmedCID}}}/ PMC] | }}{{#if: {{{DOI|}}} | ,&nbsp;[https://doi.org/{{{DOI}}} DOI] | }}{{#if: {{{accessdate|}}} | , retrieved {{{accessdate}}} | }}.</includeonly>
+
<includeonly>{{{last}}}{{#if: {{{first|}}} | ,&nbsp;{{{first}}} | }}{{#if: {{{coauthors|}}} | &#59; with {{{coauthors}}} | }}{{#if: {{{last|first|coauthors|}}} | &nbsp; | }}{{#if: {{{pubyear|}}} | ({{{pubyear}}}):&nbsp; | }}{{#if: {{{date|}}} | ({{{date}}}):&nbsp; | }}{{#if: {{{url|}}} | [{{{url}}} {{{title}}}] | {{{title}}}}}{{#if: {{{journal|}}} | , in: ''{{{journal}}}'' | }}{{#if: {{{volume|}}} | , vol. {{{volume}}} | }}{{#if: {{{issue|}}} | , issue {{{issue}}} | }}{{#if: {{{pages|}}} | , p. {{{pages}}} | }}{{#if: {{{quote|}}} | , Quote: ''"{{{quote}}}"'' | }}{{#if: {{{pubmedID|}}} | ,&nbsp;[https://www.ncbi.nlm.nih.gov/pubmed/{{{pubmedID}}}?dopt=Abstract PMID] | }}{{#if: {{{pubmedCID|}}} | ,&nbsp;[https://www.ncbi.nlm.nih.gov/pmc/articles/PMC{{{pubmedCID}}}/ PMC] | }}{{#if: {{{DOI|}}} | ,&nbsp;[https://doi.org/{{{DOI}}} DOI] | }}{{#if: {{{accessdate|}}} | . Retrieved {{{accessdate}}} | }}.</includeonly>
 
<noinclude>{{Template:REFjournal/Docu}}</noinclude>
 
<noinclude>{{Template:REFjournal/Docu}}</noinclude>

Revision as of 17:51, 10 September 2019

This template is a homebrewn IntactiWiki template which replaces the more complex Wikipedia [[Template:cite journal]].

Common parameters

{{REFjournal
 |last=
 |init=
 |author-link=
 |last2=
 |init2=
 |author2-link=
 |url=
 |title=
 |journal=
 |date=
 |volume=
 |issue=
 |pages=
 |accessdate=
}}

Required parameters

  • <last>
  • <title>
  • <journal>

AMA style

If you want to use real AMA style, please use the initials parameters init and init<n>, not the first and first<n> parameters.

AMA formatting of journal references sometimes removes spaces between year, volume, issue, and pages information (esp. in printed books where these blanks may increase the number of text lines). On web pages, the blank helps for a better text wrapping and makes references more readable.

AMA journal references in books:

  • journal name (abbreviated). Year;volume(issue):page(s), often abbreviated to the minimum required.
  • Example: Wonderf J. 2019;42(7):123-4.

AMA journal references online:

  • journal name (abbreviated or not). Year; volume(issue): page(s).
  • Example: The Wonderful Journal. 2019; 42(7): 123-124.

Deprecated parameter

  • <coauthors> - use <last2>, etc., instead

Notes

  • The IntactiWiki uses this template also as a replacement of the template cite article used by the IntactWiki.
  • You can add up to 9 authors by using additional parameter fields from last3, first3, author3-link to last9, first9, author9-link. See below. If a reference has more than 9 authors, please note them likewise (last10, first10, last11, first11, etc.) although they aren't supported yet. Add the <etal> parameter (see next note) to indicate that there are more than 9 authors. This isn't done automatically yet. Chances are that this template may support more than 9 authors in the future.
  • There is an <etal> parameter which outputs ", et al." after the last listed author, if the value is set to yes.
  • The <archived> parameter outputs " (archive URL)" if the value is set to yes.

Examples

Note: The small icon in front of each reference also has a "REFjournal " mouseover text and helps template developers to more easily identify the template used in large articles. Chances are that they will be used permanently.

{{REFjournal |last=Doo |first=John |init=J |title=Langerhans cells arise from monocytes in vivo |journal=Nature Immunology}}

Doo, John Langerhans cells arise from monocytes in vivo, in: Nature Immunology.


{{REFjournal |last=Doo |first=John |title=Langerhans cells arise from monocytes in vivo |journal=Nature Immunology |url=https://www.nature.com/articles/ni1307 |accessdate=2019-09-20}}

Doo, John Langerhans cells arise from monocytes in vivo, in: Nature Immunology. Retrieved 2019-09-20.


{{REFjournal |last=Doo |first=John |title=Langerhans cells arise from monocytes in vivo |date=1999 |journal=Nature Immunology |volume=7 |issue=3 |pages=265-73 |url=https://www.nature.com/articles/ni1307 |accessdate=2019-09-20}}

Doo, John (1999): Langerhans cells arise from monocytes in vivo, in: Nature Immunology, vol. 7, issue 3, p. 265-73. Retrieved 2019-09-20.


{{REFjournal |last=Doo |first=John |title=Langerhans cells arise from monocytes in vivo |date=1999 |journal=Nature Immunology |volume=7 |issue=3 |pages=265-73 |url=https://www.nature.com/articles/ni1307 |format=PDF |quote=Toby is not Toby. |pubmedID=16444257 |pubmedCID= |DOI=10.1038/ni1307 |accessdate=2019-09-20}}

Doo, John (1999): Langerhans cells arise from monocytes in vivo, in: Nature Immunology, vol. 7, issue 3, p. 265-73, Quote: "Toby is not Toby."PMIDDOI. Retrieved 2019-09-20.


{{REFjournal |last=Dunkel |first=Ulf |author-link=Ulf Dunkel |last2=Abel |first2=Eve |title=Langerhans-Zellen entstehen in vivo aus Monozyten |trans-title=Langerhans cells arise from monocytes in vivo |language=German |date=1999 |journal=Nature Immunology |volume=7 |issue=3 |pages=265-73 |url=https://www.nature.com/articles/ni1307 |quote=Toby is not Toby. |pubmedID=16444257 |pubmedCID= |doi=10.1038/ni1307 |accessdate=2019-09-20}}

Dunkel, Ulf (1999): Langerhans-Zellen entstehen in vivo aus Monozyten, in: Nature Immunology, vol. 7, issue 3, p. 265-73, Quote: "Toby is not Toby."PMID. Retrieved 2019-09-20.


Complete parameters

{{REFjournal
 |last=
 |first=
 |init=
 |author-link=
 |last2=
 |first2=
 |init2=
 |author2-link=
 |last3=
 |first3=
 |init3=
 |author3-link=
 |last4=
 |first4=
 |init4=
 |author4-link=
 |last5=
 |first5=
 |init5=
 |author5-link=
 |last6=
 |first6=
 |init6=
 |author6-link=
 |last7=
 |first7=
 |init7=
 |author7-link=
 |last8=
 |first8=
 |init8=
 |author8-link=
 |last9=
 |first9=
 |init9=
 |author9-link=
 |etal=yes
 |title=
 |trans-title=
 |language=
 |journal=
 |location=
 |date=
 |season=
 |volume=
 |issue=
 |article=
 |page=
 |pages=
 |url=
 |archived=
 |quote=
 |pubmedID=
 |pubmedCID=
 |DOI=
 |doi=
 |accessdate=
}}

Note: <doi> is an alternative for <DOI>. Don't use both in the same template in order to avoid double output of the DOI link.

Example

* {{REFjournal
 |last=Denniston
 |first=George C.
 |init=GC
 |author-link=George C. Denniston
 |last2=Hodges
 |first2=Frederick M.
 |init2=FM
 |author2-link=Frederick M. Hodges
 |last3=Milos
 |first3=Marilyn Fayre
 |init3=MF
 |author3-link=Marilyn Fayre Milos
 |last4=Young
 |first4=Hugh
 |init4=H
 |author4-link=Hugh Young
 |last5=Glick
 |first5=Leonard B.
 |init5=LB
 |author5-link=Leonard B. Glick
 |last6=Svoboda
 |first6=J. Steven 
 |init6=JS
 |author6-link=J. Steven Svoboda
 |last7=Bigelow
 |first7=Jim
 |init7=J
 |author7-link=Jim Bigelow
 |last8=Griffiths
 |first8=R. Wayne
 |init8=RW
 |author8-link=R. Wayne Griffiths
 |last9=Geisheker
 |first9=John V.
 |init9=JV
 |author9-link=John V. Geisheker
 |etal=yes
 |publisher=Rio de Janeiro Heterosexual Study Group
 |coauthors=[[George Hill]]
 |title=Der Jahrtausendwende-Fehler
 |trans-title=The Millennium Bug
 |language=German
 |journal=The Wonderful Journal
 |location=London
 |date=2019
 |season=Spring/Summer
 |volume=42
 |issue=007
 |article=e123456
 |page=123
 |pages=123-234
 |url=http://en.intactiwiki.org
 |archived=yes
 |quote=Toby or not Toby.
 |pubmedID=13412341234
 |pubmedCID=12341234
 |DOI=10.1007/978-1-4757-3351-8
 |accessdate=2019-10-14
}}


See also