Difference between revisions of "Template:PLASingleFile"

From Planck Legacy Archive Wiki
Jump to: navigation, search
Line 19: Line 19:
 
==Examples==
 
==Examples==
 
{{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}}
 +
 
{{PLASingleFile|fileType=cat|name=ERCSC_f353.fits|link=A Catalogue}}
 
{{PLASingleFile|fileType=cat|name=ERCSC_f353.fits|link=A Catalogue}}
 +
 
{{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 17:12, 6 March 2013

Description[edit]

Template PLASingleFile produces a link to a single file in the PLA. The template is used as int he example below

{{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]

A map

A Catalogue

A spectrum

Planck Legacy Archive