Difference between revisions of "Template:Infobox open cluster"

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

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

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