Template:Cite journal: Difference between revisions

From Atomix
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>
This is the "Cite journal" template.  It can be used to format textbooks and publications. DOI have issues displaying when there are less than ( <nowiki><</nowiki>) and greater than  <nowiki>></nowiki>operators.
By default, the formatted references will appear at the bottom of the page. It's good practice to place a section <nowiki>==Notes==</nowiki> at the bottom of the page.
The template can be called in the following format if not using the form:
<pre>
{{Cite journal
|authors=
|journal_or_publisher=
|paper_or_booktitle=
|year=
|doi=
}}
</pre>
For example doing
<pre>
<ref name="Sreenivasan">{{Cite journal
|authors= K. R. Sreenivasan
|journal_or_publisher= Phys. Fluids
|paper_or_booktitle=  On the universality of the Kolmogorov constant
|year= 1995
|doi= 10.1063/1.868656
}}</ref>
</pre>
will create  a citation <ref name="Sreenivasan">{{Cite journal
|authors= K. R. Sreenivasan
|journal_or_publisher= Phys. Fluids
|paper_or_booktitle=  On the universality of the Kolmogorov constant
|year= 1995
|doi= 10.1063/1.868656
}}</ref>.
You can continue referring to it using <nowiki><ref name="Sreenivasan"></nowiki> that will reuse the correct reference <ref name="Sreenivasan"/>.
<includeonly>
<includeonly>
{{{authors}}}. {{{year}}}. {{{paper_or_booktitle}}}. {{{journal_or_publisher}}}. doi:{{{doi}}}
{{{authors}}}. {{{year}}}. {{{paper_or_booktitle}}}. {{{journal_or_publisher}}}. doi:{{{doi}}}
Line 41: Line 5:
<noinclude>
<noinclude>
This template formats journal citations without requiring any extensions.
This template formats journal citations without requiring any extensions.
Usage example:
<ref name="Example">{{Cite journal
|authors=Lastname, A., and B. Lastname
|year=2020
|paper_or_booktitle=Title of the paper
|journal_or_publisher=Journal Name
|doi=10.1234/example
}}</ref>
</noinclude>
</noinclude>

Revision as of 16:10, 13 May 2026


This template formats journal citations without requiring any extensions. Usage example:

[1]

  1. Lastname, A., and B. Lastname. 2020. Title of the paper. Journal Name. doi:10.1234/example