Difference between revisions of "Template:Astronomical catalogs"

From blackwiki
Jump to navigation Jump to search
blackwiki>Primefac
m (Protected "Template:Astronomical catalogs": semi-protecting highly-visible templates in response to recent template-space vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed...)
blackwiki>Huntster
(Add RCW catalog.)
Line 29: Line 29:
 
}}
 
}}
  
| group2 = [[New General Catalogue|NGC]]  
+
| group2 = [[New General Catalogue|NGC]]
 
| list2 =  {{#if:{{{NGC|}}}|
 
| list2 =  {{#if:{{{NGC|}}}|
 
* {{#ifexpr:({{{NGC}}} - 5) > 0 |[[NGC {{#expr:{{{NGC}}} - 5}}]] }}
 
* {{#ifexpr:({{{NGC}}} - 5) > 0 |[[NGC {{#expr:{{{NGC}}} - 5}}]] }}
Line 239: Line 239:
 
* [[NLTT {{#expr:{{{NLTT}}} - 1}}]]
 
* [[NLTT {{#expr:{{{NLTT}}} - 1}}]]
 
* '''NLTT {{{NLTT}}}'''
 
* '''NLTT {{{NLTT}}}'''
* [[NLTT {{#expr:{{{NLTT}}} + 1}}]]  
+
* [[NLTT {{#expr:{{{NLTT}}} + 1}}]]
 
* [[NLTT {{#expr:{{{NLTT}}} + 2}}]]
 
* [[NLTT {{#expr:{{{NLTT}}} + 2}}]]
 
* [[NLTT {{#expr:{{{NLTT}}} + 3}}]]
 
* [[NLTT {{#expr:{{{NLTT}}} + 3}}]]
Line 285: Line 285:
 
* {{#ifexpr:({{{TrES}}} + 3) < 225301 | [[TrES-{{#expr:{{{TrES}}} + 3}}]]}}
 
* {{#ifexpr:({{{TrES}}} + 3) < 225301 | [[TrES-{{#expr:{{{TrES}}} + 3}}]]}}
 
* {{#ifexpr:({{{TrES}}} + 4) < 225301 | [[TrES-{{#expr:{{{TrES}}} + 4}}]]}}
 
* {{#ifexpr:({{{TrES}}} + 4) < 225301 | [[TrES-{{#expr:{{{TrES}}} + 4}}]]}}
 +
}}
 +
 +
| group19 = [[RCW catalogue|RCW]]
 +
| list19  = {{#if:{{{RCW|}}}|
 +
* {{#ifexpr:({{{RCW}}} - 9) > 0 |[[RCW {{#expr:{{{RCW}}} - 9}}|RCW{{#expr:{{{RCW}}} - 9}}]] }}
 +
* {{#ifexpr:({{{RCW}}} - 8) > 0 |[[RCW {{#expr:{{{RCW}}} - 8}}|RCW{{#expr:{{{RCW}}} - 8}}]] }}
 +
* {{#ifexpr:({{{RCW}}} - 7) > 0 |[[RCW {{#expr:{{{RCW}}} - 7}}|RCW{{#expr:{{{RCW}}} - 7}}]] }}
 +
* {{#ifexpr:({{{RCW}}} - 6) > 0 |[[RCW {{#expr:{{{RCW}}} - 6}}|RCW{{#expr:{{{RCW}}} - 6}}]] }}
 +
* {{#ifexpr:({{{RCW}}} - 5) > 0 |[[RCW {{#expr:{{{RCW}}} - 5}}|RCW{{#expr:{{{RCW}}} - 5}}]] }}
 +
* {{#ifexpr:({{{RCW}}} - 4) > 0 |[[RCW {{#expr:{{{RCW}}} - 4}}|RCW{{#expr:{{{RCW}}} - 4}}]] }}
 +
* {{#ifexpr:({{{RCW}}} - 3) > 0 |[[RCW {{#expr:{{{RCW}}} - 3}}|RCW{{#expr:{{{RCW}}} - 3}}]] }}
 +
* {{#ifexpr:({{{RCW}}} - 2) > 0 |[[RCW {{#expr:{{{RCW}}} - 2}}|RCW{{#expr:{{{RCW}}} - 2}}]] }}
 +
* {{#ifexpr:({{{RCW}}} - 1) > 0 |[[RCW {{#expr:{{{RCW}}} - 1}}|RCW{{#expr:{{{RCW}}} - 1}}]] }}
 +
* '''RCW {{{RCW}}}'''
 +
* {{#ifexpr:({{{RCW}}} + 1) < 183 | [[RCW {{#expr:{{{RCW}}} + 1}}|RCW{{#expr:{{{RCW}}} + 1}}]] }}
 +
* {{#ifexpr:({{{RCW}}} + 2) < 183 | [[RCW {{#expr:{{{RCW}}} + 2}}|RCW{{#expr:{{{RCW}}} + 2}}]] }}
 +
* {{#ifexpr:({{{RCW}}} + 3) < 183 | [[RCW {{#expr:{{{RCW}}} + 3}}|RCW{{#expr:{{{RCW}}} + 3}}]] }}
 +
* {{#ifexpr:({{{RCW}}} + 4) < 183 | [[RCW {{#expr:{{{RCW}}} + 4}}|RCW{{#expr:{{{RCW}}} + 4}}]] }}
 +
* {{#ifexpr:({{{RCW}}} + 5) < 183 | [[RCW {{#expr:{{{RCW}}} + 5}}|RCW{{#expr:{{{RCW}}} + 5}}]] }}
 +
* {{#ifexpr:({{{RCW}}} + 6) < 183 | [[RCW {{#expr:{{{RCW}}} + 6}}|RCW{{#expr:{{{RCW}}} + 6}}]] }}
 +
* {{#ifexpr:({{{RCW}}} + 7) < 183 | [[RCW {{#expr:{{{RCW}}} + 7}}|RCW{{#expr:{{{RCW}}} + 7}}]] }}
 +
* {{#ifexpr:({{{RCW}}} + 8) < 183 | [[RCW {{#expr:{{{RCW}}} + 8}}|RCW{{#expr:{{{RCW}}} + 8}}]] }}
 +
* {{#ifexpr:({{{RCW}}} + 9) < 183 | [[RCW {{#expr:{{{RCW}}} + 9}}|RCW{{#expr:{{{RCW}}} + 9}}]] }}
 
}}
 
}}
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>

Revision as of 04:59, 27 October 2019

50px Template documentation[view] [edit] [history] [purge]

This template shows a succession of entries in a specified astronomical catalog before and after a given value. For instance, if you tell the template to include Caldwell 99, it will also show links to Caldwells 90-98 and 100-108. If you do not specify a catalog it will not be displayed in the template.

At the moment the template accepts Messier, NGC, IC, PGC, UGC, TrES, HIP, SAO, Caldwell, Collinder, Arp, LTT, NLTT, GC, HR, PPM, HD, Abell, RCW, and Gum, but can be enlarged to any other composed only by numbers.

Examples

Typical usage with just a few relevant catalogs

{{Astronomical catalogs
| M = 101
| Arp = 26
}}

All catalogs

{{Astronomical catalogs
| Abell = 2199
| Arp = 170
| C = 99
| Collinder = 56
| GC = 19370
| HD = 131072
| HIP = 1048576
| HR = 5312
| IC = 1011
| LTT = 4012
| M = 101
| NGC = 5000
| NLTT = 213
| PGC = 50000
| PPM = 300000
| SAO = 161000
| TrES = 131072
| UGC = 11000
| RCW = 182
| Gum = 79
}}