Difference between revisions of "Template:Jupiter mass/doc"
Jump to navigation
Jump to search
imported>Tom.Reding (Explaining {{nowrap}} and ♃.) |
imported>Tom.Reding m (Formatting) |
||
| Line 2: | Line 2: | ||
<!-- Categories and interwikis go at the bottom of this page. --> | <!-- Categories and interwikis go at the bottom of this page. --> | ||
| − | + | == Usage == | |
*<code><nowiki>{{Jupiter mass}}</nowiki></code> → {{Jupiter mass}} | *<code><nowiki>{{Jupiter mass}}</nowiki></code> → {{Jupiter mass}} | ||
*<code><nowiki>{{Jupiter mass|dozens of}}</nowiki></code> → {{Jupiter mass|dozens of}} (with [[non-breaking space]]s via &nbsp; and {{tlx|nowrap}}) | *<code><nowiki>{{Jupiter mass|dozens of}}</nowiki></code> → {{Jupiter mass|dozens of}} (with [[non-breaking space]]s via &nbsp; and {{tlx|nowrap}}) | ||
| Line 27: | Line 27: | ||
::<code><nowiki>{{Jupiter mass|greek=yes}}</nowiki></code> → {{Jupiter mass|greek=yes}} | ::<code><nowiki>{{Jupiter mass|greek=yes}}</nowiki></code> → {{Jupiter mass|greek=yes}} | ||
| − | + | == See also == | |
{{cmn|3| | {{cmn|3| | ||
* {{tl|Lunar mass}} | * {{tl|Lunar mass}} | ||
Revision as of 09:04, 12 December 2014
| This is a documentation subpage for Template:Jupiter mass. It contains usage information, categories and other content that is not part of the original template page. |
Usage
{{Jupiter mass}}→ MJ{{Jupiter mass|dozens of}}→ dozens of MJ (with non-breaking spaces via and{{nowrap}})
Usually, this will be used as:
{{Jupiter mass|1.05{{e|3}}}}→ 1.05×103 MJ{{Jupiter mass|{{val|13|1|-2|e=7}}}}→ Template:Val MJ
Alternatively, one could use:
{{val|12|e=8|u=Jupiter mass}}→ Template:Val
Options
- To include a link to Jupiter mass, use the
|link=yesor|link=yparameter:
{{Jupiter mass|link=yes}}→ MJ
- Alternatively, one could use:
{{val|12|e=8|ul=Jupiter mass}}→ Template:Val
- To change the default "J" subscript to "Jup", use the
|jup=yor|Jup=yparameter:
{{Jupiter mass|jup=y}}→ MJup{{Jupiter mass|Jup=y}}→ MJup
- To change the default "J" subscript to "♃", use the
|greek=yparameter:
{{Jupiter mass|greek=y}}→ M♃{{Jupiter mass|greek=yes}}→ M♃
See also
3
The unnamed parameter 2= is no longer supported. Please see the documentation for {{columns-list}}.
- {{Lunar mass}}
- {{Lunar radius}}
- {{Earth mass}}
- {{Earth radius}}
- {{Jupiter radius}}
- {{Solar mass}}
- {{Solar radius}}
- {{Solar luminosity}}