Difference between revisions of "Template:Infobox galaxy/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Tom.Reding
m (Renumber elements for expansion)
imported>Tom.Reding
(halign code; +half_light_radius_pc, +half_light_radius_arcminsec, +h1_scale_length_pc, +h1_scale_length_arcminsec, +xray_radius_pc, +xray_radius_arcminsec params)
Line 42: Line 42:
 
| labelstyle  = background: inherit;
 
| labelstyle  = background: inherit;
  
| header10 = Observation data {{#if:{{{epoch<includeonly>|</includeonly>}}}|({{{epoch}}} [[Epoch (astronomy)|epoch]]) }}
+
|header10 = Observation data {{#if:{{{epoch<includeonly>|</includeonly>}}}|({{{epoch}}} [[Epoch (astronomy)|epoch]]) }}
| label11 = Pronunciation
+
| label11 = Pronunciation
|  data11 = {{{pronounce<includeonly>|</includeonly>}}}
+
|  data11 = {{{pronounce<includeonly>|</includeonly>}}}
  
| label20 = [[Constellation]]
+
| label20 = [[Constellation]]
|  data20 = {{{constellation name<includeonly>|</includeonly>}}}
+
|  data20 = {{{constellation name<includeonly>|</includeonly>}}}
| label21 = [[Right ascension]]
+
| label21 = [[Right ascension]]
|  data21 = {{{ra<includeonly>|</includeonly>}}}
+
|  data21 = {{{ra<includeonly>|</includeonly>}}}
| label22 = [[Declination]]
+
| label22 = [[Declination]]
|  data22 = {{{dec<includeonly>|</includeonly>}}}
+
|  data22 = {{{dec<includeonly>|</includeonly>}}}
  
| label30 = [[Redshift]]
+
| label30 = [[Redshift]]
|  data30 = {{{z<includeonly>|</includeonly>}}}
+
|  data30 = {{{z<includeonly>|</includeonly>}}}
| label31 = [[Radial velocity|Helio radial velocity]]
+
| label31 = [[Radial velocity|Helio radial velocity]]
|  data31 = {{{h_radial_v<includeonly>|</includeonly>}}}
+
|  data31 = {{{h_radial_v<includeonly>|</includeonly>}}}
| label32 = Galactocentric velocity
+
| label32 = Galactocentric velocity
|  data32 = {{{gal_v<includeonly>|</includeonly>}}}
+
|  data32 = {{{gal_v<includeonly>|</includeonly>}}}
| label33 = [[Comoving distance|Distance (comoving)]]
+
| label33 = [[Comoving distance|Distance (comoving)]]
|  data33 = {{{dist_pc<includeonly>|</includeonly>}}}
+
|  data33 = {{{dist_pc<includeonly>|</includeonly>}}}
| label34 = [[Cosmic distance ladder|Distance]]
+
| label34 = [[Cosmic distance ladder|Distance]]
|  data34 = {{{dist_ly<includeonly>|</includeonly>}}}
+
|  data34 = {{{dist_ly<includeonly>|</includeonly>}}}
| label35 = [[Galaxy group|Group]] or [[Galaxy cluster|cluster]]
+
| label35 = [[Galaxy group|Group]] or [[Galaxy cluster|cluster]]
|  data35 = {{{group_cluster<includeonly>|</includeonly>}}}
+
|  data35 = {{{group_cluster<includeonly>|</includeonly>}}}
  
| header40 = {{#if:{{{type<includeonly>|</includeonly>}}}{{{mass<includeonly>|</includeonly>}}}{{{mass_light_ratio<includeonly>|</includeonly>}}}{{{size<includeonly>|</includeonly>}}}{{{stars<includeonly>|</includeonly>}}}{{{size_v<includeonly>|</includeonly>}}}{{{appmag_v<includeonly>|</includeonly>}}}{{{appmag_b<includeonly>|</includeonly>}}}{{{absmag_v<includeonly>|</includeonly>}}}|Characteristics}}
+
|header40 = {{#if:{{{type<includeonly>|</includeonly>}}}{{{mass<includeonly>|</includeonly>}}}{{{mass_light_ratio<includeonly>|</includeonly>}}}{{{size<includeonly>|</includeonly>}}}{{{stars<includeonly>|</includeonly>}}}{{{size_v<includeonly>|</includeonly>}}}{{{appmag_v<includeonly>|</includeonly>}}}{{{appmag_b<includeonly>|</includeonly>}}}{{{absmag_v<includeonly>|</includeonly>}}}|Characteristics}}
| label41 = [[Galaxy morphological classification|Type]]
+
| label41 = [[Galaxy morphological classification|Type]]
|  data41 = {{{type<includeonly>|</includeonly>}}}
+
|  data41 = {{{type<includeonly>|</includeonly>}}}
| label42 = [[Mass]]
+
| label42 = [[Mass]]
|  data42 = {{#if:{{{mass<includeonly>|</includeonly>}}}|{{{mass}}} {{solar mass|link=yes}}}}
+
|  data42 = {{#if:{{{mass<includeonly>|</includeonly>}}}|{{{mass}}} {{solar mass|link=yes}}}}
| label43 = [[Mass-to-light ratio|Mass/Light ratio]]
+
| label43 = [[Mass-to-light ratio|Mass/Light ratio]]
|  data43 = {{#if:{{{mass_light_ratio<includeonly>|</includeonly>}}}|{{{mass_light_ratio}}} {{solar mass|link=yes}}/{{solar luminosity|link=yes}}}}
+
|  data43 = {{#if:{{{mass_light_ratio<includeonly>|</includeonly>}}}|{{{mass_light_ratio}}} {{solar mass|link=yes}}/{{solar luminosity|link=yes}}}}
| label44 = Size ([[light year|ly]])
+
| label44 = Size ([[light year|ly]])
|  data44 = {{#if:{{{size<includeonly>|</includeonly>}}}|{{{size}}}}}
+
|  data44 = {{#if:{{{size<includeonly>|</includeonly>}}}|{{{size}}}}}
| label45 = Number of stars
+
| label45 = Number of stars
|  data45 = {{{stars<includeonly>|</includeonly>}}}
+
|  data45 = {{{stars<includeonly>|</includeonly>}}}
| label46 = [[Angular diameter|Apparent dimensions]]&nbsp;<small title="in visual light">(V)</small>
+
| label46 = [[Angular diameter|Apparent dimensions]]&nbsp;<small title="in visual light">(V)</small>
|  data46 = {{{size_v<includeonly>|</includeonly>}}}
+
|  data46 = {{{size_v<includeonly>|</includeonly>}}}
| label47 = [[Apparent magnitude]]&nbsp;<small title="in visual light">(V)</small>
+
| label47 = [[Apparent magnitude]]&nbsp;<small title="in visual light">(V)</small>
|  data47 = {{{appmag_v<includeonly>|</includeonly>}}}
+
|  data47 = {{{appmag_v<includeonly>|</includeonly>}}}
| label48 = [[Apparent magnitude]]&nbsp;<small title="in B band">(B)</small>
+
| label48 = [[Apparent magnitude]]&nbsp;<small title="in B band">(B)</small>
|  data48 = {{{appmag_b<includeonly>|</includeonly>}}}
+
|  data48 = {{{appmag_b<includeonly>|</includeonly>}}}
| label49 = [[Absolute magnitude]]&nbsp;<small title="in visual light">(V)</small>
+
| label49 = [[Absolute magnitude]]&nbsp;<small title="in visual light">(V)</small>
|  data49  = {{{absmag_v<includeonly>|</includeonly>}}}
+
|  data49 = {{{absmag_v<includeonly>|</includeonly>}}}
 +
| label50 = [[Half-light radius]]&nbsp;<small title="in visual light">(physical)</small>
 +
|  data50 = {{{half_light_radius_pc<includeonly>|</includeonly>}}}
 +
| label51 = [[Half-light radius]]&nbsp;<small title="in visual light">(angular)</small>
 +
|  data51 = {{{half_light_radius_arcminsec<includeonly>|</includeonly>}}}
 +
| label52 = [[H I region|H I scale length]]&nbsp;<small title="in visual light">(physical)</small>
 +
|  data52 = {{{h1_scale_length_pc<includeonly>|</includeonly>}}}
 +
| label53 = [[H I region|H I scale length]]&nbsp;<small title="in visual light">(angular)</small>
 +
| data53 = {{{h1_scale_length_arcminsec<includeonly>|</includeonly>}}}
 +
| label54 = [[X-ray astronomy|X-ray radius]]&nbsp;<small title="in visual light">(physical)</small>
 +
|  data54 = {{{xray_radius_pc<includeonly>|</includeonly>}}}
 +
| label55 = [[X-ray astronomy|X-ray radius]]&nbsp;<small title="in visual light">(angular)</small>
 +
|  data55 = {{{xray_radius_arcminsec<includeonly>|</includeonly>}}}
  
| label90 = Notable features
+
| label90 = Notable features
|  data90 = {{{notes<includeonly>|</includeonly>}}}
+
|  data90 = {{{notes<includeonly>|</includeonly>}}}
| header91 = {{#if:{{{names<includeonly>|</includeonly>}}} | Other designations }}
+
|header91 = {{#if:{{{names<includeonly>|</includeonly>}}} | Other designations }}
|   data92 = {{{names<includeonly>|</includeonly>}}}
+
| data92 = {{{names<includeonly>|</includeonly>}}}
  
| data93     = {{#if:{{{references<includeonly>|</includeonly>}}}|'''References''': {{{references}}} }}
+
| data93 = {{#if:{{{references<includeonly>|</includeonly>}}}|'''References''': {{{references}}} }}
| data93style = font-size: 95%
+
| data93style = font-size: 95%
  
 
| belowclass = noprint
 
| belowclass = noprint

Revision as of 18:44, 14 May 2016

Andromeda Galaxy
Andromeda Galaxy (with h-alpha).jpg
The Andromeda Galaxy
Observation data (J2000 epoch)
Pronunciation/ænˈdrɒm[invalid input: 'ɨ']də/
ConstellationAndromeda
Right ascensionTemplate:RA
DeclinationTemplate:Str rep° 16′ 9″
Redshiftz = −0.001001
(minus sign
indicates blueshift)
Helio radial velocity−301 ± 1 km/s
Distance2.54 ± 0.11 Mly
(778 ± 33 kpc)
Characteristics
TypeSA(s)b
Mass~1.5×1012[1] Template:Solar mass
Size (ly)~220 kly (diameter)
Number of stars~1 trillion (1012)
Apparent dimensions (V)3.167° × 1°
Apparent magnitude (V)3.44
Absolute magnitude (V)−21.5
Other designations
M31, NGC 224, UGC 454, PGC 2557, 2C 56 (Core), CGCG 535-17, MCG +07-02-016, IRAS 00400+4059, 2MASX J00424433+4116074, GC 116, h 50, Bode 3, Flamsteed 58, Hevelius 32, Ha 3.3, IRC +40013
See also: Galaxy, List of galaxies
{{{name}}}
[[File:{{{image}}}|frameless]]
{{{caption}}}
Observation data ({{{epoch}}} epoch)
Pronunciation{{{pronounce}}}
Constellation{{{constellation name}}}
Right ascension{{{ra}}}
Declination{{{dec}}}
Redshift{{{z}}}
Helio radial velocity{{{h_radial_v}}}
Galactocentric velocity{{{gal_v}}}
Distance (comoving){{{dist_pc}}}
Distance{{{dist_ly}}}
Group or cluster{{{group_cluster}}}
Characteristics
Type{{{type}}}
Mass{{{mass}}} Template:Solar mass
Mass/Light ratio{{{mass_light_ratio}}} Template:Solar mass/Template:Solar luminosity
Size (ly){{{size}}}
Number of stars{{{stars}}}
Apparent dimensions (V){{{size_v}}}
Apparent magnitude (V){{{appmag_v}}}
Apparent magnitude (B){{{appmag_b}}}
Absolute magnitude (V){{{absmag_v}}}
Half-light radius (physical){{{half_light_radius_pc}}}
Half-light radius (angular){{{half_light_radius_arcminsec}}}
H I scale length (physical){{{h1_scale_length_pc}}}
H I scale length (angular){{{h1_scale_length_arcminsec}}}
X-ray radius (physical){{{xray_radius_pc}}}
X-ray radius (angular){{{xray_radius_arcminsec}}}
Notable features{{{notes}}}
Other designations
{{{names}}}
References: {{{references}}}
See also: Galaxy, List of galaxies
Template documentation[view] [edit] [history] [purge]

Infobox for articles on galaxies.

Usage

{{Infobox galaxy
| name               = 
| image              =
| image_size         = 
| upright            =
| caption            = 
| alt                =
| epoch              = 
| pronounce          = {{IPA-en|<!-- IPA string -->|}}
| constellation name = 
| ra                 = {{RA|00|00|00}} <!-- or {{Deg2HMS|000.0000|sup=yes}} -->
| dec                = {{DEC|±00|00|00}}
| z                  = 
| h_radial_v         = 
| gal_v              = 
| dist_pc            = {{cvt|000|+/-|00|kpc|kly|order=flip|lk=on}}{{hub|0.73}} <!-- comoving distance -->
| dist_ly            = {{cvt|000|+/-|00|kpc|kly|order=flip|lk=on}}{{hub|0.73}}
| group_cluster      = 
| type               = 
| mass               = <!-- In solar masses {{Val|0|e=0}} -->
| mass_light_ratio   = <!-- In solar units  -->
| size               = <!-- In light years  -->
| stars              = 
| appmag_v           = 
| appmag_b           = 
| absmag_v           = 
| size_v             = 
| half_light_radius_pc        = <!-- physical dimension, pc preferred -->
| half_light_radius_arcminsec = <!-- apparent dimension -->
| h1_scale_length_pc          = <!-- physical dimension, pc preferred -->
| h1_scale_length_arcminsec   = <!-- apparent dimension -->
| xray_radius_pc              = <!-- physical dimension, pc preferred -->
| xray_radius_arcminsec       = <!-- apparent dimension -->
| notes              = 
| names              = 
| references         = 
}}

Parameters

z, h_radial_v, gal_v

The redshift parameter (z) can either list the radial velocity of the galaxy in units of km/s, or the dimensionless quantity z. The former is used when the value of z has a very small value, such as less than 0.1.

The parameter |gal_v= refers to the galactrocentric radial velocity (the radial velocity relative to the Milky Way), which can be found on NED under the section "Quantities Derived from Redshift" if one looks up a galaxy.

dist_ly

The dist_ly field can list the distance in both light-years and parsecs by using the {{Convert}} template. For example: {{convert|2810|+/-|90|kly|kpc|abbr=on|lk=on}} gives: 2,810 ± 90 kly (862 ± 28 kpc)

group_cluster

The parameter |group_cluster= refers to the galaxy group or galaxy cluster that the galaxy is located in.

type

The parameter |type= is the de Vancoleurs morphological type of the galaxy. These can be found on NED or SIMBAD. (Note that a ^ in NED is actually a superscript, so for example S0^0 should be written as S00 .)

In SIMBAD the morphological type is often given as a number between -6 and 11. To convert these into the de Vaucouleurs class, use this table from this article:

Converting numerical Hubble stage to de Vancoleurs classes
Numerical Hubble stage −6 −5 −4 −3 −2 −1 0 1 2 3 4 5 6 7 8 9 10 11
de Vaucouleurs class cE E E+ S0 S00 S0+ S0/a Sa Sab Sb Sbc Sc Scd Sd Sdm Sm Im Irr

See also

  1. Jorge Peñarrubia; Yin-Zhe Ma; Matthew G. Walker; Alan McConnachie. "A dynamical model of the local cosmic expansion". Monthly Notices of the Royal Astronomical Society. 433 (3): 2204–2022. arXiv:1405.0306. Bibcode:2014MNRAS.443.2204P. doi:10.1093/mnras/stu879.