Difference between revisions of "Template:PlanckPapers"

From Planck PLA 2015 Wiki
Jump to: navigation, search
Line 85: Line 85:
 
|planck2014-a37=[http://arxiv.org#page={{{2|1}}} {{{3|Planck-}2014-A37}}]
 
|planck2014-a37=[http://arxiv.org#page={{{2|1}}} {{{3|Planck-}2014-A37}}]
 
|pb2015=[http://arxiv.org#page={{{2|1}}} {{{3|Planck-BICEP}}}]
 
|pb2015=[http://arxiv.org#page={{{2|1}}} {{{3|Planck-BICEP}}}]
|planck2014-XVIII=[http://arxiv.org/pdf/1403.4723http://www.aanda.org/articles/aa/pdf/2015/01/aa23836-14.pdf#page={{{2|1}}} {{{3|Planck-2014-XVIII}}}]
+
|planck2014-XVIII=[http://www.aanda.org/articles/aa/pdf/2015/01/aa23836-14.pdf#page={{{2|1}}} {{{3|Planck-2014-XVIII}}}]
 
|planck2014-XIX=[http://arxiv.org/pdf/1405.0871v1.pdf#page={{{2|1}}} {{{3|Planck-2014-XIX}}}]
 
|planck2014-XIX=[http://arxiv.org/pdf/1405.0871v1.pdf#page={{{2|1}}} {{{3|Planck-2014-XIX}}}]
 
|planck2014-XX=[http://arxiv.org/pdf/1405.0872.pdf#page={{{2|1}}} {{{3|Planck-2014-XX}}}]
 
|planck2014-XX=[http://arxiv.org/pdf/1405.0872.pdf#page={{{2|1}}} {{{3|Planck-2014-XX}}}]

Revision as of 16:27, 23 January 2015

Description

The template PlanckPapers produces references for Planck papers in the text. There are three differences between this template and the BibCite.

  • PlanckPapers creates in the text a direct link to the papers being cited;
  • With PlanckPapers, it is possible to create a link to a specific page of the paper;
  • With PlanckPapers it is possible to create a link with text defined by the user;

The syntax of PlanckPapers is

{{PlanckPapers|label|page|link}}

where the thre parameters are as follows:

label
label used to cite the paper in LaTeX;
page
(optional parameter) page number where the paper paper should open when the user clicks on the link. When this parameter is not provided the paperwill open in page 1;
link
(optional parameter) text of the link to the paper. If not supplied the default text is one of Planck-2013-X, Planck-Early-X or Planck-Int-X or Planck-PreLaunch-X, for the Planck 2013 papers, Planck early papers, Planck internediate papers or Planck pre launch papers. The X stands for a roman numeral identifying the paper being cited;

Examples

Citing a paper using all the default values for optional parameters

What you type

{{PlanckPapers|planck2013-p01}}

How it appears

A very interesting result can be found in Planck-2013-I[1].

Citing a paper and opening it in a given page

What you type

{{PlanckPapers|planck2014-XVIII|10}}

How it appears

On the other hand in Planck-2014-XVIII[2] a demonstration is given of a most interesting fact.

In this case the paper opens in page 10.

Citing a paper with a custom link

What you type

{{PlanckPapers|planck2013-p09||isotropy and statistics paper}}

How it appears

On the other hand it is shown in the isotropy and statistics paper[3] the above mentioned result is rubish.

Note that in this last case, the second argument (the page number where the paper should open) does not need to have a value and it is perfectly fine for the corresponding slot in the template syntax (delimited by the || in the template syntax) to be emtpy. It is however mandatory to use the two | in order for the template to be interpreted correctly.

Displaying the list of references at the end of the page

Have a look at BibCite.

References