Difference between revisions of "Template:Earth mass"
Jump to navigation
Jump to search
imported>NuclearElevator (Re-introduced character change. It's been changed on template:val) |
imported>Lithopsian (Undid revision 982466559 by NuclearElevator (talk) needs discussion, does not display correctly in all browsers) |
||
Line 2: | Line 2: | ||
|{{{1}}} | |{{{1}}} | ||
}}{{#if:{{{link|}}} | }}{{#if:{{{link|}}} | ||
− | |[[Earth mass|<var>M</var><sub> | + | |[[Earth mass|<var>M</var><sub>⊕</sub>]] |
− | |<var>M</var><sub> | + | |<var>M</var><sub>⊕</sub> |
}}<noinclude> | }}<noinclude> | ||
{{documentation}} | {{documentation}} |
Latest revision as of 20:12, 12 October 2020
M⊕
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
{{val|12|e=8|u=Earth mass}}
→ Template:Val
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
Alternatively, one could use
{{val|12|e=8|ul=Earth mass}}
→ Template:Val{{val|12|e=8|ul=M+}}
→ Template:Val
See also
- {{Jupiter mass}}
- {{Solar mass}}
- {{Solar luminosity}}
The above documentation is transcluded from Template:Earth mass/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |