Difference between revisions of "Template:PlanckPapers"

From Planck PLA Wiki
Jump to: navigation, search
m (1 revision)
(Displaying the list of references at the end of the page)
 
(23 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 +
==Description==
 +
The template <tt>PlanckPapers</tt> produces references for Planck papers in the text. There are three differences between this template and the [[Template:BibCite|BibCite]].
 +
*<tt>PlanckPapers</tt> creates in the text a direct link to the papers being cited;
 +
*With <tt>PlanckPapers</tt>, it is possible to create a link to a specific page of the paper;
 +
*With <tt>PlanckPapers</tt> it is possible to create a link with text defined by the user;
 +
The syntax of <tt>PlanckPapers</tt> is
 +
<pre>
 +
{{PlanckPapers|label|page|link}}
 +
</pre>
 +
where the thre parameters are as follows:
 +
;<tt>label</tt>
 +
:label used to cite the paper in LaTeX;
 +
;<tt>page</tt>
 +
:(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;
 +
;<tt>link</tt>
 +
:(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'''
 +
<pre>
 
{{PlanckPapers|planck2013-p01}}
 
{{PlanckPapers|planck2013-p01}}
{{PlanckPapers|planck2013-p02}}
+
</pre>
{{PlanckPapers|planck2013-p02a}}
+
'''How it appears'''
{{PlanckPapers|planck2013-p02d}}
+
 
{{PlanckPapers|planck2013-p02b}}
+
A very interesting result can be found in {{PlanckPapers|planck2013-p01}}.
{{PlanckPapers|planck2013-p03}}
+
 
 +
===Citing a paper and opening it in a given page===
 +
'''What you type'''
 +
<pre>
 +
{{PlanckPapers|planck2011-1-1|10}}
 +
</pre>
 +
'''How it appears'''
 +
 
 +
On the other hand in {{PlanckPapers|planck2011-1-1|10}} 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'''
 +
<pre>
 +
{{PlanckPapers|planck2013-p09||blablabla}}
 +
</pre>
 +
'''How it appears'''
 +
 
 +
On the other hand it is shown in the {{PlanckPapers|planck2013-p09||isotropy and statistics paper}} 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 <tt>||</tt> in the template syntax) to be emtpy. It is however mandatory to use the two <tt>|</tt> in order for the template to be interpreted correctly.
 +
 
 +
===Displaying the list of references at the end of the page===
 +
Have a look at [[Template:BibCite#Displaying_the_list_of_references_at_the_bottom_of_a_page|BibCite]].
 +
 
 
= References =
 
= References =
 
<References />
 
<References />
</noinclude><includeonly>({{#switch: {{{1}}}
+
</noinclude><includeonly>{{#switch: {{{1}}}
 
|planck2013-p01=[http://arxiv.org/pdf/1303.5062.pdf#page={{{2|1}}} {{{3|Planck-2013-I}}}]
 
|planck2013-p01=[http://arxiv.org/pdf/1303.5062.pdf#page={{{2|1}}} {{{3|Planck-2013-I}}}]
 
|planck2013-p02=[http://arxiv.org/pdf/1303.5063.pdf#page={{{2|1}}} {{{3|Planck-2013-II}}}]  
 
|planck2013-p02=[http://arxiv.org/pdf/1303.5063.pdf#page={{{2|1}}} {{{3|Planck-2013-II}}}]  
Line 64: Line 110:
 
|planck2011-1-6=[http://www.aanda.org/articles/aa/pdf/2011/12/aa16484-11.pdf#page={{{2|1}}} {{{3|Planck-Early-V}}}]
 
|planck2011-1-6=[http://www.aanda.org/articles/aa/pdf/2011/12/aa16484-11.pdf#page={{{2|1}}} {{{3|Planck-Early-V}}}]
 
|planck2011-1-7=[http://www.aanda.org/articles/aa/pdf/2011/12/aa16462-11.pdf#page={{{2|1}}} {{{3|Planck-Early-VI}}}]
 
|planck2011-1-7=[http://www.aanda.org/articles/aa/pdf/2011/12/aa16462-11.pdf#page={{{2|1}}} {{{3|Planck-Early-VI}}}]
|planck2011-1-10=[http://www.aanda.org/articles/aa/pdf/2011/12/aa16474-11.pdf#page={{{2|1}}} {{{3|Planck-Early-VII}}}
+
|planck2011-1-10=[http://www.aanda.org/articles/aa/pdf/2011/12/aa16474-11.pdf#page={{{2|1}}} {{{3|Planck-Early-VII}}}]
|planck2011-1-10sup=[http://arxiv.org '''The Explanatory Supplement to the Planck Early Release Compact Source Catalogue'''],  Planck Collaboration, ESA, (2011).
+
|planck2011-1-10sup=[http://arxiv.org {{{3|Planck-Exp-Sup}}}]
|planck2011-5-1a=[http://www.aanda.org/articles/aa/pdf/2011/12/aa16459-11.pdf#page={{{2|1}}} {{{3|Planck-Early-VIII}}}
+
|planck2011-5-1a=[http://www.aanda.org/articles/aa/pdf/2011/12/aa16459-11.pdf#page={{{2|1}}} {{{3|Planck-Early-VIII}}}]
|planck2011-5-1b=[http://www.aanda.org/articles/aa/pdf/2011/12/aa16460-11.pdf#page={{{2|1}}} {{{3|Planck-Early-IX}}}
+
|planck2011-5-1b=[http://www.aanda.org/articles/aa/pdf/2011/12/aa16460-11.pdf#page={{{2|1}}} {{{3|Planck-Early-IX}}}]
|planck2011-5-2a=[http://www.aanda.org/articles/aa/pdf/2011/12/aa16457-11.pdf#page={{{2|1}}} {{{3|Planck-Early-X}}}
+
|planck2011-5-2a=[http://www.aanda.org/articles/aa/pdf/2011/12/aa16457-11.pdf#page={{{2|1}}} {{{3|Planck-Early-X}}}]
|planck2011-5-2b=[http://www.aanda.org/articles/aa/pdf/2011/12/aa16458-11.pdf#page={{{2|1}}} {{{3|Planck-Early-XI}}}
+
|planck2011-5-2b=[http://www.aanda.org/articles/aa/pdf/2011/12/aa16458-11.pdf#page={{{2|1}}} {{{3|Planck-Early-XI}}}]
|planck2011-5-2c=[http://www.aanda.org/articles/aa/pdf/2011/12/aa16489-11.pdf#page={{{2|1}}} {{{3|Planck-Early-XII}}}
+
|planck2011-5-2c=[http://www.aanda.org/articles/aa/pdf/2011/12/aa16489-11.pdf#page={{{2|1}}} {{{3|Planck-Early-XII}}}]
|planck2011-6-1=[http://www.aanda.org/articles/aa/pdf/2011/12/aa16471-11.pdf#page={{{2|1}}} {{{3|Planck-Early-XIII}}}
+
|planck2011-6-1=[http://www.aanda.org/articles/aa/pdf/2011/12/aa16471-11.pdf#page={{{2|1}}} {{{3|Planck-Early-XIII}}}]
|planck2011-6-2=[http://www.aanda.org/articles/aa/pdf/2011/12/aa16475-11.pdf#page={{{2|1}}} {{{3|Planck-Early-XIV}}}
+
|planck2011-6-2=[http://www.aanda.org/articles/aa/pdf/2011/12/aa16475-11.pdf#page={{{2|1}}} {{{3|Planck-Early-XIV}}}]
|planck2011-6-3a=[http://www.aanda.org/articles/aa/pdf/2011/12/aa16466-11.pdf#page={{{2|1}}} {{{3|Planck-Early-XV}}}
+
|planck2011-6-3a=[http://www.aanda.org/articles/aa/pdf/2011/12/aa16466-11.pdf#page={{{2|1}}} {{{3|Planck-Early-XV}}}]
|planck2011-6-4a=[http://www.aanda.org/articles/aa/pdf/2011/12/aa16454-11.pdf#page={{{2|1}}} {{{3|Planck-Early-XVI}}}
+
|planck2011-6-4a=[http://www.aanda.org/articles/aa/pdf/2011/12/aa16454-11.pdf#page={{{2|1}}} {{{3|Planck-Early-XVI}}}]
|planck2011-6-4b=[http://www.aanda.org/articles/aa/pdf/2011/12/aa16473-11.pdf#page={{{2|1}}} {{{3|Planck-Early-XVII}}}
+
|planck2011-6-4b=[http://www.aanda.org/articles/aa/pdf/2011/12/aa16473-11.pdf#page={{{2|1}}} {{{3|Planck-Early-XVII}}}]
|planck2011-6-6=[http://www.aanda.org/articles/aa/pdf/2011/12/aa16461-11.pdf#page={{{2|1}}} {{{3|Planck-Early-XVIII}}}
+
|planck2011-6-6=[http://www.aanda.org/articles/aa/pdf/2011/12/aa16461-11.pdf#page={{{2|1}}} {{{3|Planck-Early-XVIII}}}]
|planck2011-7-0=[http://www.aanda.org/articles/aa/pdf/2011/12/aa16479-11.pdf#page={{{2|1}}} {{{3|Planck-Early-XIX}}}
+
|planck2011-7-0=[http://www.aanda.org/articles/aa/pdf/2011/12/aa16479-11.pdf#page={{{2|1}}} {{{3|Planck-Early-XIX}}}]
|planck2011-7-2=[http://www.aanda.org/articles/aa/pdf/2011/12/aa16470-11.pdf#page={{{2|1}}} {{{3|Planck-Early-XX}}}
+
|planck2011-7-2=[http://www.aanda.org/articles/aa/pdf/2011/12/aa16470-11.pdf#page={{{2|1}}} {{{3|Planck-Early-XX}}}]
|planck2011-7-3=[http://www.aanda.org/articles/aa/pdf/2011/12/aa16455-11.pdf#page={{{2|1}}} {{{3|Planck-Early-XXI}}}'
+
|planck2011-7-3=[http://www.aanda.org/articles/aa/pdf/2011/12/aa16455-11.pdf#page={{{2|1}}} {{{3|Planck-Early-XXI}}}]
|planck2011-7-7a=[http://www.aanda.org/articles/aa/pdf/2011/12/aa16481-11.pdf#page={{{2|1}}} {{{3|Planck-Early-XXII}}}
+
|planck2011-7-7a=[http://www.aanda.org/articles/aa/pdf/2011/12/aa16481-11.pdf#page={{{2|1}}} {{{3|Planck-Early-XXII}}}]
|planck2011-7-7b=[http://www.aanda.org/articles/aa/pdf/2011/12/aa16472-11.pdf#page={{{2|1}}} {{{3|Planck-Early-XXIII}}}
+
|planck2011-7-7b=[http://www.aanda.org/articles/aa/pdf/2011/12/aa16472-11.pdf#page={{{2|1}}} {{{3|Planck-Early-XXIII}}}]
|planck2011-7-12=[http://www.aanda.org/articles/aa/pdf/2011/12/aa16485-11.pdf#page={{{2|1}}} {{{3|Planck-Early-XXIV}}}
+
|planck2011-7-12=[http://www.aanda.org/articles/aa/pdf/2011/12/aa16485-11.pdf#page={{{2|1}}} {{{3|Planck-Early-XXIV}}}]
|planck2011-7-13=[http://www.aanda.org/articles/aa/pdf/2011/12/aa16483-11.pdf#page={{{2|1}}} {{{3|Planck-Early-XXV}}}
+
|planck2011-7-13=[http://www.aanda.org/articles/aa/pdf/2011/12/aa16483-11.pdf#page={{{2|1}}} {{{3|Planck-Early-XXV}}}]
|planck2011-5-1c=[http://www.aanda.org/articles/aa/pdf/2011/12/aa17430-11.pdf#page={{{2|1}}} {{{3|Planck-Early-XXVI}}}
+
|planck2011-5-1c=[http://www.aanda.org/articles/aa/pdf/2011/12/aa17430-11.pdf#page={{{2|1}}} {{{3|Planck-Early-XXVI}}}]
|planck2011-6-3b=[http://www.aanda.org/articles/aa/pdf/2012/05/aa17825-11.pdf#page={{{2|1}}} {{{3|Planck-Swift-Fermi}}}
+
|planck2011-6-3b=[http://www.aanda.org/articles/aa/pdf/2012/05/aa17825-11.pdf#page={{{2|1}}} {{{3|Planck-Swift-Fermi}}}]
|ade2010=[http://www.aanda.org/articles/aa/pdf/2010/12/aa13039-09.pdf#page={{{2|1}}} {{{3|Planck-PreLaunch-I}}}
+
|ade2010=[http://www.aanda.org/articles/aa/pdf/2010/12/aa13039-09.pdf#page={{{2|1}}} {{{3|Planck-PreLaunch-I}}}]
|bersanelli2010=[http://www.aanda.org/articles/aa/pdf/2010/12/aa12853-09.pdf#page={{{2|1}}} {{{3|Planck-PreLaunch-II}}}
+
|bersanelli2010=[http://www.aanda.org/articles/aa/pdf/2010/12/aa12853-09.pdf#page={{{2|1}}} {{{3|Planck-PreLaunch-II}}}]
|lamarre2010=[http://www.aanda.org/articles/aa/pdf/2010/12/aa12975-09.pdf#page={{{2|1}}} {{{3|Planck-PreLaunch-III}}}
+
|lamarre2010=[http://www.aanda.org/articles/aa/pdf/2010/12/aa12975-09.pdf#page={{{2|1}}} {{{3|Planck-PreLaunch-III}}}]
|leahy2010=[http://www.aanda.org/articles/aa/pdf/2010/12/aa12855-09.pdf#page={{{2|1}}} {{{3|Planck-PreLaunch-IV}}}
+
|leahy2010=[http://www.aanda.org/articles/aa/pdf/2010/12/aa12855-09.pdf#page={{{2|1}}} {{{3|Planck-PreLaunch-IV}}}]
|maffei2010=[http://www.aanda.org/articles/aa/pdf/2010/12/aa12999-09.pdf#page={{{2|1}}} {{{3|Planck-PreLaunch-V}}}
+
|maffei2010=[http://www.aanda.org/articles/aa/pdf/2010/12/aa12999-09.pdf#page={{{2|1}}} {{{3|Planck-PreLaunch-V}}}]
|mandolesi2010=[http://www.aanda.org/articles/aa/pdf/2010/12/aa12837-09.pdf#page={{{2|1}}} {{{3|Planck-PreLaunch-VI}}}
+
|mandolesi2010=[http://www.aanda.org/articles/aa/pdf/2010/12/aa12837-09.pdf#page={{{2|1}}} {{{3|Planck-PreLaunch-VI}}}]
|mennella2010=[http://www.aanda.org/articles/aa/pdf/2010/12/aa12849-09.pdf#page={{{2|1}}} {{{3|Planck-PreLaunch-VII}}}
+
|mennella2010=[http://www.aanda.org/articles/aa/pdf/2010/12/aa12849-09.pdf#page={{{2|1}}} {{{3|Planck-PreLaunch-VII}}}]
|pajot2010=[http://www.aanda.org/articles/aa/pdf/2010/12/aa13203-09.pdf#page={{{2|1}}} {{{3|Planck-PreLaunch-VIII}}}
+
|pajot2010=[http://www.aanda.org/articles/aa/pdf/2010/12/aa13203-09.pdf#page={{{2|1}}} {{{3|Planck-PreLaunch-VIII}}}]
|rosset2010=[http://www.aanda.org/articles/aa/pdf/2010/12/aa13054-09.pdf#page={{{2|1}}} {{{3|Planck-PreLaunch-IX}}}
+
|rosset2010=[http://www.aanda.org/articles/aa/pdf/2010/12/aa13054-09.pdf#page={{{2|1}}} {{{3|Planck-PreLaunch-IX}}}]
|sandri2010=[http://www.aanda.org/articles/aa/pdf/2010/12/aa12891-09.pdf#page={{{2|1}}} {{{3|Planck-PreLaunch-X}}}
+
|sandri2010=[http://www.aanda.org/articles/aa/pdf/2010/12/aa12891-09.pdf#page={{{2|1}}} {{{3|Planck-PreLaunch-X}}}]
|tauber2010a=[http://www.aanda.org/articles/aa/pdf/2010/12/aa12983-09.pdf#page={{{2|1}}} {{{3|Planck-PreLaunch-XI}}}
+
|tauber2010a=[http://www.aanda.org/articles/aa/pdf/2010/12/aa12983-09.pdf#page={{{2|1}}} {{{3|Planck-PreLaunch-XI}}}]
|tauber2010b=[http://www.aanda.org/articles/aa/pdf/2010/12/aa12911-09.pdf#page={{{2|1}}} {{{3|Planck-PreLaunch-XII}}}
+
|tauber2010b=[http://www.aanda.org/articles/aa/pdf/2010/12/aa12911-09.pdf#page={{{2|1}}} {{{3|Planck-PreLaunch-XII}}}]
|villa2010=[http://www.aanda.org/articles/aa/pdf/2010/12/aa12860-09.pdf#page={{{2|1}}}} {{{3|Planck-PreLaunch-XIII}}}
+
|villa2010=[http://www.aanda.org/articles/aa/pdf/2010/12/aa12860-09.pdf#page={{{2|1}}}} {{{3|Planck-PreLaunch-XIII}}}]
}})
+
}}{{#tag:ref|{{#switch: {{{1}}}
{{#tag:ref|{{#switch: {{{1}}}
 
 
|planck2013-p01=[http://arxiv.org/pdf/1303.5062.pdf#page={{{2|1}}}'''Planck 2013 results: Overview of Planck Products and Scientific Results'''], Planck Collaboration 2013 I, A&A, in press, (2014).
 
|planck2013-p01=[http://arxiv.org/pdf/1303.5062.pdf#page={{{2|1}}}'''Planck 2013 results: Overview of Planck Products and Scientific Results'''], Planck Collaboration 2013 I, A&A, in press, (2014).
 
|planck2013-p02=[http://arxiv.org/pdf/1303.5063.pdf#page={{{2|1}}}'''Planck 2013 results: The Low Frequency Instrument data processing'''], Planck Collaboration 2013 II, A&A, in press, (2014).
 
|planck2013-p02=[http://arxiv.org/pdf/1303.5063.pdf#page={{{2|1}}}'''Planck 2013 results: The Low Frequency Instrument data processing'''], Planck Collaboration 2013 II, A&A, in press, (2014).

Latest revision as of 16:31, 25 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

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|planck2011-1-1|10}}

How it appears

On the other hand in Planck-Early-I[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||blablabla}}

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

  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).
  3. Planck 2013 results: Isotropy and statistics of the CMB, Planck Collaboration XXIII, A&A, in press, (2014).