Difference between revisions of "Template:Lunar mass"
Jump to navigation
Jump to search
imported>Tom.Reding (New template adopted from Jupiter mass) |
imported>Loooke m (Change <i> to <var> tags) |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 2: | Line 2: | ||
|{{nowrap|{{{1}}}}} | |{{nowrap|{{{1}}}}} | ||
}}{{#if:{{{link|}}} | }}{{#if:{{{link|}}} | ||
| − | |[[Moon|< | + | |[[Moon|<var>M</var><sub>{{#if:{{{sym|}}}|☾|L}}</sub>]] |
| − | |< | + | |<var>M</var><sub>{{#if:{{{sym|}}}|☾|L}}</sub> |
}}<noinclude> | }}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Latest revision as of 15:50, 4 February 2018
ML
Usage
{{Lunar mass}}→ ML{{Lunar mass|dozens of}}→ dozens of ML (with non-breaking spaces via and{{nowrap}})
Usually, this will be used as:
{{Lunar mass|2.58{{e|4}}}}→ 2.58×104 ML{{Lunar mass|{{val|13|1|-2|e=7}}}}→ Template:Val ML
Alternatively, one could use:
{{val|12|e=8|u=Lunar mass}}→ Template:Val
Options
- To include a link to Lunar mass, use the
|link=yesor|link=yparameter:
{{Lunar mass|link=yes}}→ ML
- Alternatively, one could use:
{{val|12|e=8|ul=Lunar mass}}→ Template:Val
- To change the default "L" subscript to "☾", use the
|sym=yesor|sym=yparameter:
{{Lunar mass|sym=yes}}→ M☾
See also
- {{Lunar radius}}
- {{Earth mass}}
- {{Earth radius}}
- {{Jupiter mass}}
- {{Jupiter radius}}
- {{Solar mass}}
- {{Solar radius}}
- {{Solar luminosity}}
| The above documentation is transcluded from Template:Lunar 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. |