Difference between revisions of "Template:Infobox nebula"
Jump to navigation
Jump to search
Template documentation
| Line 2: | Line 2: | ||
|name=Infobox nebula | |name=Infobox nebula | ||
|above={{{name}}} | |above={{{name}}} | ||
| + | |||
{{#switch:{{{type|}}} | {{#switch:{{{type|}}} | ||
| dark | | dark | ||
| Line 22: | Line 23: | ||
{{!}}belowstyle=background: lightblue; | {{!}}belowstyle=background: lightblue; | ||
{{!}}labelstyle=background: inherit; | {{!}}labelstyle=background: inherit; | ||
| − | }} | + | }} <!-- end: switch --> |
|below={{hide in print | |below={{hide in print | ||
| Line 33: | Line 34: | ||
| Diffuse = [[Diffuse nebula]] | | Diffuse = [[Diffuse nebula]] | ||
| <!-- default --> [[Nebula]] | | <!-- default --> [[Nebula]] | ||
| − | }} | + | }} <!-- end: switch --> |
| − | }} | + | }} <!-- end: if --> |
| − | }} | + | }} <!-- end: hide in print --> |
|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|}}}}} | ||
| Line 43: | Line 44: | ||
| Observation data: {{{epoch}}} [[Epoch (astronomy){{!}}epoch]] | | Observation data: {{{epoch}}} [[Epoch (astronomy){{!}}epoch]] | ||
| Observation data | | Observation data | ||
| − | }} | + | }} <!-- end: if --> |
|label2=Type | |label2=Type | ||
Revision as of 07:25, 13 March 2014
| {{{name}}} | |
|---|---|
| Observation data | |
| Physical characteristics | |
| See also: Lists of nebulae | |
[[Category:Infobox templates|Template:Remove first word]]
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.
| The above documentation is transcluded from Template:Infobox nebula/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Subpages of this template. |