Template:Cite journal: Difference between revisions
From Atomix
No edit summary |
No edit summary |
||
| Line 9: | Line 9: | ||
=== Basic example === | === Basic example === | ||
To cite a journal article, place the following inside your text: | To cite a journal article, place the following inside your text: | ||
<pre> | <pre> | ||
<ref name="EmeryThomson2001">{{Cite journal | <ref name="EmeryThomson2001">{{Cite journal | ||
|authors=Emery, W. J., and R. E. Thomson | |authors=Emery, W. J., and R. E. Thomson | ||
| Line 18: | Line 18: | ||
|doi=(ISBN)9780080477008 | |doi=(ISBN)9780080477008 | ||
}}</ref> | }}</ref> | ||
</pre> | |||
This will produce a numbered reference in the text and a formatted entry in the Notes section. | This will produce a numbered reference in the text and a formatted entry in the Notes section. | ||
| Line 27: | Line 27: | ||
<nowiki> | <nowiki> | ||
== References == | == References == | ||
<references/> | |||
</nowiki> | </nowiki> | ||
| Line 40: | Line 41: | ||
This template does not require any extensions and is safe for long‑term use. | This template does not require any extensions and is safe for long‑term use. | ||
</noinclude> | </noinclude> | ||
Revision as of 16:37, 13 May 2026
Usage
This template formats a journal citation for use inside <ref></ref> tags.
Basic example
To cite a journal article, place the following inside your text:
<ref name="EmeryThomson2001">{{Cite journal
|authors=Emery, W. J., and R. E. Thomson
|year=2001
|paper_or_booktitle=Data analysis methods in physical oceanography, 2nd edition, Section 5.6.7–5.6.8
|journal_or_publisher=Elsevier
|doi=(ISBN)9780080477008
}}</ref>
This will produce a numbered reference in the text and a formatted entry in the Notes section.
Displaying the reference list
At the bottom of the page, add:
== References == <references/>
This will display all citations defined with <ref></ref> tags.
Template parameters
- |authors= — Full author list, formatted exactly as desired.
- |year= — Publication year.
- |paper_or_booktitle= — Title of the paper or chapter.
- |journal_or_publisher= — Journal name or publisher.
- |doi= — DOI or ISBN.
This template does not require any extensions and is safe for long‑term use.
