Difference between revisions of "Template:Night Sky"
Jump to navigation
Jump to search
(Created page with '{| border=1 align=right cellpadding=4 cellspacing=0 width=300 style="margin: 0.5em 0 1em 1em; border: 1px #aaaaaa solid; border-collapse: collapse; font-size: 90%; none: right" ...') |
m |
||
| (16 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | {| | + | {| class="infobox" style="float:right; width:23em; margin: 0 0 0.5em 0.5em; text-align: left; font-size: 85%;margin-left:5px" align="right" cellpadding="2" cellspacing="4" width="250" |
|- | |- | ||
| − | !colspan="2" align="center" style="color: white; font-size: 120%; height: 20px; background: black no-repeat scroll top left;"|'''{{{name|{{PAGENAME}}}}}''' | + | !colspan="2" align="center" style="color: white; font-size: 120%; height: 20px; background: black no-repeat scroll top left;"| '''{{{name|{{PAGENAME}}}}}''' |
|- | |- | ||
<!----------Image----------> | <!----------Image----------> | ||
| − | {{!}}align="center" colspan="2"{{!}}{{#if:{{{image|}}}|[[image:{{{image}}}| | + | {{!}}align="center" colspan="2"{{!}}{{#if:{{{image|}}}|[[image:{{{image}}}|200px]]|}} |
{{!-}} | {{!-}} | ||
|- | |- | ||
| − | |colspan="2" align=" | + | {{#if:{{{caption|}}}| |
| − | |- | + | {{!}} colspan="2" style="border-bottom: 1px solid #aaa; text-align:center;" {{!}} {{{caption}}} |
| − | | | + | {{!-}} |
| − | + | }} | |
| − | |- | + | !colspan="2" style="text-align:center; height: 24px;line-height:24px;background:#54595d;"|Observational Data |
| − | | | + | |- |
| − | + | <!---------Astronomical designation----------> | |
| − | |- | + | {{#if:{{{designation|}}} | <!--then:--> |
| − | | | + | {{!}} '''Designation''' |
| − | + | {{!}} {{{designation|}}} | <!--else--> | |
| − | |- | + | }} |
| − | | | + | |- |
| − | + | <!---------Right ascension----------> | |
| − | |- | + | {{#if:{{{rightascension|}}} | <!--then:--> |
| − | | | + | {{!}} '''Right ascension''' |
| − | + | {{!}} {{{rightascension|}}} | <!--else--> | |
| − | |- | + | }} |
| − | | | + | |- |
| − | + | <!---------Declination----------> | |
| − | |- | + | {{#if:{{{declination|}}} | <!--then:--> |
| − | | | + | {{!}} '''Declination''' |
| − | + | {{!}} {{{declination|}}} | <!--else--> | |
| − | |- | + | }} |
| − | |- | + | |- |
| − | + | <!---------Constellation----------> | |
| − | |- | + | {{#if:{{{constellation|}}} | <!--then:--> |
| − | | | + | {{!}} '''Constellation''' |
| − | + | {{!}} [[{{{constellation|}}}]] | <!--else--> | |
| − | |- | + | }} |
| − | | | + | |- |
| − | + | <!---------Type----------> | |
| − | |- | + | {{#if:{{{type|}}} | <!--then:--> |
| − | | | + | {{!}} '''Type of object''' |
| − | + | {{!}} [[{{{type|}}}]] | <!--else--> | |
| − | |- | + | }} |
| − | | | + | |- |
| − | + | <!---------Dimensions----------> | |
| − | |} | + | {{#if:{{{dimensions|}}} | <!--then:--> |
| + | {{!}} '''Dimensions''' | ||
| + | {{!}} {{{dimensions|}}} | <!--else--> | ||
| + | }} | ||
| + | |- | ||
| + | <!---------Magnitude----------> | ||
| + | {{#if:{{{magnitude|}}} | <!--then:--> | ||
| + | {{!}} '''Magnitude''' | ||
| + | {{!}} {{{magnitude|}}} | <!--else--> | ||
| + | }} | ||
| + | |- | ||
| + | <!---------Redshift----------> | ||
| + | {{#if:{{{redshift|}}} | <!--then:--> | ||
| + | {{!}} '''Redshift''' | ||
| + | {{!}} {{{redshift|}}} | <!--else--> | ||
| + | }} | ||
| + | |- | ||
| + | !colspan="2" style="text-align:center;background:#54595d; height: 24px;line-height:24px;"|Astrometry | ||
| + | |- | ||
| + | <!---------Skymap image/Distance from Earth/Radial Velocity/Proper Motion/Parallax -------> | ||
| + | |- | ||
| + | {{#if:{{{skymapimg|}}} | <!--then:--> | ||
| + | {{!}}align="center" colspan="2"{{!}}[[Image:{{{skymapimg}}}|200px]] | ||
| + | }} | ||
| + | |- | ||
| + | {{#if:{{{distance|}}} | <!--then:--> | ||
| + | {{!}}'''Distance from Earth''' | ||
| + | {{!}} {{{distance|}}} | <!--else--> | ||
| + | }} | ||
| + | |- | ||
| + | {{#if:{{{radvelocity|}}} | <!--then:--> | ||
| + | {{!}} '''Radial velocity''' | ||
| + | {{!}} {{{radvelocity|}}} | <!--else--> | ||
| + | }} | ||
| + | |- | ||
| + | {{#if:{{{propmotion|}}} | <!--then:--> | ||
| + | {{!}}'''Proper motion''' | ||
| + | {{!}} {{{propmotion|}}} | <!--else--> | ||
| + | }} | ||
| + | |- | ||
| + | {{#if:{{{parallax|}}} | <!--then:--> | ||
| + | {{!}}'''Parallax''' | ||
| + | {{!}} {{{parallax|}}} | <!--else--> | ||
| + | }} | ||
| + | |||
| + | |}<noinclude> | ||
| + | {{TemplateDoc|pages=Article pages|purpose=Astronomic Classification|cat=}} | ||
| + | {{Parms| | ||
| + | {{Parm|name|Name of celestial object|no|defaults to page name}} | ||
| + | {{Parm|image|Picture of celestial object|no|only the file name is required}} | ||
| + | {{Parm|designation|name as given in various star catalouges|no|}} | ||
| + | {{Parm|rightascension|angular distance along celestial equator|no|}} | ||
| + | {{Parm|declination|one of two angles to locate a point in celestial sphere|no|}} | ||
| + | {{Parm|distance|distance from earth|no|in light years}} | ||
| + | {{Parm|constellation|location of object as part of a constellation|no|}} | ||
| + | {{Parm|type|type of object, i.e. star, nebula, galaxy, etc.|no|}} | ||
| + | {{Parm|dimensions|approximate size of celestial object|no|}} | ||
| + | {{Parm|magnitude|approximate measure of brightness as seen by observer|no|}} | ||
| + | {{Parm|redshift|red end of light spectrum|no|}} | ||
| + | {{Parm|radvelocity|speed of object towards or away from earth observer|no|}} | ||
| + | {{Parm|propmotion|proper motion of star against background|no|}} | ||
| + | {{Parm|parallax|apparent position of object via two lines of sight|no|}} | ||
| + | {{Parm|skymapimg|image location in the sky|no||}} | ||
| + | }} | ||
<noinclude> | <noinclude> | ||
| Line 51: | Line 114: | ||
{{Night Sky | {{Night Sky | ||
| image = | | image = | ||
| + | | designation = | ||
| rightascension = | | rightascension = | ||
| declination = | | declination = | ||
| Line 59: | Line 123: | ||
| magnitude = | | magnitude = | ||
| redshift = | | redshift = | ||
| + | | skymapimg = | ||
| radvelocity = | | radvelocity = | ||
| propmotion = | | propmotion = | ||
Latest revision as of 13:38, January 10, 2018
| Night Sky | |
|---|---|
| Observational Data | |
| Astrometry |
| Template: Night Sky | |
|---|---|
| Use on | Article pages |
| Use for | Astronomic Classification |
| Category template applies to page | (none) |
| Template Parameters (See using templates). | |||
|---|---|---|---|
| Name | Purpose | Required? | Comment |
| name | Name of celestial object | no | defaults to page name |
| image | Picture of celestial object | no | only the file name is required |
| designation | name as given in various star catalouges | no | |
| rightascension | angular distance along celestial equator | no | |
| declination | one of two angles to locate a point in celestial sphere | no | |
| distance | distance from earth | no | in light years |
| constellation | location of object as part of a constellation | no | |
| type | type of object, i.e. star, nebula, galaxy, etc. | no | |
| dimensions | approximate size of celestial object | no | |
| magnitude | approximate measure of brightness as seen by observer | no | |
| redshift | red end of light spectrum | no | |
| radvelocity | speed of object towards or away from earth observer | no | |
| propmotion | proper motion of star against background | no | |
| parallax | apparent position of object via two lines of sight | no | |
| skymapimg | image location in the sky | no | |
{{Night Sky
| image =
| designation =
| rightascension =
| declination =
| distance =
| constellation =
| type =
| dimensions =
| magnitude =
| redshift =
| skymapimg =
| radvelocity =
| propmotion =
| parallax =
}}
See the talk page for more thorough documentation.
Please do not make major changes to the infobox without proposing and discussing it on the talk page first.