Difference between revisions of "Template:REFjournal/Docu"

From IntactiWiki
Jump to navigation Jump to search
m
m (added <doi> parameter)
 
(8 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
<pre>{{REFjournal
 
<pre>{{REFjournal
 
  |last=
 
  |last=
  |first=
+
  |init=
 
  |author-link=
 
  |author-link=
 +
|last2=
 +
|init2=
 +
|author2-link=
 +
|url=
 
  |title=
 
  |title=
 
  |journal=
 
  |journal=
Line 12: Line 16:
 
  |issue=
 
  |issue=
 
  |pages=
 
  |pages=
|url=
 
 
  |accessdate=
 
  |accessdate=
 
}}</pre>
 
}}</pre>
Line 20: Line 23:
 
* '''<title>'''
 
* '''<title>'''
 
* '''<journal>'''
 
* '''<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 ==
 
== Deprecated parameter ==
Line 27: Line 43:
 
* The IntactiWiki uses this template also as a replacement of the template ''cite article'' used by the [[IntactWiki]].
 
* 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'''. [[#Complete parameters|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.
 
* You can add up to 9 authors by using additional parameter fields from '''last3''', '''first3''', '''author3-link''' to '''last9''', '''first9''', '''author9-link'''. [[#Complete parameters|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'''.
+
* 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'''.
 
* The <archived> parameter outputs " (archive URL)" if the value is set to '''yes'''.
  
 
== Examples ==
 
== Examples ==
 
{{REFicon|REFjournal }}
 
{{REFicon|REFjournal }}
<pre>{{REFjournal |last=Doo |init=J |first=John |title=Langerhans cells arise from monocytes in vivo |journal=Nature Immunology}}</pre>
+
<pre>{{REFjournal |last=Doo |first=John |init=J |title=Langerhans cells arise from monocytes in vivo |journal=Nature Immunology}}</pre>
{{REFjournal |last=Doo |init=J |first=John |title=Langerhans cells arise from monocytes in vivo |journal=Nature Immunology}}
+
{{REFjournal |last=Doo |first=John |init=J |title=Langerhans cells arise from monocytes in vivo |journal=Nature Immunology}}
  
 
<pre>{{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}}</pre>
 
<pre>{{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}}</pre>
Line 41: Line 57:
 
{{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}}
 
{{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}}
  
<pre>{{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 |quote=Toby is not Toby. |pubmedID=16444257 |pubmedCID= |DOI=10.1038/ni1307 |accessdate=2019-09-20}}</pre>
+
<pre>{{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}}</pre>
{{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 |quote=Toby is not Toby. |pubmedID=16444257 |pubmedCID= |DOI=10.1038/ni1307 |accessdate=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}}
  
<pre>{{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}}</pre>
+
<pre>{{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}}</pre>
{{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}}
+
{{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}}
  
 
== Complete parameters ==
 
== Complete parameters ==
Line 51: Line 67:
 
  |last=
 
  |last=
 
  |first=
 
  |first=
 +
|init=
 
  |author-link=
 
  |author-link=
 
  |last2=
 
  |last2=
 
  |first2=
 
  |first2=
 +
|init2=
 
  |author2-link=
 
  |author2-link=
 
  |last3=
 
  |last3=
 
  |first3=
 
  |first3=
 +
|init3=
 
  |author3-link=
 
  |author3-link=
 
  |last4=
 
  |last4=
 
  |first4=
 
  |first4=
 +
|init4=
 
  |author4-link=
 
  |author4-link=
 
  |last5=
 
  |last5=
 
  |first5=
 
  |first5=
 +
|init5=
 
  |author5-link=
 
  |author5-link=
 
  |last6=
 
  |last6=
 
  |first6=
 
  |first6=
 +
|init6=
 
  |author6-link=
 
  |author6-link=
 
  |last7=
 
  |last7=
 
  |first7=
 
  |first7=
 +
|init7=
 
  |author7-link=
 
  |author7-link=
 
  |last8=
 
  |last8=
 
  |first8=
 
  |first8=
 +
|init8=
 
  |author8-link=
 
  |author8-link=
 
  |last9=
 
  |last9=
 
  |first9=
 
  |first9=
 +
|init9=
 
  |author9-link=
 
  |author9-link=
 
  |etal=yes
 
  |etal=yes
Line 83: Line 108:
 
  |location=
 
  |location=
 
  |date=
 
  |date=
 +
|season=
 
  |volume=
 
  |volume=
 
  |issue=
 
  |issue=
 +
|article=
 +
|page=
 
  |pages=
 
  |pages=
 
  |url=
 
  |url=
Line 92: Line 120:
 
  |pubmedCID=
 
  |pubmedCID=
 
  |DOI=
 
  |DOI=
 +
|doi=
 
  |accessdate=
 
  |accessdate=
 
}}</pre>
 
}}</pre>
 +
 +
{{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 ===
 
=== Example ===
Line 99: Line 130:
 
  |last=Denniston
 
  |last=Denniston
 
  |first=George C.
 
  |first=George C.
 +
|init=GC
 
  |author-link=George C. Denniston
 
  |author-link=George C. Denniston
 
  |last2=Hodges
 
  |last2=Hodges
 
  |first2=Frederick M.
 
  |first2=Frederick M.
 +
|init2=FM
 
  |author2-link=Frederick M. Hodges
 
  |author2-link=Frederick M. Hodges
 
  |last3=Milos
 
  |last3=Milos
 
  |first3=Marilyn Fayre
 
  |first3=Marilyn Fayre
 +
|init3=MF
 
  |author3-link=Marilyn Fayre Milos
 
  |author3-link=Marilyn Fayre Milos
 
  |last4=Young
 
  |last4=Young
 
  |first4=Hugh
 
  |first4=Hugh
 +
|init4=H
 
  |author4-link=Hugh Young
 
  |author4-link=Hugh Young
 
  |last5=Glick
 
  |last5=Glick
 
  |first5=Leonard B.
 
  |first5=Leonard B.
 +
|init5=LB
 
  |author5-link=Leonard B. Glick
 
  |author5-link=Leonard B. Glick
 
  |last6=Svoboda
 
  |last6=Svoboda
 
  |first6=J. Steven  
 
  |first6=J. Steven  
 +
|init6=JS
 
  |author6-link=J. Steven Svoboda
 
  |author6-link=J. Steven Svoboda
 
  |last7=Bigelow
 
  |last7=Bigelow
 
  |first7=Jim
 
  |first7=Jim
 +
|init7=J
 
  |author7-link=Jim Bigelow
 
  |author7-link=Jim Bigelow
 
  |last8=Griffiths
 
  |last8=Griffiths
 
  |first8=R. Wayne
 
  |first8=R. Wayne
 +
|init8=RW
 
  |author8-link=R. Wayne Griffiths
 
  |author8-link=R. Wayne Griffiths
 
  |last9=Geisheker
 
  |last9=Geisheker
 
  |first9=John V.
 
  |first9=John V.
 +
|init9=JV
 
  |author9-link=John V. Geisheker
 
  |author9-link=John V. Geisheker
 
  |etal=yes
 
  |etal=yes
Line 133: Line 173:
 
  |location=London
 
  |location=London
 
  |date=2019
 
  |date=2019
 +
|season=Spring/Summer
 
  |volume=42
 
  |volume=42
 
  |issue=007
 
  |issue=007
 +
|article=e123456
 +
|page=123
 
  |pages=123-234
 
  |pages=123-234
 
  |url=http://en.intactiwiki.org
 
  |url=http://en.intactiwiki.org
Line 148: Line 191:
 
  |last=Denniston
 
  |last=Denniston
 
  |first=George C.
 
  |first=George C.
 +
|init=GC
 
  |author-link=George C. Denniston
 
  |author-link=George C. Denniston
 
  |last2=Hodges
 
  |last2=Hodges
 
  |first2=Frederick M.
 
  |first2=Frederick M.
 +
|init2=FM
 
  |author2-link=Frederick M. Hodges
 
  |author2-link=Frederick M. Hodges
 
  |last3=Milos
 
  |last3=Milos
 
  |first3=Marilyn Fayre
 
  |first3=Marilyn Fayre
 +
|init3=MF
 
  |author3-link=Marilyn Fayre Milos
 
  |author3-link=Marilyn Fayre Milos
 
  |last4=Young
 
  |last4=Young
 
  |first4=Hugh
 
  |first4=Hugh
 +
|init4=H
 
  |author4-link=Hugh Young
 
  |author4-link=Hugh Young
 
  |last5=Glick
 
  |last5=Glick
 
  |first5=Leonard B.
 
  |first5=Leonard B.
 +
|init5=LB
 
  |author5-link=Leonard B. Glick
 
  |author5-link=Leonard B. Glick
 
  |last6=Svoboda
 
  |last6=Svoboda
 
  |first6=J. Steven  
 
  |first6=J. Steven  
 +
|init6=JS
 
  |author6-link=J. Steven Svoboda
 
  |author6-link=J. Steven Svoboda
 
  |last7=Bigelow
 
  |last7=Bigelow
 
  |first7=Jim
 
  |first7=Jim
 +
|init7=J
 
  |author7-link=Jim Bigelow
 
  |author7-link=Jim Bigelow
 
  |last8=Griffiths
 
  |last8=Griffiths
 
  |first8=R. Wayne
 
  |first8=R. Wayne
 +
|init8=RW
 
  |author8-link=R. Wayne Griffiths
 
  |author8-link=R. Wayne Griffiths
 
  |last9=Geisheker
 
  |last9=Geisheker
 
  |first9=John V.
 
  |first9=John V.
 +
|init9=JV
 
  |author9-link=John V. Geisheker
 
  |author9-link=John V. Geisheker
 
  |etal=yes
 
  |etal=yes
Line 182: Line 234:
 
  |location=London
 
  |location=London
 
  |date=2019
 
  |date=2019
 +
|season=Spring/Summer
 
  |volume=42
 
  |volume=42
 
  |issue=007
 
  |issue=007
 +
|article=e123456
 +
|page=123
 
  |pages=123-234
 
  |pages=123-234
 
  |url=http://en.intactiwiki.org
 
  |url=http://en.intactiwiki.org
Line 196: Line 251:
 
{{SEEALSO}}
 
{{SEEALSO}}
 
{{DefaultTemplates}}<noinclude>
 
{{DefaultTemplates}}<noinclude>
[[Category:Reference templates]]
+
[[Category:Reference template]]
  
 
[[da:Skabelon:REFjournal/Doku]]
 
[[da:Skabelon:REFjournal/Doku]]
 
[[de:Vorlage:REFjournal/Doku]]</noinclude>
 
[[de:Vorlage:REFjournal/Doku]]</noinclude>

Latest revision as of 17:20, 26 May 2023

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}}

REFjournal Doo J. Langerhans cells arise from monocytes in vivo. 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}}

REFjournal Doo, John. Langerhans cells arise from monocytes in vivo. Nature Immunology. Retrieved 20 September 2019.

{{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}}

REFjournal Doo, John. Langerhans cells arise from monocytes in vivo. Nature Immunology. 1999; 7(3): 265-73. Retrieved 20 September 2019.

{{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}}

REFjournal Doo, John. Langerhans cells arise from monocytes in vivo PDF. Nature Immunology. 1999; 7(3): 265-73. PMID. DOI. Retrieved 20 September 2019.
Quote: Toby is not Toby.

{{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}}

REFjournal Dunkel, Ulf, Abel, Eve. Langerhans-Zellen entstehen in vivo aus Monozyten [Langerhans cells arise from monocytes in vivo] (German). Nature Immunology. 1999; 7(3): 265-73. PMID. DOI. Retrieved 20 September 2019.
Quote: Toby is not Toby.

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