Difference between revisions of "Template:Infobox open cluster"

From blackwiki
Jump to navigation Jump to search
imported>RJHall
(+wikilink)
imported>Loooke
(use page title if no name parameter specified)
 
(39 intermediate revisions by 19 users not shown)
Line 1: Line 1:
 
{{Infobox
 
{{Infobox
| above  = {{{name}}}
+
| above  = {{{name<includeonly>|{{PAGENAME}}</includeonly>}}}
| image  = {{{image<includeonly>|</includeonly>}}}
+
| image  = {{#invoke:InfoboxImage|InfoboxImage|image={{{image<includeonly>|</includeonly>}}}|size={{{image_size|}}}|sizedefault=frameless|alt={{{alt|}}}}}
 
| caption = {{{caption<includeonly>|</includeonly>}}} {{#if:{{{credit<includeonly>|</includeonly>}}}|<br/><span style="font-size:smaller;">Credit: {{{credit}}}</span> }}
 
| caption = {{{caption<includeonly>|</includeonly>}}} {{#if:{{{credit<includeonly>|</includeonly>}}}|<br/><span style="font-size:smaller;">Credit: {{{credit}}}</span> }}
| abovestyle  = background: #FFFFC0;
+
| abovestyle  = background: #CCFFFF;
| headerstyle = background: #FFFFC0;
+
| headerstyle = background: #CCFFFF;
| belowstyle  = background: #FFFFC0;
 
 
| labelstyle  = background: inherit;
 
| labelstyle  = background: inherit;
| header1 = Observation data {{#if:  {{{epoch<includeonly>|</includeonly>}}} | ({{{epoch}}} [[Epoch (astronomy){{!}}epoch]]) }}
+
| header1 = Observation data {{#if:  {{{epoch<includeonly>|</includeonly>}}} | ({{{epoch}}} [[Epoch (astronomy)|epoch]]) }}
 
| label2  = [[Constellation]]
 
| label2  = [[Constellation]]
 
| data2  = {{{constellation<includeonly>|</includeonly>}}}
 
| data2  = {{{constellation<includeonly>|</includeonly>}}}
Line 15: Line 14:
 
| data4  = {{{dec<includeonly>|</includeonly>}}}
 
| data4  = {{{dec<includeonly>|</includeonly>}}}
 
| label5  = [[Distance (astronomy)|Distance]]
 
| label5  = [[Distance (astronomy)|Distance]]
| data5  = {{{dist_ly<includeonly>|</includeonly>}}} ({{{dist_pc<includeonly>|</includeonly>}}})
+
| data5  = {{{dist_ly<includeonly>|</includeonly>}}} {{#if:{{{dist_pc<includeonly>|</includeonly>}}}|({{{dist_pc}}})}}
 
| label6  = [[Apparent magnitude]] <small>(V)</small>
 
| label6  = [[Apparent magnitude]] <small>(V)</small>
 
| data6  = {{{appmag_v<includeonly>|</includeonly>}}}
 
| data6  = {{{appmag_v<includeonly>|</includeonly>}}}
 
| label7  = Apparent dimensions <small>(V)</small>
 
| label7  = Apparent dimensions <small>(V)</small>
 
| data7  = {{{size_v<includeonly>|</includeonly>}}}
 
| data7  = {{{size_v<includeonly>|</includeonly>}}}
| label8 = Notable features
+
| header8=Physical characteristics
| data8   = {{{notes|<includeonly>|</includeonly>}}}
+
| label9=Mass
| label9 = Other designations
+
| data9={{#if: {{{mass_msol<includeonly>|</includeonly>}}}|{{{mass_msol<includeonly>|</includeonly>}}}&nbsp;{{solar mass|link=yes}}}}
| data9   = {{{names<includeonly>|</includeonly>}}}
+
| label10=Radius
| below   = See also: [[Open cluster]], [[List of open clusters]]
+
| data10= {{{radius_ly<includeonly>|</includeonly>}}}
 +
| label12= Estimated age
 +
| data12= {{{age<includeonly>|</includeonly>}}}
 +
| label13 = Notable features
 +
| data13   = {{{notes<includeonly>|</includeonly>}}}
 +
| label14 = Other designations
 +
| data14   = {{{names<includeonly>|</includeonly>}}}
 +
| belowstyle = background: #CCFFFF;
 +
| belowclass = noprint
 +
| below=See also: [[Open cluster]], [[List of open clusters]]
 
}}<noinclude>
 
}}<noinclude>
Infobox for articles on [[open cluster]]s.
+
{{Documentation}}
 
 
=== Usage ===
 
{| style="background: transparent;"
 
|<pre>{{Infobox cluster
 
| name =
 
| image =
 
| caption =
 
| credit =
 
| epoch =
 
| constellation =
 
| ra = {{RA|00|00|00}}
 
| dec = {{DEC|±00|00|00}}
 
| dist_ly =
 
| dist_pc =
 
| appmag_v =
 
| size_v =
 
| notes =
 
| names =
 
}}</pre>
 
|}
 
 
 
[[Category:Astronomy infobox templates|{{PAGENAME}}]]
 
 
 
[[nn:Mal:Infoboks open stjernehop]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 23:53, 19 February 2021

{{{name}}}
[[File:{{{image}}}|frameless]]
{{{caption}}}
Credit: {{{credit}}}
Observation data ({{{epoch}}} epoch)
Constellation{{{constellation}}}
Right ascension{{{ra}}}
Declination{{{dec}}}
Distance{{{dist_ly}}} ({{{dist_pc}}})
Apparent magnitude (V){{{appmag_v}}}
Apparent dimensions (V){{{size_v}}}
Physical characteristics
Mass{{{mass_msol}}} Template:Solar mass
Radius{{{radius_ly}}}
Estimated age{{{age}}}
Notable features{{{notes}}}
Other designations{{{names}}}
See also: Open cluster, List of open clusters

[[Category:Infobox templates|Template:Remove first word]]

Usage

Infobox for articles on open clusters.

{{Infobox open cluster
 | name      = 
 | image     = 
 | caption   = 
 | credit    = 
 | epoch     = <!-- typically [[J2000]] -->
 | constellation = 
 | ra        = {{RA|00|00|00}} or {{Deg2HMS|000.000|sup=yes}}
 | dec       = {{DEC|±00|00|00}}
 | dist_ly   = <!-- Distance: {{convert|##.###|pc|ly|order=flip|abbr=on|lk=on}} -->
 | dist_pc   = 
 | appmag_v  = <!-- Apparent visual magnitude of the cluster -->
 | size_v    = <!-- Angular size of the cluster: {{val|#.##|ul=arcsecond}} -->
 | radius_ly = <!-- Radius in light years, dependent on distance -->
 | mass_msol = <!-- Cluster mass in solar masses: {{val|#.##|ul=solar mass}} -->
 | age       = <!-- Age, usually in Myr: {{val|#.##|#.##|ul=Myr}} -->
 | notes     = <!-- Unusual features -->
 | names     = <!-- Comma-separated list of the most common catalogue identifiers -->
}}

See also