Template:Infobox nebula

{{Infobox {{#switch:{{{type|}}} {{!}}abovestyle=background: #c0c0c0; {{!}}headerstyle=background: #c0c0c0; {{!}}belowstyle=background: #c0c0c0; {{!}}labelstyle=background: inherit; {{!}}abovestyle=background: #FFb8b0; {{!}}headerstyle=background: #FFb8b0; {{!}}belowstyle=background: #FFb8b0; {{!}}labelstyle=background: inherit; }}
 * name=Infobox nebula
 * above={{{name}}}
 * dark
 * DARK
 * Dark =
 * diffuse
 * DIFFUSE
 * Diffuse =

|1=See also: Lists of nebulae {{#if:{{{type|}}}|, {{#switch:{{{type|}}} }} }}
 * below={{hide in print
 * dark
 * DARK
 * Dark = Dark nebula
 * diffuse
 * DIFFUSE
 * Diffuse = Diffuse nebula
 * Nebula


 * image={{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|alt={{{alt|}}}}}
 * caption={{{caption|}}} {{#if:{{{credit | }}}| Credit: {{{credit}}} }}


 * header1={{ #if: {{{epoch|}}} | Observation data: {{{epoch}}} Epoch (astronomy){{!}}epoch | Observation data }}

}} {{documentation |content=
 * label2=Type
 * data2={{{subtype|}}}
 * label3=Class
 * data3={{{class|}}}
 * label4=Right ascension
 * data4= {{{ra|{{{RA|}}}}}}
 * label5=Declination
 * data5= {{{dec|{{{DEC|}}}}}}
 * label5= Distance
 * data5= {{#if:{{{dist_ly|}}}|{{{dist_ly}}}ly}}{{#if:{{{dist_ly|}}}{{{dist_pc|}}}|  }}{{#if:{{{dist_pc|}}}|{{{dist_pc}}}pc}}
 * label6= Apparent magnitude (V)
 * data6= {{{appmag_v|}}}
 * label7=Apparent dimensions (V)
 * data7= {{{size_v}}}
 * label8= Constellation
 * data8= {{{constellation|}}}
 * header9= Physical characteristics
 * label10=Radius
 * data10= {{#if:{{{radius_ly|}}}|{{{radius_ly}}} }}{{#if:{{{radius_ly|}}}{{{radius_pc|}}}|  }}{{#if:{{{radius_pc|}}}|{{{radius_pc}}} }}
 * label11=Absolute magnitude (V)
 * data11= {{{absmag_v|}}}
 * label12=Notable features
 * data12= {{{notes|}}}
 * label13=Designations
 * data13= {{{names|}}}

Parameters

 * type - the general type of nebula
 * supported types: "nebula", "dark", "diffuse", "emission", "reflection"
 * name – the name of the nebula.
 * image (optional) – an image, specified in the form
 * caption (optional) – a caption for the image
 * subtype - the subtype of this type of nebula
 * class - the class of the subtype of nebula
 * epoch – the epoch when the coordinate measurements were taken
 * ra – the right ascension of the nebula
 * dec – the declination of the nebula
 * dist_ly – the distance of the nebula, in light years
 * dist_pc – the distance of the nebula, in parsecs
 * appmag_v (optional) – the apparent magnitude of the nebula
 * size_v – the apparent dimensions of the nebula
 * constellation – the constellation containing the nebula. Should be wikilinked.
 * radius_ly (optional) – the radius of the nebula, in light years
 * radius_pc (optional) – the radius of the nebula, in parsecs
 * absmag_v (optional) – the absolute magnitude of the nebula
 * notes (optional) - notes
 * names (optional) – any other names, catalogue designations, etc.

}}