Template:Solar mass: Difference between revisions

From Vigyanwiki
m (1 revision imported)
m (1 revision imported from alpha:Template:Solar_mass)
 
(3 intermediate revisions by 2 users not shown)
(No difference)

Latest revision as of 17:37, 23 February 2023

M

Template documentation

Usage

  • {{solar mass}}M
  • {{solar mass|FOOBAR}} → FOOBAR M (with non-breaking space)

Usually, this will be used as:

  • {{solar mass|10}} → 10 M
  • {{solar mass|{{val|13|1|-2|e=7}}}}13+1
    −2
    ×107
     M

Alternatively, one could use:

  • {{val|12|e=8|u=solar mass}}12×108 M
  • {{val|12|e=8|u=M_solar}}12×108 M

Options

To include a link to solar mass, use the |link=yes parameter (or |link=y):

  • {{solar mass|link=yes}}M

Alternatively, one could use:

  • {{val|12|e=8|ul=solar mass}}12×108 M
  • {{val|12|e=8|ul=M_solar}}12×108 M

See also