Template:Cite journal: Difference between revisions
From WikiMD's Wellness Encyclopedia
No edit summary |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{#if:{{{title|}}} | | ||
{{#if:{{{title|}}} | | {{#if:{{{last|}}} | {{{last}}}{{#if:{{{first|}}}|, {{{first}}}}} | {{#if:{{{author|}}}|{{{author}}}}} }}, | ||
{{#if:{{{last|}}} | '''{{{title}}}''', | ||
{{#if:{{{journal|}}}|''{{{journal}}}''}}, | |||
{{#if:{{{year|}}}|{{{year}}}, }} | |||
{{#if:{{{volume|}}}|Vol. {{{volume}}}{{#if:{{{issue|}}}| (Issue: {{{issue}}})}}, }} | |||
'''{{{title}}}''', | {{#if:{{{pages|}}}|pp. {{{pages}}}, }} | ||
{{#if:{{{journal|}}}|''{{{journal}}}''}}, | {{#if:{{{doi|}}}|DOI: [https://doi.org/{{{doi}}} {{{doi}}}], }} | ||
{{#if:{{{year|}}}|{{{year}}}, }} | {{#if:{{{pmid|}}}|PMID: [https://pubmed.ncbi.nlm.nih.gov/{{{pmid}}} {{{pmid}}}], }} | ||
{{#if:{{{volume|}}}|Vol. {{{volume | {{#if:{{{pmc|}}}|PMC: [https://www.ncbi.nlm.nih.gov/pmc/articles/PMC{{{pmc}}}/ {{{pmc}}}], }} | ||
{{#if:{{{pages|}}}|pp. {{{pages}}}, }} | {{#if:{{{arxiv|}}}|arXiv: [https://arxiv.org/abs/{{{arxiv}}} {{{arxiv}}}], }} | ||
{{#if:{{{doi|}}}|DOI: [https://doi.org/{{{doi}}} {{{doi}}}], }} | {{#if:{{{url|}}}|[{{{url}}} Full text], }} | ||
{{#if:{{{pmid|}}}|PMID: [https://pubmed.ncbi.nlm.nih.gov/{{{pmid}}} {{{pmid}}}], }} | {{#if:{{{access-date|}}}|Accessed on: {{{access-date}}}. }} | ||
{{#if:{{{pmc|}}}|PMC: [https://www.ncbi.nlm.nih.gov/pmc/articles/PMC{{{pmc}}}/ {{{pmc}}}], }} | }}</includeonly><noinclude> | ||
{{#if:{{{arxiv|}}}|arXiv: [https://arxiv.org/abs/{{{arxiv}}} {{{arxiv}}}], }} | |||
{{#if:{{{url|}}}|[{{{url}}} Full text], }} | |||
{{#if:{{{access-date|}}}|Accessed on: {{{access-date}}}. }} | |||
}} | |||
</includeonly><noinclude> | |||
== Documentation == | == Documentation == | ||
This template is used to cite journal articles. | This template is used to cite journal articles. The format ensures inline display with proper spacing and commas. | ||
=== Parameters === | === Parameters === | ||
* '''title''' – | * '''title''' – Required journal article title. | ||
* '''author''' – | * '''author''' – Author(s) (or use `first` and `last`). | ||
* '''journal''' – Journal name. | |||
* '''journal''' – | |||
* '''year''' – Year of publication. | * '''year''' – Year of publication. | ||
* '''volume''' – | * '''volume''' – Journal volume. | ||
* '''issue''' – | * '''issue''' – Journal issue. | ||
* '''pages''' – Page | * '''pages''' – Page numbers. | ||
* '''doi''' – DOI | * '''doi''' – DOI reference. | ||
* '''pmid''' – PubMed ID | * '''pmid''' – PubMed ID. | ||
* '''pmc''' – PubMed Central ID | * '''pmc''' – PubMed Central ID. | ||
* '''arxiv''' – arXiv identifier. | * '''arxiv''' – arXiv identifier. | ||
* '''url''' – URL to | * '''url''' – URL to the article. | ||
* '''access-date''' – Date | * '''access-date''' – Date accessed. | ||
=== Example Usage === | === Example Usage === | ||
Latest revision as of 17:00, 8 February 2025
Documentation[edit]
This template is used to cite journal articles. The format ensures inline display with proper spacing and commas.
Parameters[edit]
- title – Required journal article title.
- author – Author(s) (or use `first` and `last`).
- journal – Journal name.
- year – Year of publication.
- volume – Journal volume.
- issue – Journal issue.
- pages – Page numbers.
- doi – DOI reference.
- pmid – PubMed ID.
- pmc – PubMed Central ID.
- arxiv – arXiv identifier.
- url – URL to the article.
- access-date – Date accessed.
Example Usage[edit]
John Doe,
Quantum entanglement in particle physics, Physics Today, 2021, Vol. 72(Issue: 4), pp. 15-20, DOI: 10.1234/phys.today.2021.123456, PMID: 12345678, Full text, Accessed on: 2023-01-01.