Difference between revisions of "Template:Citation"
(Changed the parameter ordering in the example.) |
(Changed the 'number' parameter name to 'issue' to be clearer.) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{{authors}}} ({{{year}}}). {{{title}}} ''{{{journal}}}'', '''{{{volume}}}'''{{#if: {{{ | + | {{{authors}}} ({{{year}}}). {{{title}}} ''{{{journal}}}'', '''{{{volume}}}'''{{#if: {{{issue|}}} | ({{{issue}}})}}, {{{page_start}}}{{#if: {{{page_end|}}} | -{{{page_end}}} }}. {{#if: {{{doi|}}} | (DOI: [http://dx.doi.org/{{{doi}}} {{{doi}}}] }}{{#if: {{{doi2|}}} |, [http://dx.doi.org/{{{doi2}}} {{{doi2}}}] }}{{#if: {{{doi|}}} | ) }}<noinclude> |
{{Template info|1= | {{Template info|1= | ||
Line 7: | Line 7: | ||
== Usage == | == Usage == | ||
− | <nowiki>{{</nowiki>'''citation'''{{!}}''authors=''{{!}}''title=''{{!}}''journal=''{{!}}''volume=''{{!}}'' | + | <nowiki>{{</nowiki>'''citation'''{{!}}''authors=''{{!}}''title=''{{!}}''journal=''{{!}}''volume=''{{!}}''issue=''{{!}}''page_start=''{{!}}''page_end=''{{!}}''year=''{{!}}''doi=''{{!}}''doi2=''<nowiki>}}</nowiki> |
; authors : The authors of the paper, in the format of last name, comma, and initials with periods. | ; authors : The authors of the paper, in the format of last name, comma, and initials with periods. | ||
Line 13: | Line 13: | ||
; journal : The abbreviated journal name in [https://en.wikipedia.org/wiki/ISO_4 ISO 4] format. | ; journal : The abbreviated journal name in [https://en.wikipedia.org/wiki/ISO_4 ISO 4] format. | ||
; volume : The journal volume. | ; volume : The journal volume. | ||
− | ; | + | ; issue : The issue number. |
; page_state : The 1<sup>st</sup> page number. | ; page_state : The 1<sup>st</sup> page number. | ||
; page_end : The optional end page number. | ; page_end : The optional end page number. | ||
Line 29: | Line 29: | ||
| journal = J. Biomol. NMR | | journal = J. Biomol. NMR | ||
| volume = 40 | | volume = 40 | ||
− | | | + | | issue = 2 |
| page_start = 107-119 | | page_start = 107-119 | ||
| year = 2008a | | year = 2008a | ||
Line 42: | Line 42: | ||
| journal = J. Biomol. NMR | | journal = J. Biomol. NMR | ||
| volume = 40 | | volume = 40 | ||
− | | | + | | issue = 2 |
| page_start = 107-119 | | page_start = 107-119 | ||
| year = 2008a | | year = 2008a |
Latest revision as of 14:05, 4 November 2015
{{{authors}}} ({{{year}}}). {{{title}}} {{{journal}}}, {{{volume}}}, {{{page_start}}}.
Template documentation
Contents
Goal
To standardise the formatting of all citations and references on the relax wiki.
Usage
{{citation|authors=|title=|journal=|volume=|issue=|page_start=|page_end=|year=|doi=|doi2=}}
- authors
- The authors of the paper, in the format of last name, comma, and initials with periods.
- title
- The title of the paper.
- journal
- The abbreviated journal name in ISO 4 format.
- volume
- The journal volume.
- issue
- The issue number.
- page_state
- The 1st page number.
- page_end
- The optional end page number.
- year
- The publication year. Add a letter to differentiate between publications with the same authors and same year.
- doi
- The DOI number.
- doi2
- An optional second DOI number, for back-to-back publications.
Examples
Using the text:
* {{citation | authors = d'Auvergne, E. J. and Gooley, P. R. | title = Optimisation of NMR dynamic models I. Minimisation algorithms and their performance within the model-free and Brownian rotational diffusion spaces. | journal = J. Biomol. NMR | volume = 40 | issue = 2 | page_start = 107-119 | year = 2008a | doi = 10.1007/s10858-007-9214-2 }}
The result is:
- d'Auvergne, E. J. and Gooley, P. R. (2008a). Optimisation of NMR dynamic models I. Minimisation algorithms and their performance within the model-free and Brownian rotational diffusion spaces. J. Biomol. NMR, 40(2), 107-119. (DOI: 10.1007/s10858-007-9214-2)