Template:Dimensionless Hubble constant/sandbox

{{#if:{{{link|}}}|h|h}}{{su|p=−1|b={{#if:{{{1|}}}|{{{1}}}| }}|a=l}}

Test cases

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

:{{hub/sandbox|0.701}} gives {{hub/sandbox|0.701}}

:{{hub/sandbox|}} gives {{hub/sandbox|}}

:{{hub/sandbox}} gives {{hub/sandbox}}, which is an error. Like Mario, always remember your pipes.

= Options =

To include a link to Hubble's law#Dimensionless Hubble parameter, use the {{para|link}} parameter. It is optional and defaults to not-used, , or . It is activated by "yes", or any text:

:{{hub/sandbox|0.7|link=y}} gives {{hub/sandbox|0.7|link=y}}

:{{hub/sandbox|0.7|link=no}} gives {{hub/sandbox|0.7|link=no}}

:{{hub/sandbox|link=no}} gives {{hub/sandbox|link=no}}