Difference between revisions of "Template:REFjournal/Docu"

From IntactiWiki
Jump to navigation Jump to search
m
m (added <doi> parameter)
 
(27 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
This template is a homebrewn IntactiWiki template which replaces the more complex Wikipedia '''<nowiki>[[Template:cite journal]]</nowiki>'''.
 
This template is a homebrewn IntactiWiki template which replaces the more complex Wikipedia '''<nowiki>[[Template:cite journal]]</nowiki>'''.
 +
 +
== Common parameters ==
 
<pre>{{REFjournal
 
<pre>{{REFjournal
 
  |last=
 
  |last=
  |first=
+
  |init=
 
  |author-link=
 
  |author-link=
  |coauthors=
+
  |last2=
 +
|init2=
 +
|author2-link=
 +
|url=
 
  |title=
 
  |title=
 
  |journal=
 
  |journal=
Line 11: Line 16:
 
  |issue=
 
  |issue=
 
  |pages=
 
  |pages=
|url=
 
|quote=
 
|pubmedID=
 
|pubmedCID=
 
|DOI=
 
 
  |accessdate=
 
  |accessdate=
 
}}</pre>
 
}}</pre>
Line 23: 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 ==
 +
* '''<coauthors>''' - use <last2>, etc., instead
  
 
== Notes ==
 
== Notes ==
 
* 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.
 +
* 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 ==
 
== Examples ==
 
{{REFicon|REFjournal }}
 
{{REFicon|REFjournal }}
<pre>{{REFjournal |last=Doo |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 |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 |coauthors=Abel, Eve |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>
{{REFjournal |last=Doo |first=John |coauthors=Abel, Eve |title=Langerhans cells arise from monocytes in vivo |journal=Nature Immunology |url=https://www.nature.com/articles/ni1307 |accessdate=2019-09-20}}
+
{{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>{{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 |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 |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 |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>
 +
{{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 ==
 +
<pre>{{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=
 +
}}</pre>
  
<pre>{{REFjournal |last=Doo |first=John |coauthors=Abel, Eve |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>
+
{{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.
{{REFjournal |last=Doo |first=John |coauthors=Abel, Eve |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 |coauthors=Abel, Eve |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>
+
=== Example ===
{{REFjournal |last=Doo |first=John |coauthors=Abel, Eve |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>* {{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
 +
}}</pre>
  
<pre>{{REFjournal |last=Dunkel |first=Ulf |author-link=Ulf Dunkel |coauthors=Abel, Eve |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>
+
* {{REFjournal
{{REFjournal |last=Dunkel |first=Ulf |author-link=Ulf Dunkel |coauthors=Abel, Eve |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}}
+
|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
 +
}}
  
 
{{SEEALSO}}
 
{{SEEALSO}}
{{DefaultTemplates}}
+
{{DefaultTemplates}}<noinclude>
 +
[[Category:Reference template]]
 +
 
 +
[[da:Skabelon:REFjournal/Doku]]
 +
[[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