Difference between revisions of "Template:REFjournal"
m |
m (typo) |
||
(27 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>[[File: | + | <includeonly>[[File:OOjs_UI_icon_journal-rtl.svg|20px|REFjournal]] {{#if:{{{last|}}}|{{#if:{{{author-link|}}}|{{#if:{{{init|}}}|[[{{{author-link}}}|{{{last}}} {{{init}}}]]|[[{{{author-link}}}|{{{last}}}{{#if:{{{first|}}}|, {{{first}}}|}}]]}}|{{#if:{{{init|}}}|{{{last}}} {{{init}}}|{{{last}}}{{#if:{{{first|}}}|, {{{first}}}|}}|}}|}}|}}{{#if:{{{last2|}}}|{{#if:{{{author2-link|}}}|{{#if:{{{init2|}}}|, [[{{{author2-link}}}|{{{last2}}} {{{init2}}}]]|, [[{{{author2-link}}}|{{{last2}}}{{#if:{{{first2|}}}|, {{{first2}}}|}}]]}}|{{#if:{{{init2|}}}|, {{{last2}}} {{{init2}}}|, {{{last2}}}{{#if:{{{first2|}}}|, {{{first2}}}|}}|}}|}}|}}{{#if:{{{last3|}}}|{{#if:{{{author3-link|}}}|{{#if:{{{init3|}}}|, [[{{{author3-link}}}|{{{last3}}} {{{init3}}}]]|, [[{{{author3-link}}}|{{{last3}}}{{#if:{{{first3|}}}|, {{{first3}}}|}}]]}}|{{#if:{{{init3|}}}|, {{{last3}}} {{{init3}}}|, {{{last3}}}{{#if:{{{first3|}}}|, {{{first3}}}|}}|}}|}}|}}{{#if:{{{last4|}}}|{{#if:{{{author4-link|}}}|{{#if:{{{init4|}}}|, [[{{{author4-link}}}|{{{last4}}} {{{init4}}}]]|, [[{{{author4-link}}}|{{{last4}}}{{#if:{{{first4|}}}|, {{{first4}}}|}}]]}}|{{#if:{{{init4|}}}|, {{{last4}}} {{{init4}}}|, {{{last4}}}{{#if:{{{first4|}}}|, {{{first4}}}|}}|}}|}}|}}{{#if:{{{last5|}}}|{{#if:{{{author5-link|}}}|{{#if:{{{init5|}}}|, [[{{{author5-link}}}|{{{last5}}} {{{init5}}}]]|, [[{{{author5-link}}}|{{{last5}}}{{#if:{{{first5|}}}|, {{{first5}}}|}}]]}}|{{#if:{{{init5|}}}|, {{{last5}}} {{{init5}}}|, {{{last5}}}{{#if:{{{first5|}}}|, {{{first5}}}|}}|}}|}}|}}{{#if:{{{last6|}}}|{{#if:{{{author6-link|}}}|{{#if:{{{init6|}}}|, [[{{{author6-link}}}|{{{last6}}} {{{init6}}}]]|, [[{{{author6-link}}}|{{{last6}}}{{#if:{{{first6|}}}|, {{{first6}}}|}}]]}}|{{#if:{{{init6|}}}|, {{{last6}}} {{{init6}}}|, {{{last6}}}{{#if:{{{first6|}}}|, {{{first6}}}|}}|}}|}}|}}{{#if:{{{last7|}}}|{{#if:{{{author7-link|}}}|{{#if:{{{init7|}}}|, [[{{{author7-link}}}|{{{last7}}} {{{init7}}}]]|, [[{{{author7-link}}}|{{{last7}}}{{#if:{{{first7|}}}|, {{{first7}}}|}}]]}}|{{#if:{{{init7|}}}|, {{{last7}}} {{{init7}}}|, {{{last7}}}{{#if:{{{first7|}}}|, {{{first7}}}|}}|}}|}}|}}{{#if:{{{last8|}}}|{{#if:{{{author8-link|}}}|{{#if:{{{init8|}}}|, [[{{{author8-link}}}|{{{last8}}} {{{init8}}}]]|, [[{{{author8-link}}}|{{{last8}}}{{#if:{{{first8|}}}|, {{{first8}}}|}}]]}}|{{#if:{{{init8|}}}|, {{{last8}}} {{{init8}}}|, {{{last8}}}{{#if:{{{first8|}}}|, {{{first8}}}|}}|}}|}}|}}{{#if:{{{last9|}}}|{{#if:{{{author9-link|}}}|{{#if:{{{init9|}}}|, [[{{{author9-link}}}|{{{last9}}} {{{init9}}}]]|, [[{{{author9-link}}}|{{{last9}}}{{#if:{{{first9|}}}|, {{{first9}}}|}}]]}}|{{#if:{{{init9|}}}|, {{{last9}}} {{{init9}}}|, {{{last9}}}{{#if:{{{first9|}}}|, {{{first9}}}|}}|}}|}}|}}{{#if:{{{coauthors|}}}|; with {{{coauthors}}} '''<span style="background:#FFE87C">[deprecated REFjournal parameter used: <coauthors> - please use <last2>, etc.]</span>'''|}}{{#ifeq:{{{etal|}}}|yes|, et al.|{{#if:{{{last|}}}|.|}}}}{{#if:{{{publisher|}}}| ({{{publisher}}})|}} {{#if:{{{url|}}}|[{{{url}}} {{{title}}}]{{#if:{{{format|}}}| [[File:Icons-mini-file pdf.svg|PDF]]|}}{{#ifeq:{{{archived|}}}|yes| (archive URL)|}}|{{{title}}}}}{{#if:{{{trans-title|}}}| [{{{trans-title}}}]{{#if:{{{language|}}}| ({{{language}}})|}}|}}{{#if:{{{journal|}}}|. ''[[Journal|{{{journal}}}]]''{{#if:{{{location|}}}| ({{{location}}})}}.|}}{{#if:{{{date|}}}| {{date|{{{date}}}}}{{#if:{{{season|}}}| ({{{season}}})|}}; | }}{{#if:{{{volume|}}}| '''{{{volume}}}'''|}}{{#if:{{{issue|}}}|({{{issue}}})|}}{{#if: {{{article|}}}{{{page|}}}{{{pages|}}}|{{#if:{{{article|}}}|: [{{{article}}}]|}}{{#if:{{{page|}}}|: {{{page}}}|}}{{#if:{{{pages|}}}|: {{{pages}}}|}}.|}}{{#if:{{{pubmedID|}}}| [https://www.ncbi.nlm.nih.gov/pubmed/{{{pubmedID}}}?dopt=Abstract PMID].|}}{{#if:{{{pubmedCID|}}}| [https://www.ncbi.nlm.nih.gov/pmc/articles/PMC{{{pubmedCID}}}/ PMC].|}}{{#if:{{{DOI|}}}| [https://doi.org/{{{DOI}}} DOI].|}}{{#if:{{{doi|}}}| [https://doi.org/{{{doi}}} DOI].|}}{{#if:{{{accessdate|}}}| Retrieved {{date|{{{accessdate}}}}}.|}}{{#if:{{{quote|}}}|<br><small>Quote: <q>{{{quote}}}</q></small>|}}</includeonly><noinclude> |
+ | {{Template:REFjournal/Docu}} | ||
+ | |||
+ | [[Category:Reference template]] | ||
+ | |||
+ | [[da:Skabelon:REFjournal]] | ||
[[de:Vorlage:REFjournal]]</noinclude> | [[de:Vorlage:REFjournal]]</noinclude> |
Latest revision as of 17:12, 26 May 2023
This template is a homebrewn IntactiWiki template which replaces the more complex Wikipedia [[Template:cite journal]].
Contents
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 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}}
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}}
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}}
Doo, John. Langerhans cells arise from monocytes in vivo . 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}}
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 }}
- Denniston GC, Hodges FM, Milos MF, Young H, Glick LB, Svoboda JS, Bigelow J, Griffiths RW, Geisheker JV; with George Hill [deprecated REFjournal parameter used: <coauthors> - please use <last2>, etc.], et al. (Rio de Janeiro Heterosexual Study Group) Der Jahrtausendwende-Fehler (archive URL) [The Millennium Bug] (German). The Wonderful Journal (London). 2019 (Spring/Summer); 42(007): [e123456]: 123: 123-234. PMID. PMC. DOI. Retrieved 14 October 2019.
Quote:Toby or not Toby.
See also
- Template:BookInfo
- Template:Citation
- Template:REFbook
- Template:REFconference
Template:REFcontribution- Please don't use this any more.- Template:REFdocument
- Template:REFjournal
- Template:REFnews
- Template:REFweb