Template:Solar mass

From Vigyanwiki
Revision as of 16:37, 8 February 2023 by alpha>Indicwiki (Created page with "{{#if:{{{1|}}} |{{{1}}}  }}{{#if:{{{link|}}} |<var>M</var><sub>☉</sub> |<var>M</var><sub>☉</sub> }}<noinclude> {{documentation}} </noinclu...")

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