Difference between revisions of "Template:PLASingleFile"

From Planck Legacy Archive Wiki
Jump to: navigation, search
(download a map)
Line 19: Line 19:
 
: the text you would like to appear on your link.
 
: the text you would like to appear on your link.
 
==Examples==
 
==Examples==
===download a map===
+
===Download a map===
 +
'''What you type'''
 
<pre>
 
<pre>
 
{{PLASingleFile|fileType=map|name=COM_CompMap_CMB-nilc_2048_R1.10.fits|link=A map}}
 
{{PLASingleFile|fileType=map|name=COM_CompMap_CMB-nilc_2048_R1.10.fits|link=A map}}
 +
</pre>
 +
'''How it appears'''
 +
{{PLASingleFile|fileType=map|name=COM_CompMap_CMB-nilc_2048_R1.10.fits|link=A map}}
 +
'''What you type'''
 
<pre>
 
<pre>
{{PLASingleFile|fileType=map|name=COM_CompMap_CMB-nilc_2048_R1.10.fits|link=A map}}
 
 
 
{{PLASingleFile|fileType=cat|name=ERCSC_f353.fits|link=A Catalogue}}
 
{{PLASingleFile|fileType=cat|name=ERCSC_f353.fits|link=A Catalogue}}
 
+
</pre>
 +
'''How it appears'''
 +
{{PLASingleFile|fileType=cat|name=ERCSC_f353.fits|link=A Catalogue}}
 +
'''What you type'''
 +
<pre>
 +
{{{PLASingleFile|fileType=cosmo|name=COM_PowerSpect_CMB_R1.00.fits|link=A spectrum}}
 +
</pre>
 +
'''How it appears'''
 
{{PLASingleFile|fileType=cosmo|name=COM_PowerSpect_CMB_R1.00.fits|link=A spectrum}}
 
{{PLASingleFile|fileType=cosmo|name=COM_PowerSpect_CMB_R1.00.fits|link=A spectrum}}
 
</noinclude><includeonly>[http://pladev.esac.esa.int/pla/aio/product-action?{{#switch: {{{fileType}}}
 
</noinclude><includeonly>[http://pladev.esac.esa.int/pla/aio/product-action?{{#switch: {{{fileType}}}

Revision as of 18:21, 6 March 2013

Description[edit]

Template PLASingleFile produces a link to a single file in the PLA.

Use[edit]

{{PLASingleFile|fileType=aFileType|name=aName|link=linkText}}

where the allowed values for the parameters are as follows

fileType
map (for maps)
cat (for catalogues)
cosmo (for cosmology files)
anci (for ancillary files)
posh (for the POSH)
docu (for documents)
name
the file name as provided to the PLA by the DPCs
link
the text you would like to appear on your link.

Examples[edit]

Download a map[edit]

What you type

{{PLASingleFile|fileType=map|name=COM_CompMap_CMB-nilc_2048_R1.10.fits|link=A map}}

How it appears A map What you type

{{PLASingleFile|fileType=cat|name=ERCSC_f353.fits|link=A Catalogue}}

How it appears A Catalogue What you type

{{{PLASingleFile|fileType=cosmo|name=COM_PowerSpect_CMB_R1.00.fits|link=A spectrum}}

How it appears A spectrum

Planck Legacy Archive

Cosmic Microwave background

Early Release Compact Source Catalog