Difference between revisions of "Template:Jupiter mass/doc"

From blackwiki
Jump to navigation Jump to search
imported>Headbomb
({{subst:Earth mass}})
 
imported>Headbomb
({{subst:Earth mass/doc}})
Line 1: Line 1:
{{#if:
+
{{Documentation subpage}}
|{{{1}}} 
+
<!-- Categories and interwikis go at the bottom of this page. -->
}}{{#if:
+
 
|[[Solar mass|<sub></sub>]]
+
=== Usage ===
|M<sub></sub>
+
*<code><nowiki>{{earth mass}}</nowiki></code> &rarr; {{earth mass}}
}}
+
*<code><nowiki>{{earth mass|FOOBAR}}</nowiki></code> &rarr; {{earth mass|FOOBAR}} (with non-breaking space)
 +
 
 +
Usually, this will be used as
 +
*<code><nowiki>{{earth mass|10}}</nowiki></code> &rarr; {{earth mass|10}}
 +
*<code><nowiki>{{earth mass|{{val|13|1|-2|e=7}}}}</nowiki></code> &rarr; {{earth mass|{{val|13|1|-2|e=7}}}}
 +
 
 +
Alternatively, one could use
 +
*<code><nowiki>{{val|12|e=8|u=earth mass}}</nowiki></code> &rarr; {{val|12|e=8|u=earth mass}}
 +
 
 +
=== Options ===
 +
To include a link to [[earth mass]], use the <code><nowiki> |link=yes </nowiki></code> parameter
 +
 
 +
*<code><nowiki>{{earth mass|link=yes}}</nowiki></code> &rarr; {{earth mass|link=yes}}
 +
 
 +
Alternatively, one could use
 +
*<code><nowiki>{{val|12|e=8|ul=earth mass}}</nowiki></code> &rarr; {{val|12|e=8|ul=earth mass}}
 +
 
 +
=== See also ===
 +
 
 +
 
 +
[[Category:Astronomical symbols templates]]
 +
 
 
<includeonly>
 
<includeonly>
 
<!-- Categories and interwikis go here: -->
 
<!-- Categories and interwikis go here: -->
  
 
</includeonly>
 
</includeonly>

Revision as of 13:52, 15 February 2011

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

Options

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

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

Alternatively, one could use

See also