Difference between revisions of "Template:Earth mass"

From blackwiki
Jump to navigation Jump to search
imported>Primefac
m (Protected "Template:Earth mass": semi-protection of high-usage templates to combat systematic vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed access] (indefinite)))
imported>Loooke
m (Change <i> to <var> tags)
Line 2: Line 2:
 
  |{{{1}}}&nbsp;
 
  |{{{1}}}&nbsp;
 
}}{{#if:{{{link|}}}
 
}}{{#if:{{{link|}}}
  |[[Earth mass|<i>M</i><sub>⊕</sub>]]
+
  |[[Earth mass|<var>M</var><sub>⊕</sub>]]
  |<i>M</i><sub>⊕</sub>
+
  |<var>M</var><sub>⊕</sub>
 
}}<noinclude>
 
}}<noinclude>
 
{{documentation}}
 
{{documentation}}

Revision as of 15:50, 4 February 2018

M

Template documentation[view] [edit] [history] [purge]

Usage

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

Usually, this will be used as

  • {{earth mass|10}} → 10 M
  • {{earth mass|{{val|13|1|-2|e=7}}}}Template:Val M

Alternatively, one could use

Instead of {{earth mass}} one can use the shorter version {{M+}} with the same functionality:

  • {{val|12|e=8|u=M+}}Template:Val
  • {{M+}}M
  • {{M+|10}} → 10 M

Options

To include a link to Earth mass, use the |link=yes parameter

  • {{earth mass|link=yes}}M
  • {{M+|link=yes}}M

Alternatively, one could use

See also

de:Vorlage:Erdmasse