Template:Solar mass: Difference between revisions

From Vigyanwiki
m (Protected "Template:Solar mass" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading])
m (Removed protection from "Template:Solar mass")
(No difference)

Revision as of 16:49, 21 October 2022

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