Difference between revisions of "Template:Jupiter radius"

From blackwiki
Jump to navigation Jump to search
imported>Tom.Reding
m (-Category:Solar System templates (categories belong in {{documentation}}).)
imported>Tom.Reding
(Standardize {{Earth radius}} behavior to generally match that of all other Solar System templates.)
Line 1: Line 1:
[[Jupiter radius|''R''<sub>J</sub>]]<noinclude>
+
{{#if:{{{1|}}}
 +
|{{{1}}}&nbsp;
 +
}}{{#if:{{{link|}}}
 +
|[[Jupiter radius|''R''<sub>J</sub>]]
 +
|''R''<sub>J</sub>
 +
}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 20:14, 4 December 2014

RJ

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

Usage

  • {{Jupiter radius}}RJ
  • {{Jupiter radius|dozens of}} → dozens of RJ (with non-breaking spaces via &nbsp; and {{nowrap}})

Usually, this will be used as:

  • {{Jupiter radius|1.03{{e|5}}}} → 1.03×105 RJ
  • {{Jupiter radius|{{val|13|1|-2|e=7}}}}Template:Val RJ

Alternatively, one could use:

Options

  • To include a link to Jupiter radius, use the |link=yes or |link=y parameter:
{{Jupiter radius|link=yes}}RJ
Alternatively, one could use:
{{val|12|e=8|ul=Jupiter radius}}Template:Val
  • To change the default "J" subscript to "Jup", use the |jup=y or |Jup=y parameter:
{{Jupiter radius|jup=y}}RJ
{{Jupiter radius|Jup=y}}RJ
  • To change the default "J" subscript to "", use the |greek=yes or |greek=y parameter:
{{Jupiter radius|greek=y}}RJ

See also