Difference between revisions of "Template:Infobox open cluster"

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
(use #invoke:InfoboxImage for images. See Module:InfoboxImage for details.)
imported>Loooke
(use page title if no name parameter specified)
 
(28 intermediate revisions by 14 users not shown)
Line 1: Line 1:
 
{{Infobox
 
{{Infobox
| above  = {{{name}}}
+
| above  = {{{name<includeonly>|{{PAGENAME}}</includeonly>}}}
 
| image  = {{#invoke:InfoboxImage|InfoboxImage|image={{{image<includeonly>|</includeonly>}}}|size={{{image_size|}}}|sizedefault=frameless|alt={{{alt|}}}}}
 
| 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 22: Line 21:
 
| header8=Physical characteristics
 
| header8=Physical characteristics
 
| label9=Mass
 
| label9=Mass
| data9={{#if: {{{mass_msol<includeonly>|</includeonly>}}}|{{{mass_msol<includeonly>|</includeonly>}}}&nbsp;[[Solar mass|M<sub>☉</sub>]]}}
+
| data9={{#if: {{{mass_msol<includeonly>|</includeonly>}}}|{{{mass_msol<includeonly>|</includeonly>}}}&nbsp;{{solar mass|link=yes}}}}
 
| label10=Radius
 
| label10=Radius
 
| data10= {{{radius_ly<includeonly>|</includeonly>}}}
 
| data10= {{{radius_ly<includeonly>|</includeonly>}}}
Line 31: Line 30:
 
| label14  = Other designations
 
| label14  = Other designations
 
| data14  = {{{names<includeonly>|</includeonly>}}}
 
| data14  = {{{names<includeonly>|</includeonly>}}}
| below  = {{hide in print
+
| belowstyle = background: #CCFFFF;
|1=<includeonly>See also: [[Open cluster]], [[List of open clusters]]</includeonly>
+
| belowclass = noprint
}}
+
| below=See also: [[Open cluster]], [[List of open clusters]]
 
}}<noinclude>
 
}}<noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</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