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

From blackwiki
Jump to navigation Jump to search
imported>Huntster
(Fix parameter.)
imported>Pauli133
m (fixing lint errors)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
+
<!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE. -->
 
Infobox for articles on [[galaxy|galaxies]].
 
Infobox for articles on [[galaxy|galaxies]].
  
Line 7: Line 7:
 
|<pre>{{Infobox galaxy
 
|<pre>{{Infobox galaxy
 
| name              =  
 
| name              =  
| image              =  
+
| image              =
 +
| image_size        =
 +
| upright            =
 
| caption            =  
 
| caption            =  
 +
| alt                =
 
| epoch              =  
 
| epoch              =  
 
| pronounce          = {{IPA-en|<!-- IPA string -->|}}
 
| pronounce          = {{IPA-en|<!-- IPA string -->|}}
Line 17: Line 20:
 
| h_radial_v        =  
 
| h_radial_v        =  
 
| gal_v              =  
 
| gal_v              =  
| dist_pc            = {{convert|000|+/-|00|kpc|kly|abbr=on|lk=on}}{{hub|0.73}}
+
| dist_pc            = {{cvt|000|+/-|00|kpc|kly|order=flip|lk=on}}{{hub|0.73}} <!-- comoving distance -->
| dist_ly            = {{convert|000|+/-|00|kly|kpc|abbr=on|lk=on}}{{hub|0.73}}
+
| dist_ly            = {{cvt|000|+/-|00|kpc|kly|order=flip|lk=on}}{{hub|0.73}}
 
| group_cluster      =  
 
| group_cluster      =  
 
| type              =  
 
| type              =  
| mass              = <!-- In solar masses --> {{Val|0|e=0}}  
+
| mass              = <!-- In solar masses {{Val|0|e=0}} -->
 
| mass_light_ratio  = <!-- In solar units  -->
 
| mass_light_ratio  = <!-- In solar units  -->
 
| size              = <!-- In light years  -->
 
| size              = <!-- In light years  -->
Line 43: Line 46:
 
== Parameters ==
 
== Parameters ==
  
=== redshift ===
+
=== z, h_radial_v, gal_v ===
The <tt>redshift</tt> parameter ([[Redshift|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 <code>redshift</code> parameter ([[Redshift|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 {{para|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 ===
 
=== dist_ly ===
The <tt>dist_ly</tt> field can list the distance in both [[light-year]]s and [[parsec]]s by using the {{tl|Convert}} template. For example: <tt><code><nowiki>{{convert|2810|+/-|90|kly|kpc|abbr=on|lk=on}}</nowiki></code></tt> gives: {{convert|2810|+/-|90|kly|kpc|abbr=on|lk=on}}
+
The <code>dist_ly</code> field can list the distance in both [[light-year]]s and [[parsec]]s by using the {{tl|Convert}} template. For example: {{tlx|convert|2810|+/-|90|kly|kpc|abbr{{=}}on|lk{{=}}on}} gives: {{convert|2810|+/-|90|kly|kpc|abbr=on|lk=on}}
 
* {{tl|hub}} identifies the [[dimensionless Hubble parameter]] used in the distance measurement. Using NED's default value of 0.73, {{xpd5op3c||||||hub|0.73|}}.
 
* {{tl|hub}} identifies the [[dimensionless Hubble parameter]] used in the distance measurement. Using NED's default value of 0.73, {{xpd5op3c||||||hub|0.73|}}.
 
* {{xpd5op3c||||||hub||}} if distance is left in 'units' of h.
 
* {{xpd5op3c||||||hub||}} if distance is left in 'units' of h.
 +
 +
=== group_cluster ===
 +
The parameter {{para|group_cluster}} refers to the [[galaxy group]] or [[galaxy cluster]] that the galaxy is located in.
 +
 +
=== type ===
 +
The parameter {{para|type}} is the [[Galaxy morphological classification|de Vancoleurs morphological type]] of the galaxy. These can be found on NED or SIMBAD. (Note that a <code>^</code> in NED is actually a superscript, so for example S0^0 should be written as S0<sup>0</sup> .)
 +
 +
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 [[Galaxy morphological classification#Numerical Hubble stage|this article]]:
 +
{| class="wikitable" style="text-align: center; margin: 1em auto;"
 +
|+ 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<sup>+</sup>
 +
| S0<sup>−</sup>
 +
| S0<sup>0</sup>
 +
| S0<sup>+</sup>
 +
| S0/a
 +
| Sa
 +
| Sab
 +
| Sb
 +
| Sbc
 +
| Sc
 +
| Scd
 +
| Sd
 +
| Sdm
 +
| Sm
 +
| Im
 +
| Irr
 +
|-
 +
|}
  
 
== See also ==
 
== See also ==
Line 57: Line 113:
 
* [[Template:Infobox globular cluster]]
 
* [[Template:Infobox globular cluster]]
  
<includeonly><!--
+
<includeonly>{{basepage subpage|<!--
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. -->
+
++++ PLEASE ADD CATEGORIES BELOW THIS LINE, THANK YOU. -->
  
[[Category:Astronomy infobox templates|{{PAGENAME}}]]
+
[[Category:Astronomy infobox templates|Galaxy]]
  
</includeonly>
+
}}</includeonly>

Latest revision as of 18:46, 21 January 2020

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