Template:Solar mass: Difference between revisions

From Vigyanwiki
m (Changed protection level for "Template:Solar mass": high-risk template with 2000+ transclusions ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite)))
 
m (1 revision imported from alpha:Template:Solar_mass)
 
(4 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