Difference between revisions of "Template:Earth 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 match almost all of the other Solar System templates (save {{Jupiter radius}}).)
Line 1: Line 1:
[[Earth radius|''R''<sub>⊕</sub>]]<noinclude>
+
{{#if:{{{1|}}}
 +
|{{{1}}}&nbsp;
 +
}}{{#if:{{{link|}}}
 +
|[[Earth radius|''R''<sub>⊕</sub>]]
 +
|''R''<sub>⊕</sub>
 +
}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 20:12, 4 December 2014

R

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

Usage

  • {{Earth radius}}R
  • {{Earth radius|FOOBAR}} → FOOBAR R (with non-breaking space)

Usually, this will be used as:

  • {{Earth radius|10}} → 10 R
  • {{Earth radius|{{val|13|1|-2|e=7}}}}Template:Val R

Alternatively, one could use:

Instead of {{Earth radius}} one can use the shorter version {{R+}} with the same functionality:

Options

To include a link to Earth radius, use the |link=yes parameter (or |link=y):

Alternatively, one could use:

See also