Difference between revisions of "Template:Jupiter radius"

From blackwiki
Jump to navigation Jump to search
imported>Tom.Reding
(Standardize {{Earth radius}} behavior to generally match that of all other Solar System templates.)
imported>Tom.Reding
(Fixed errant behavior of wiki not parsing leading single quotes properly when no spaces present before the template: ''G''{{Jupiter radius}} made the rest of the line bold.)
Line 2: Line 2:
 
  |{{{1}}} 
 
  |{{{1}}} 
 
}}{{#if:{{{link|}}}
 
}}{{#if:{{{link|}}}
  |[[Jupiter radius|''R''<sub>J</sub>]]
+
  |[[Jupiter radius|<i>R</i><sub>J</sub>]]
  |''R''<sub>J</sub>
+
  |<i>R</i><sub>J</sub>
 
}}<noinclude>
 
}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 20:06, 5 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