Jump to content

Template:Dimensionless Hubble constant/sandbox

From Wikipedia, the free encyclopedia

Test cases

[edit]

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

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

Options

[edit]

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/sandbox|0.7|link=y}} gives h−1
0.7
{{hub/sandbox|0.7|link=no}} gives h−1
0.7
{{hub/sandbox|link=no}} gives h−1