• {{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×१०7 M

Alternatively, one could use:

  • {{val|12|e=8|u=solar mass}}12×१०8 solar mass
  • {{val|12|e=8|u=M_solar}}12×१०8 M_solar

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×१०8 solar mass
  • {{val|12|e=8|ul=M_solar}}12×१०8 M_solar