Difference between revisions of "Template:Hub/doc"

From blackwiki
Jump to navigation Jump to search
imported>Tom.Reding
(→‎Usage: Added the long way of coding h, and added <code></code> for prettiness.)
imported>Tom.Reding
(Edited for consistency.)
Line 3: Line 3:
  
 
== Description ==
 
== Description ==
Many properties of cosmological objects are reported with the addition of the dimensionless [[Hubble_parameter#Dimensionless_Hubble_parameter|Hubble parameter]] ''h''. This template addresses only the inverse Hubble parameter {{hub|0.70}} (since ''h''<sub>0.70</sub> 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{{e|13}} {{hub|}} M<sub>☉</sub> = 10<sup>14</sup> {{hub|0.70}} M<sub>☉</sub>.
+
Many properties of cosmological objects are reported with the addition of the [[Hubble_parameter#Dimensionless_Hubble_parameter|dimensionless Hubble parameter]] ''h''. This template addresses only the inverse Hubble parameter {{hub|0.70}} (since ''h''<sub>0.70</sub> 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{{e|13}} {{hub|}} M<sub>☉</sub> = 10<sup>14</sup> {{hub|0.70}} M<sub>☉</sub>.
  
 
Our best measurement for the Hubble parameter is currently ''h'' = 0.704{{±|0.013|0.014}} from the [[Wilkinson Microwave Anisotropy Probe]] (WMAP) 7 year data.<ref name="WMAP7">{{cite journal
 
Our best measurement for the Hubble parameter is currently ''h'' = 0.704{{±|0.013|0.014}} from the [[Wilkinson Microwave Anisotropy Probe]] (WMAP) 7 year data.<ref name="WMAP7">{{cite journal
Line 40: Line 40:
  
 
== See also ==
 
== See also ==
* {{tl|su}} general form of {{tl|±}} for formatting exponents, or two-values incertainty one below the other (monospaced : currently not printable to PDF)
+
* {{tl|±}} : specific form of {{tl|su}} with hard-coded positive {{tl|sup}} and negative {{tl|sub}}: 1{{±|0.2|0.4}}
 +
* {{tl|e}} : (1.23{{e|4}})
 +
* {{tl|su}} : general form of {{tl|±}} for formatting exponents, or two-values incertainty one below the other (monospaced : currently not printable to PDF)
 
* {{tl|sub}} : {{sub|subscript}} text
 
* {{tl|sub}} : {{sub|subscript}} text
 
* {{tl|sup}} : {{sup|superscript}} text
 
* {{tl|sup}} : {{sup|superscript}} text
* {{tl|e}} : (1.23{{e|4}})
 
 
* {{tl|Val/units}} : for formatting unit names (contents of parameters <tt>u<tt> or <tt>up</tt>)
 
* {{tl|Val/units}} : for formatting unit names (contents of parameters <tt>u<tt> or <tt>up</tt>)
 
* {{tl|Val/unitswithlink}} : for formatting unit names with links (contents of parameters <tt>ul<tt> or <tt>upl</tt>)
 
* {{tl|Val/unitswithlink}} : for formatting unit names with links (contents of parameters <tt>ul<tt> or <tt>upl</tt>)

Revision as of 16:01, 13 March 2012

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
 
M = 1014 h−1
0.70
M.

Our best measurement for the Hubble parameter is currently h = 0.704+0.013
−0.014
from the Wilkinson Microwave Anisotropy Probe (WMAP) 7 year data.[1]

Usage

Instead of writing ''h''<small>{{su|p=−1|b=0.701|a=l}}</small>, one can simply do the following.

Template:Xpd5op3c

Template:Xpd5op3c

Template:Xpd5op3c

{{hub}} gives h−1
 
, which is an error. Like Mario, always remember your pipes.

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

  1. 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. (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. Unknown parameter |month= ignored (help)CS1 maint: multiple names: authors list (link)