Difference between revisions of "Template:PLASingleFile"

From Planck PLA Wiki
Jump to: navigation, search
Line 21: Line 21:
 
{{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>
+
</noinclude><includeonly>[http://pladev.esac.esa.int/pla/aio/product-action?{{#switch: {{{fileType}}}
<includeonly>[http://pladev.esac.esa.int/pla/aio/product-action?{{#switch: {{{fileType}}}
 
 
| map=MAP.MAP_ID
 
| map=MAP.MAP_ID
 
| cat=SOURCE_LIST.NAME
 
| cat=SOURCE_LIST.NAME

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