Template:Hub/sandbox

From blackwiki
< Template:Hub
Revision as of 15:28, 17 December 2014 by imported>Tom.Reding (Looks good)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Test cases

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

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