Difference between revisions of "Template:PlanckPapers"

From Planck PLA Wiki
Jump to: navigation, search
(Examples)
(Examples)
Line 18: Line 18:
  
 
==Examples==
 
==Examples==
Citing a paper using all the default values for optional parameters{{PlanckPapers|planck2013-p01}}:
+
Citing a paper using all the default values for optional parameters:
 
<pre>
 
<pre>
 
{{PlanckPapers|planck2013-p01}}
 
{{PlanckPapers|planck2013-p01}}
 
</pre>
 
</pre>
Citing a paper and opening it in a given page{{PlanckPapers|}}:
+
A very interesting result can be found in {{PlanckPapers|planck2013-p01}}.
 +
 
 +
Citing a paper and opening it in a given page:
 
<pre>
 
<pre>
{{PlanckPapers|planck2013-p01|2}}
+
{{PlanckPapers|planck2011-1-1|10}}
 
</pre>
 
</pre>
 +
On the other hand in {{PlanckPapers|planck2011-1-1|10}} a demonstration is given of a most interesting fact.
 +
 +
Citing a paper with a custom link.
 
<pre>
 
<pre>
planck2013-XVII=[http://arxiv.org/pdf/1312.5446.pdf#page={{{2|1}}} {{{3|Planck-Int-XVII}}}]
+
{{PlanckPapers|planck2013-p02a|1|}}
planck2011-1-1=[http://www.aanda.org/articles/aa/pdf/2011/12/aa16464-11.pdf#page={{{2|1}}} {{{3|Planck-Early-I}}}]
 
ade2010=[http://www.aanda.org/articles/aa/pdf/2010/12/aa13039-09.pdf#page={{{2|1}}} {{{3|Planck-PreLaunch-I}}}]
 
 
</pre>
 
</pre>
{{PlanckPapers|planck2013-p02}}
 
{{PlanckPapers|planck2013-p02a}}
 
{{PlanckPapers|planck2013-p02d}}
 
{{PlanckPapers|planck2013-p02b}}
 
{{PlanckPapers|planck2013-p03|1|blablabla}}
 
  
 
= References =
 
= References =

Revision as of 17:59, 24 July 2014

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:

{{PlanckPapers|planck2013-p01}}

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

Citing a paper and opening it in a given page:

{{PlanckPapers|planck2011-1-1|10}}

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

Citing a paper with a custom link.

{{PlanckPapers|planck2013-p02a|1|}}

References

  1. Planck 2013 results: Overview of Planck Products and Scientific Results, Planck Collaboration 2013 I, A&A, in press, (2014).
  2. Planck early results. I. The Planck mission, Planck Collaboration I, A&A, 536, A1, (2011).