Difference between revisions of "Template:PLASingleFilev2"

From Planck Legacy Archive Wiki
Jump to: navigation, search
(Created page with '<noinclude> ==Description== Template <tt>PLASingleFile</tt> produces a link to a single file in the PLA. ==Use== <pre> {{PLASingleFile|fileType=aFileType|name=aName|link=linkTex…')
 
 
Line 57: Line 57:
  
 
{{PLASingleFile|fileType=rimo|name=HFI_RIMO_R1.10.fits|link=The HFI RIMO}}
 
{{PLASingleFile|fileType=rimo|name=HFI_RIMO_R1.10.fits|link=The HFI RIMO}}
</noinclude><includeonly>[{{PLAurl|type=product}}{{#switch: {{{fileType}}}
+
</noinclude><includeonly>[{{PLAurl|type=product}}{{PLAAttributes|{{{name}}}}} {{{link}}}]</includeonly>
| map=MAP.MAP_ID
 
| cat=SOURCE_LIST.NAME
 
| catdoc=DOCUMENT_SOURCE_LIST.DOCUMENT_ID
 
| cosmo=COSMOLOGY.FILE_ID
 
| anci=ANCILLARY_DATA.FILE_ID
 
| op=OPERATIONAL_FILE.FILE_ID
 
| posh=POSH.POSH_VERSION
 
| file=FILE.FILE_ID
 
| rimo=DOCUMENT_MAP.DOCUMENT_ID
 
}}={{{name}}} {{{link}}}]</includeonly>
 

Latest revision as of 12:02, 5 August 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)
catdoc (for catalogue associated files)
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.20.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 power spectrum[edit]

What you type

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

How it appears

A spectrum

Download the RIMO[edit]

What you type

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

How it appears

The HFI RIMO

Planck Legacy Archive

Cosmic Microwave background

Early Release Compact Source Catalog

reduced IMO

(Planck) High Frequency Instrument