Difference between revisions of "Template:Jupiter radius"

From blackwiki
Jump to navigation Jump to search
imported>Moxy
m (Reverted edits by JoeyPknowsalotaboutthat (talk) to last version by Tom.Reding)
imported>Loooke
m (Change <i> to <var> tags)
 
Line 2: Line 2:
 
  |{{nowrap|{{{1}}}}}&nbsp;
 
  |{{nowrap|{{{1}}}}}&nbsp;
 
}}{{#if:{{{link|}}}
 
}}{{#if:{{{link|}}}
  |[[Jupiter radius|<i>R</i><sub>{{#if:{{{jup|}}}|Jup|{{#if:{{{Jup|}}}|Jup|{{#if:{{{greek|}}}|&#9795;|J}}}}}}</sub>]]
+
  |[[Jupiter radius|<var>R</var><sub>{{#if:{{{jup|}}}|Jup|{{#if:{{{Jup|}}}|Jup|{{#if:{{{greek|}}}|&#9795;|J}}}}}}</sub>]]
  |<i>R</i><sub>{{#if:{{{jup|}}}|Jup|{{#if:{{{Jup|}}}|Jup|{{#if:{{{greek|}}}|&#9795;|J}}}}}}</sub>
+
  |<var>R</var><sub>{{#if:{{{jup|}}}|Jup|{{#if:{{{Jup|}}}|Jup|{{#if:{{{greek|}}}|&#9795;|J}}}}}}</sub>
 
}}<noinclude>
 
}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 15:51, 4 February 2018

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}}RJup
{{Jupiter radius|Jup=y}}RJup
  • To change the default "J" subscript to "", use the |greek=yes or |greek=y parameter:
{{Jupiter radius|greek=y}}R

See also