Difference between revisions of "Template:PLACompMaps"
(26 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | <noinclude> | |
− | {{#ifeq {{{type}}} | | + | ==Description== |
− | | QUERY=COMPONENT_MAP.TYPE | + | Template <tt>PLACompMaps</tt> produces a link to a table with the metadata details of the component maps selected according to the parameter <tt></tt>. The table also contains links to the maps themselves and postage stamp images of the maps. |
− | | COMPONENT_MAP.TYPE={{{type|}}} }} | + | <pre> |
− | &RELEASE.NAME=PR1&RETURN_TYPE=HTML {{{link|Component Maps}}}] | + | {{PLACompMaps|type=componentName|link=linkText}} |
+ | </pre> | ||
+ | where the allowed values for the parameters are as follows | ||
+ | ; <tt>type</tt> | ||
+ | : <tt>CMB</tt> | ||
+ | : <tt>co</tt> | ||
+ | : <tt>dust</tt> | ||
+ | : <tt>DustOpacity</tt> | ||
+ | : <tt>Lensing</tt> | ||
+ | : <tt>Mask</tt> | ||
+ | : <tt>Lfreqfor</tt> | ||
+ | ; <tt>link</tt> | ||
+ | : the text you would like to appear on your link. | ||
+ | ==Examples== | ||
+ | ===List of all component maps=== | ||
+ | '''What you type''' | ||
+ | <pre> | ||
+ | {{PLACompMaps|link=All maps}} | ||
+ | </pre> | ||
+ | '''How it appears''' | ||
+ | |||
+ | {{PLACompMaps|link=All maps}} | ||
+ | ===List of cmb maps=== | ||
+ | '''What you type''' | ||
+ | <pre> | ||
+ | {{PLACompMaps|type=CMB|link=The cmb Maps}} | ||
+ | </pre> | ||
+ | '''How it appears''' | ||
+ | |||
+ | {{PLACompMaps|type=CMB|link=The cmb Maps}} | ||
+ | ===List of all co maps=== | ||
+ | '''What you type''' | ||
+ | <pre> | ||
+ | {{PLACompMaps|type=co|link=The co maps}} | ||
+ | </pre> | ||
+ | '''How it appears''' | ||
+ | |||
+ | {{PLACompMaps|type=co|link=The co maps}} | ||
+ | </noinclude><includeonly>[{{PLAurl}}RESOURCE_CLASS=COMPONENT_MAP&SELECTED_FIELDS=MAP.MAP_ID,MAP.SIZE,COMPONENT_MAP.METHOD&{{#ifeq: {{{type|}}} | co | ||
+ | | QUERY=(COMPONENT_MAP.TYPE%20LIKE%20%27CO-%25%27) | ||
+ | | COMPONENT_MAP.TYPE={{{type|}}}}}&RELEASE.NAME=PR1&RETURN_TYPE=HTML {{{link|Component Maps}}}] | ||
+ | </includeonly> |
Latest revision as of 14:18, 18 July 2013
Contents
Description[edit]
Template PLACompMaps produces a link to a table with the metadata details of the component maps selected according to the parameter . The table also contains links to the maps themselves and postage stamp images of the maps.
{{PLACompMaps|type=componentName|link=linkText}}
where the allowed values for the parameters are as follows
- type
- CMB
- co
- dust
- DustOpacity
- Lensing
- Mask
- Lfreqfor
- link
- the text you would like to appear on your link.
Examples[edit]
List of all component maps[edit]
What you type
{{PLACompMaps|link=All maps}}
How it appears
List of cmb maps[edit]
What you type
{{PLACompMaps|type=CMB|link=The cmb Maps}}
How it appears
List of all co maps[edit]
What you type
{{PLACompMaps|type=co|link=The co maps}}
How it appears
Cosmic Microwave background