Difference between revisions of "Template:Hub"
imported>Tom.Reding (Expanding functionality - removing the necessity of having a pipe in the template call, in case someone doesn't want to use the subscript.) |
imported>Tom.Reding m (Pissed a mipe) |
||
| Line 1: | Line 1: | ||
| − | <includeonly><span class="nowrap">{{#if:{{{link|}}}|[[Hubble's law#Dimensionless Hubble parameter|<i>h</i>]]|<i>h</i>}}<small>{{su|p=−1|b={{#if:{{{1}}}|{{{1}}}| }}|a=l}}</small></span></includeonly><noinclude> | + | <includeonly><span class="nowrap">{{#if:{{{link|}}}|[[Hubble's law#Dimensionless Hubble parameter|<i>h</i>]]|<i>h</i>}}<small>{{su|p=−1|b={{#if:{{{1|}}}|{{{1}}}| }}|a=l}}</small></span></includeonly><noinclude> |
{{Documentation}} | {{Documentation}} | ||
<!-- PLEASE ADD CATEGORIES & INTERWIKIS TO /doc SUBPAGE - NOT HERE.--> | <!-- PLEASE ADD CATEGORIES & INTERWIKIS TO /doc SUBPAGE - NOT HERE.--> | ||
</noinclude> | </noinclude> | ||
Latest revision as of 15:30, 17 December 2014
Description
Many properties of cosmological objects are reported with the addition of the dimensionless Hubble parameter h. This template addresses only the inverse Hubble parameter h−1
0.70 (since h0.70 is more straightforward to wikicode). If no subscript is specified, then the reader may choose a value of h of their liking to modify whatever the reported measurement is. If a subscript is specified, then the property being reported has been modified by the value of that subscript. For example, 7×1013 h−1
Template:Solar mass = 1014 h−1
0.70 Template:Solar mass.
Our best measurement, as of 2013, for the Hubble parameter is h = 0.6780 ±0.0077 from the Planck mission. In early 2011 it was 0.704+0.013
−0.014 from WMAP 7-year data.[1] See Hubble's law#Determining the Hubble constant for the most recent value of H0.
Usage
Instead of writing ''h''<small>{{su|p=−1|b=0.6780|a=l}}</small>, one can simply do the following (a numerical subscript is now optional):
{{hub|0.75}}gives h−1
0.75
{{hub|}}gives h−1
{{hub}}gives h−1
Options
To include a link to Hubble's law#Dimensionless Hubble parameter, use the |link= parameter. It is optional and defaults to not-used, <blank>, or <null>. It is activated by "yes", or any text:
{{hub|0.7|link=yes}}gives h−1
0.7
{{hub|0.7|link=y}}gives h−1
0.7
{{hub|link=no}}gives h−1
See also
- {{±}} : specific form of {{su}} with hard-coded positive {{sup}} and negative {{sub}}: 1+0.2
−0.4 - {{e}} : (1.23×104)
- {{su}} : general form of {{±}} for formatting exponents, or two-values incertainty one below the other (monospaced : currently not printable to PDF)
- {{sub}} : subscript text
- {{sup}} : superscript text
- {{Val/units}} : for formatting unit names (contents of parameters u or up)
- {{Val/unitswithlink}} : for formatting unit names with links (contents of parameters ul or upl)
- Subscript and superscript
References
- ↑ Jarosik, N.; Bennett, C. L.; Dunkley, J.; Gold, B.; Greason, M. R.; Halpern, M.; Hill, R. S.; Hinshaw, G.; Kogut, A.; Komatsu, E.; Larson, D.; Limon, M.; Meyer, S. S.; Nolta, M. R.; Odegard, N.; Page, L.; Smith, K. M.; Spergel, D. N.; Tucker, G. S.; Weiland, J. L.; Wollack, E.; Wright, E. L. (February 2011). "Seven-year Wilkinson Microwave Anisotropy Probe (WMAP) Observations: Sky Maps, Systematic Errors, and Basic Results" (PDF). The Astrophysical Journal Supplement. 192 (2). arXiv:1001.4744. Bibcode:2011ApJS..192...14J. doi:10.1088/0067-0049/192/2/14. 14. Retrieved March 11, 2012.
| The above documentation is transcluded from Template:Hub/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |