Difference between revisions of "Template:Infobox nebula"

From blackwiki
Jump to navigation Jump to search
Line 36: Line 36:
 
}}
 
}}
  
 +
<!--
 
|image={{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|alt={{{alt|}}}}}
 
|image={{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|alt={{{alt|}}}}}
 
|caption={{{caption|}}} {{#if:{{{credit<includeonly>|</includeonly>}}}|<br/><span style="font-size:smaller;">Credit: {{{credit}}}</span> }}
 
|caption={{{caption|}}} {{#if:{{{credit<includeonly>|</includeonly>}}}|<br/><span style="font-size:smaller;">Credit: {{{credit}}}</span> }}
  
−
|header1={{ #if: {{{epoch|}}} | Observation data: {{{epoch}}} [[Epoch (astronomy){{!}}epoch]] | Observation data }}
+
|header1= {{#if:{{{epoch|}}}
 +
| Observation data: {{{epoch}}} [[Epoch (astronomy){{!}}epoch]]  
 +
| Observation data  
 +
}}
 +
-->
  
 
|label2=Type
 
|label2=Type
Line 54: Line 59:
 
|data6= {{{appmag_v|}}}
 
|data6= {{{appmag_v|}}}
 
|label7=Apparent dimensions <small>(V)</small>
 
|label7=Apparent dimensions <small>(V)</small>
−
|data7= {{{size_v}}}
+
|data7= {{{size_v|}}}
 
|label8= [[Constellation]]
 
|label8= [[Constellation]]
 
|data8= {{{constellation|}}}
 
|data8= {{{constellation|}}}
 
|header9= Physical characteristics
 
|header9= Physical characteristics
 
|label10=[[Radius]]
 
|label10=[[Radius]]
−
|data10= {{#if:{{{radius_ly|}}}|{{{radius_ly}}} }}{{#if:{{{radius_ly|}}}{{{radius_pc|}}}|&nbsp;&nbsp;&nbsp;}}{{#if:{{{radius_pc|}}}|{{{radius_pc}}} }}
+
|data10= {{#if:{{{radius_ly|}}}|{{{radius_ly}}}ly}}{{#if:{{{radius_ly|}}}{{{radius_pc|}}}|&nbsp;&nbsp;&nbsp;}}{{#if:{{{radius_pc|}}}|{{{radius_pc}}}pc}}
 
|label11=[[Absolute magnitude]] <small>(V)</small>
 
|label11=[[Absolute magnitude]] <small>(V)</small>
 
|data11= {{{absmag_v|}}}
 
|data11= {{{absmag_v|}}}

Revision as of 07:22, 13 March 2014

{{Infobox |name=Infobox nebula |above={{{name}}}


|below=See also: Lists of nebulae

Template documentation

Syntax

{{Infobox nebula
|type          = 
|name          = 
|image         = 
|caption       = 
|epoch         = 
|subtype       = 
|class         = 
|ra            = 
|dec           = 
|dist_ly       = 
|appmag_v      = 
|size_v        = 
|constellation = 
|radius_ly     = 
|absmag_v      = 
|notes         = 
|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 [[File:imagename]]
  • 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.