Difference between revisions of "Template:Night Sky"

From Conservapedia
Jump to navigation Jump to search
(added designation line...i.e. "M-31" for Andromeda galaxy)
m
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
−
{| 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"
+
{| 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}}}|290px]]|}}
+
{{!}}align="center" colspan="2"{{!}}{{#if:{{{image|}}}|[[image:{{{image}}}|200px]]|}}
 
{{!-}}
 
{{!-}}
 
|-  
 
|-  
−
|colspan="2" align="center" style="background-color:lightblue;"|'''Observational Data'''
+
{{#if:{{{caption|}}}|
−
|- style="border: 1px solid #A9A9A9;" border="1"
+
{{!}} colspan="2" style="border-bottom: 1px solid #aaa; text-align:center;" {{!}} {{{caption}}}
−
|align="left"|'''Astronomical designation'''
+
{{!-}}
−
||{{{designation|N/A}}}
+
}}
−
|- style="border: 1px solid #A9A9A9;" border="1"
+
!colspan="2" style="text-align:center; height: 24px;line-height:24px;background:#54595d;"|Observational Data
−
|align="left"|'''Right ascension'''
+
|-
−
||{{{rightascension|N/A}}}
+
<!---------Astronomical designation---------->
−
|- style="border: 1px solid #A9A9A9;" border="1"
+
{{#if:{{{designation|}}} | <!--then:-->
−
|align="left"|'''Declination'''
+
{{!}} '''Designation'''
−
||{{{declination|N/A}}}
+
{{!}} {{{designation|}}} | <!--else-->
−
|- style="border: 1px solid #A9A9A9;" border="1"
+
}}
−
|align="left"|'''Constellation'''
+
|-
−
||{{{constellation|N/A}}}
+
<!---------Right ascension---------->
−
|- style="border: 1px solid #A9A9A9;" border="1"
+
{{#if:{{{rightascension|}}} | <!--then:-->
−
|align="left"|'''Type of object'''
+
{{!}} '''Right ascension'''
−
||{{{type|N/A}}}
+
{{!}} {{{rightascension|}}} | <!--else-->
−
|- style="border: 1px solid #A9A9A9;" border="1"
+
}}
−
|align="left"|'''Dimensions'''
+
|-
−
||{{{dimensions|N/A}}}
+
<!---------Declination---------->
−
|- style="border: 1px solid #A9A9A9;" border="1"
+
{{#if:{{{declination|}}} | <!--then:-->
−
|align="left"|'''Magnitude'''
+
{{!}} '''Declination'''
−
||{{{magnitude|N/A}}}
+
{{!}} {{{declination|}}} | <!--else-->
−
|- style="border: 1px solid #A9A9A9;" border="1"
+
}}
−
|align="left"|'''Redshift'''
+
|-
−
||{{{redshift|N/A}}}
+
<!---------Constellation---------->
−
|- style="border: 1px solid #A9A9A9;" border="1"
+
{{#if:{{{constellation|}}} | <!--then:-->
−
|-  
+
{{!}} '''Constellation'''
−
|colspan="2" align="center" style="background-color:lightblue;"|'''Astrometry'''
+
{{!}} [[{{{constellation|}}}]] | <!--else-->
−
|- style="border: 1px solid #A9A9A9;" border="1"
+
}}
−
|align="left"|'''Distance from Earth'''
+
|-
−
||{{{distance|N/A}}}
+
<!---------Type---------->
−
|- style="border: 1px solid #A9A9A9;" border="1"
+
{{#if:{{{type|}}} | <!--then:-->
−
|align="left"|'''Radial Velocity'''
+
{{!}} '''Type of object'''
−
||{{{radvelocity|N/A}}}
+
{{!}} [[{{{type|}}}]] | <!--else-->
−
|- style="border: 1px solid #A9A9A9;" border="1"
+
}}
−
|align="left"|'''Proper Motion'''
+
|-
−
||{{{propmotion|N/A}}}
+
<!---------Dimensions---------->
−
|- style="border: 1px solid #A9A9A9;" border="1"
+
{{#if:{{{dimensions|}}} | <!--then:-->
−
|align="left"|'''Parallax'''
+
{{!}} '''Dimensions'''
−
||{{{parallax|N/A}}}
+
{{!}} {{{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 54: Line 114:
 
{{Night Sky
 
{{Night Sky
 
| image          =
 
| image          =
 +
| designation    =
 
| rightascension  =  
 
| rightascension  =  
 
| declination    =
 
| declination    =
Line 62: 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.