Template:Cite journal: Difference between revisions

From Atomix
No edit summary
No edit summary
Line 33: Line 33:
}}</ref>.
}}</ref>.
You can continue referring to it using <nowiki><ref name="Sreenivasan"></nowiki> that will reuse the correct reference <ref name="Sreenivasan"/>.
You can continue referring to it using <nowiki><ref name="Sreenivasan"></nowiki> that will reuse the correct reference <ref name="Sreenivasan"/>.


<includeonly>
<includeonly>
Line 40: Line 41:
<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>
==Notes==
</noinclude><includeonly>
{{#arraymap:{{{authors|}}}|,|x|x|, <nowiki/>|and}}. {{{year}}}. ''{{{paper_or_booktitle}}}''. {{{journal_or_publisher}}}. doi:[https://doi.org/{{{doi}}} {{{doi}}}]
</includeonly>

Revision as of 16:09, 13 May 2026

This is the "Cite journal" template. It can be used to format textbooks and publications. DOI have issues displaying when there are less than ( <) and greater than >operators.

By default, the formatted references will appear at the bottom of the page. It's good practice to place a section ==Notes== at the bottom of the page.

The template can be called in the following format if not using the form:

{{Cite journal
|authors=
|journal_or_publisher=
|paper_or_booktitle=
|year=
|doi=
}}

For example doing

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

will create a citation [1]. You can continue referring to it using <ref name="Sreenivasan"> that will reuse the correct reference [1].



This template formats journal citations without requiring any extensions.

  1. 1.0 1.1