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

From blackwiki
Jump to navigation Jump to search
imported>Tom.Reding
(+== See also ==, wikified)
imported>Jdaloner
m ("{{t1" --> "{{tl")
Line 41: Line 41:
 
=== 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 <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}}
* {{t1|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.
  

Revision as of 14:14, 18 January 2015

Infobox for articles on galaxies.

Usage

{{Infobox galaxy
| name               = 
| image              = 
| caption            = 
| 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_ly            = {{convert|000|+/-|00|kly|kpc|abbr=on|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             = 
| notes              = 
| names              = 
| references         = 
}}

Parameters

redshift

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.

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)

See also