Difference between revisions of "Template:PLACat"
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | <noinclude> | |
+ | ==Description== | ||
+ | Template <tt>PLACat</tt> produces a link to a table with the metadata details of the catalogues selected using the parameters available. The table also contains links to the catalogues themselves. | ||
+ | <pre> | ||
+ | {{PLACat|type=cataType|link=linkText}} | ||
+ | </pre> | ||
+ | where the parameters can take the following values (the default applies when no value is provided for the parameter) | ||
+ | ; <tt>type</tt> | ||
+ | : one of PCCS and SZ (default: both) | ||
+ | ; <tt>link</tt> | ||
+ | : the text you would like to appear on your link. | ||
+ | |||
+ | ==Examples== | ||
+ | ===List of all PLA Catalogues=== | ||
+ | '''What you type''' | ||
+ | <pre> | ||
+ | {{PLACat}} | ||
+ | </pre> | ||
+ | '''How it appears''' | ||
+ | |||
+ | {{PLACat}} | ||
+ | ===List of all PCCS catalogues=== | ||
+ | '''What you type''' | ||
+ | <pre> | ||
+ | {{PLACat|type=PCCS}} | ||
+ | </pre> | ||
+ | '''How it appears''' | ||
+ | |||
+ | {{PLACat|type=PCCS}} | ||
+ | </noinclude><includeonly>[{{PLAurl}}RESOURCE_CLASS=SOURCE_LIST&SELECTED_FIELDS=SOURCE_LIST.NAME,SOURCE_LIST.SIZE&CATALOGUE.NAME={{#switch: {{{type|}}} | ||
+ | | PCCS=PCCS_1.0 | ||
+ | | SZ=PCCS_SZ}}&RELEASE.NAME=PR1&RETURN_TYPE=HTML {{{link|Catalogues}}}]</includeonly> |
Latest revision as of 14:14, 18 July 2013
Description[edit]
Template PLACat produces a link to a table with the metadata details of the catalogues selected using the parameters available. The table also contains links to the catalogues themselves.
{{PLACat|type=cataType|link=linkText}}
where the parameters can take the following values (the default applies when no value is provided for the parameter)
- type
- one of PCCS and SZ (default: both)
- link
- the text you would like to appear on your link.
Examples[edit]
List of all PLA Catalogues[edit]
What you type
{{PLACat}}
How it appears
List of all PCCS catalogues[edit]
What you type
{{PLACat|type=PCCS}}
How it appears
Sunyaev-Zel'dovich
Planck Legacy Archive