Difference between revisions of "Template:PLASingleFile"

From Planck Legacy Archive Wiki
Jump to: navigation, search
Line 41: Line 41:
 
'''What you type'''
 
'''What you type'''
 
<pre>
 
<pre>
{{{PLASingleFile|fileType=cosmo|name=COM_PowerSpect_CMB_R1.00.fits|link=A spectrum}}
+
{{{PLASingleFile|fileType=rimo|name=HFI_RIMO_R1.00.fits|link=The HFI RIMO}
 
</pre>
 
</pre>
  
 
'''How it appears'''
 
'''How it appears'''
 
+
http://pladev.esac.esa.int/pla/aio/product-action?DOCUMENT.DOCUMENT_ID=HFI_RIMO_R1.00.fits
 
{{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}}}
Line 55: Line 55:
 
| posh=POSH.POSH_VERSION
 
| posh=POSH.POSH_VERSION
 
| file=FILE.FILE_ID
 
| file=FILE.FILE_ID
| docu=DOCUMENT.DOCUMENT_ID
+
| rimo=DOCUMENT.DOCUMENT_ID
 
}}={{{name}}} {{{link}}}]</includeonly>
 
}}={{{name}}} {{{link}}}]</includeonly>

Revision as of 15:18, 8 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

Download a catalogue[edit]

What you type

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

How it appears

A Catalogue

Download a powers pectrum[edit]

What you type

{{{PLASingleFile|fileType=rimo|name=HFI_RIMO_R1.00.fits|link=The HFI RIMO}

How it appears http://pladev.esac.esa.int/pla/aio/product-action?DOCUMENT.DOCUMENT_ID=HFI_RIMO_R1.00.fits A spectrum

Planck Legacy Archive

Cosmic Microwave background

Early Release Compact Source Catalog

(Planck) High Frequency Instrument

reduced IMO