Difference between revisions of "Template:Citation"

From relax wiki
Jump to navigation Jump to search
(Changed the parameter ordering in the example.)
(Spacing fixes for the DOI part.)
Line 1: Line 1:
{{{authors}}} ({{{year}}}).  {{{title}}}  ''{{{journal}}}'', '''{{{volume}}}'''{{#if: {{{number|}}} | ({{{number}}})}}, {{{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>
+
{{{authors}}} ({{{year}}}).  {{{title}}}  ''{{{journal}}}'', '''{{{volume}}}'''{{#if: {{{number|}}} | ({{{number}}})}}, {{{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=

Revision as of 18:51, 3 November 2015

{{{authors}}} ({{{year}}}). {{{title}}} {{{journal}}}, {{{volume}}}, {{{page_start}}}.

Template documentation

Goal

To standardise the formatting of all citations and references on the relax wiki.

Usage

{{citation|authors=|title=|journal=|volume=|number=|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.
number 
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
| number     = 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)