Difference between revisions of "Template:Infobox nebula/doc"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
 
(12 intermediate revisions by 6 users not shown)
Line 5: Line 5:
  
 
==Syntax==
 
==Syntax==
<nowiki>{{Infobox nebula</nowiki>
+
{{Infobox nebula
  <nowiki>|type          = </nowiki>
+
  |name          = {{{name}}}         
  <nowiki>|type2        = </nowiki>
+
|image        = {{{image}}}       
  <nowiki>|name          = </nowiki>
+
|caption      = {{{caption}}}     
  <nowiki>|image        = </nowiki>
+
|credit        = {{{credit}}}       
  <nowiki>|caption      = </nowiki>
+
|type          = {{{type}}}
  <nowiki>|epoch        = </nowiki>
+
  |type2        = type2       
  <nowiki>|subtype      = </nowiki>
+
|epoch        = {{{epoch}}}       
  <nowiki>|class        = </nowiki>
+
|subtype      = {{{subtype}}}     
  <nowiki>|ra            = {{RA|hh|mm|ss.wxyz}} </nowiki>
+
|class        = {{{class}}}       
  <nowiki>|dec          = {{DEC|</nowiki>{{+-}}<nowiki>DD|MM|SS.WXYZ}} </nowiki>
+
|ra            = {{RA|hh|mm|ss.wxyz}}
  <nowiki>|dist_ly      = </nowiki>
+
|dec          = {{DEC|±DD|MM|SS.WXYZ}}
  <nowiki>|dist_pc      = </nowiki>
+
|dist_ly      = {{{dist_ly}}} 
  <nowiki>|dist_z        = </nowiki>
+
|dist_pc      = {{{dist_pc}}}
  <nowiki>|appmag_v      = </nowiki>
+
|dist_z        = {{{dist_z}}}
  <nowiki>|appdia        = dd&deg;mm'ss".mas </nowiki>
+
|appmag_v      = {{{appmag_v}}}
  <nowiki>|size_v        = </nowiki>
+
|appdia        = dd&deg;mm'ss".mas
  <nowiki>|constellation = </nowiki>
+
|size_v        = {{{size_v}}}
  <nowiki>|radius_ly    = </nowiki>
+
|constellation = {{{constellation}}}
  <nowiki>|radius_pc    = </nowiki>
+
|radius_ly    = {{{radius_ly}}}
  <nowiki>|dimensions    = </nowiki>
+
|radius_pc    = {{{radius_pc}}}
  <nowiki>|absmag_v      = </nowiki>
+
|dimensions    = {{{dimensions}}}   
  <nowiki>|notes        = </nowiki>
+
|absmag_v      = {{{absmag_v}}} 
  <nowiki>|names        = </nowiki>
+
|notes        = {{{notes}}}       
<nowiki>}}</nowiki>
+
|names        = {{{names}}}       
 +
}}
 +
<pre>{{Infobox nebula
 +
  |name          =  
 +
  |image        = <!-- name only, without File:/Image: and without brackets -->
 +
  |caption      =
 +
|credit        =
 +
|type          =
 +
|type2        = <!-- can be wikilinked -->
 +
  |epoch        = <!-- typically [[J2000]] -->
 +
  |subtype      =  
 +
  |class        =  
 +
  |ra            = <!-- {{RA|hh|mm|ss.wxyz}} or {{Deg2HMS|ddd.dddd|sup=yes}} -->
 +
  |dec          = <!-- {{DEC|±DD|MM|SS.WXYZ}} -->
 +
  |dist_ly      =  
 +
  |dist_pc      =  
 +
  |dist_z        =  
 +
  |appmag_v      =  
 +
  |appdia        = <!-- dd°mm'ss".mas -->
 +
  |size_v        =  
 +
  |constellation =  
 +
  |radius_ly    =  
 +
  |radius_pc    =  
 +
  |dimensions    =  
 +
  |absmag_v      =  
 +
  |notes        =  
 +
  |names        =  
 +
}}</pre>
  
 
==Parameters==
 
==Parameters==
*'''type''' - the general type of nebula
+
*'''type''' - the general type of nebula; ''default'': "nebula"; ''supported types:'' <div style="margin:0 20px">{{hlist|"nebula"|"dark"|"diffuse"|"emission"|"reflection"|"planetary"|"protoplanetary"|"plerion"|"interstellar cloud"|"high velocity cloud"|"intermediate velocity cloud"|"low velocity cloud"|"supershell"|"molecular cloud"|"infrared cirrus"|"Bok globule"|"giant molecular cloud"|"molecular cloud complex"|"supernova remnant"}}</div>
*::''supported types:'' "nebula", "dark", "diffuse", "emission", "reflection", "planetary", "protoplanetary", "plerion", "interstellar cloud", "high velocity cloud", "intermediate velocity cloud", "low velocity cloud", "supershell", "molecular cloud", "infrared cirrus", "Bok globule", "giant molecular cloud", "molecular cloud complex"
 
*::default: "nebula"
 
 
*'''type2''' (optional) - if the type is unsupported, place it here; can also be used to specify an alternate type
 
*'''type2''' (optional) - if the type is unsupported, place it here; can also be used to specify an alternate type
 
*'''name''' – the name of the nebula.
 
*'''name''' – the name of the nebula.
Line 40: Line 65:
 
*::''ie.'')  <code>sampleimage.jpg</code>
 
*::''ie.'')  <code>sampleimage.jpg</code>
 
*'''caption''' (optional) – a caption for the image
 
*'''caption''' (optional) – a caption for the image
 +
*'''credit''' (optional) – a credit for the image
 
*'''subtype''' (optional) - the subtype of this type of nebula; can also be used to specify an alternate type
 
*'''subtype''' (optional) - the subtype of this type of nebula; can also be used to specify an alternate type
 
*'''class''' (optional) - the class of the subtype of nebula
 
*'''class''' (optional) - the class of the subtype of nebula
 
*'''epoch''' – the [[Epoch (astronomy)|epoch]] when the coordinate measurements were taken
 
*'''epoch''' – the [[Epoch (astronomy)|epoch]] when the coordinate measurements were taken
 
*:''NOTE'' This parameter requires that <code>ra</code> , <code>dec</code> , <code>epoch</code> all be set
 
*:''NOTE'' This parameter requires that <code>ra</code> , <code>dec</code> , <code>epoch</code> all be set
*'''ra''' – the [[right ascension]] of the nebula; please use {{tl|RA}} filling in hours, minutes, seconds
+
*'''ra''' – the [[right ascension]] of the nebula; please use {{tl|RA}} or {{tl|Deg2HMS}} filling in hours, minutes, seconds
 
*:''NOTE'' This parameter requires that <code>ra</code> , <code>dec</code> , <code>epoch</code> all be set
 
*:''NOTE'' This parameter requires that <code>ra</code> , <code>dec</code> , <code>epoch</code> all be set
*'''dec''' – the [[declination]] of the nebula; please use {{tl|DEC}} filling in {{+-}}degrees, minutes, seconds
+
*'''dec''' – the [[declination]] of the nebula; please use {{tl|DEC}} filling in ±degrees, minutes, seconds
 
*:''NOTE'' This parameter requires that <code>ra</code> , <code>dec</code> , <code>epoch</code> all be set
 
*:''NOTE'' This parameter requires that <code>ra</code> , <code>dec</code> , <code>epoch</code> all be set
 
*'''dist_ly''' – the distance of the nebula, in [[light year]]s
 
*'''dist_ly''' – the distance of the nebula, in [[light year]]s
Line 65: Line 91:
 
*'''names''' (optional) – any other names, catalogue designations, etc.
 
*'''names''' (optional) – any other names, catalogue designations, etc.
  
<includeonly>
+
<includeonly>{{basepage subpage|
</includeonly>
+
<!-- Categories go here: -->
<noinclude>
+
[[Category:Astronomy infobox templates|Nebula]]
</noinclude>
+
}}</includeonly>

Latest revision as of 15:56, 12 July 2017

Template:Purgebox


Syntax

{{{name}}}
Nebula
type2
[[File:{{{image}}}|frameless]]
{{{caption}}}
Credit: {{{credit}}}
Observation data: {{{epoch}}} epoch
Subtype{{{subtype}}}
Class{{{class}}}
Right ascensionTemplate:RA
DeclinationTemplate:Str rep° MM′ SS.WXYZ″
Distancez={{{dist_z}}}
Apparent magnitude (V){{{appmag_v}}}
Apparent diameterdd°mm'ss".mas
Apparent dimensions (V){{{size_v}}}
Constellation{{{constellation}}}
Physical characteristics
Radius{{{radius_ly}}} ly   ({{{radius_pc}}} pc)
Absolute magnitude (V){{{absmag_v}}}
Dimensions{{{dimensions}}}
Notable features{{{notes}}}
Designations{{{names}}}
See also: Lists of nebulae
{{Infobox nebula
 |name          = 
 |image         = <!-- name only, without File:/Image: and without brackets -->
 |caption       = 
 |credit        =
 |type          = 
 |type2         = <!-- can be wikilinked -->
 |epoch         = <!-- typically [[J2000]] -->
 |subtype       = 
 |class         = 
 |ra            = <!-- {{RA|hh|mm|ss.wxyz}} or {{Deg2HMS|ddd.dddd|sup=yes}} -->
 |dec           = <!-- {{DEC|±DD|MM|SS.WXYZ}} -->
 |dist_ly       = 
 |dist_pc       = 
 |dist_z        = 
 |appmag_v      = 
 |appdia        = <!-- dd°mm'ss".mas -->
 |size_v        = 
 |constellation = 
 |radius_ly     = 
 |radius_pc     = 
 |dimensions    = 
 |absmag_v      = 
 |notes         = 
 |names         = 
}}

Parameters

  • type - the general type of nebula; default: "nebula"; supported types:
    • "nebula"
    • "dark"
    • "diffuse"
    • "emission"
    • "reflection"
    • "planetary"
    • "protoplanetary"
    • "plerion"
    • "interstellar cloud"
    • "high velocity cloud"
    • "intermediate velocity cloud"
    • "low velocity cloud"
    • "supershell"
    • "molecular cloud"
    • "infrared cirrus"
    • "Bok globule"
    • "giant molecular cloud"
    • "molecular cloud complex"
    • "supernova remnant"
  • type2 (optional) - if the type is unsupported, place it here; can also be used to specify an alternate type
  • name – the name of the nebula.
  • image (optional) – an image, specified in the form imagename.ext without specifying "FILE:" and without the [[ brackets ]]
    ie.) sampleimage.jpg
  • caption (optional) – a caption for the image
  • credit (optional) – a credit for the image
  • subtype (optional) - the subtype of this type of nebula; can also be used to specify an alternate type
  • class (optional) - the class of the subtype of nebula
  • epoch – the epoch when the coordinate measurements were taken
    NOTE This parameter requires that ra , dec , epoch all be set
  • ra – the right ascension of the nebula; please use {{RA}} or {{Deg2HMS}} filling in hours, minutes, seconds
    NOTE This parameter requires that ra , dec , epoch all be set
  • dec – the declination of the nebula; please use {{DEC}} filling in ±degrees, minutes, seconds
    NOTE This parameter requires that ra , dec , epoch all be set
  • dist_ly – the distance of the nebula, in light years
    NOTE This parameter is incompatible with dist_z
  • dist_pc – the distance of the nebula, in parsecs
    NOTE This parameter is incompatible with dist_z
  • dist_z - the distance of the nebula, in dimensionless redshift
    NOTE This parameter is incompatible with dist_pc and dist_ly
  • appmag_v (optional) – the apparent magnitude of the nebula
  • appdia (optional) - the apparent diameter of the nebula, in degrees,minutes,seconds,milliseconds of arc
  • 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
  • dimensions (optional) - the real dimensions of the nebula if the radius isn't sufficient to describe it
  • absmag_v (optional) – the absolute magnitude of the nebula
  • notes (optional) - notes
  • names (optional) – any other names, catalogue designations, etc.