Difference between revisions of "Template:Earth radius"
Jump to navigation
Jump to search
imported>Tom.Reding |
imported>Loooke m (Change <i> to <var> tags) |
||
Line 2: | Line 2: | ||
|{{{1}}} | |{{{1}}} | ||
}}{{#if:{{{link|}}} | }}{{#if:{{{link|}}} | ||
− | |[[Earth radius|< | + | |[[Earth radius|<var>R</var><sub>⊕</sub>]] |
− | |< | + | |<var>R</var><sub>⊕</sub> |
}}<noinclude> | }}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 15:51, 4 February 2018
R⊕
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:
{{val|12|e=8|u=Earth radius}}
→ Template:Val{{val|12|e=8|u=R_Earth}}
→ Template:Val
Instead of {{Earth radius}}
one can use the shorter version {{R+}}
with the same functionality:
{{R+|10}}
→ Template:R+{{R+}}
→ Template:R+{{val|12|e=8|u=R+}}
→ Template:Val
Options
To include a link to Earth radius, use the |link=yes
parameter (or |link=y
):
{{Earth radius|link=yes}}
→ R⊕{{R+|link=yes}}
→ Template:R+
Alternatively, one could use:
{{val|12|e=8|ul=Earth radius}}
→ Template:Val{{val|12|e=8|ul=R_Earth}}
→ Template:Val{{val|12|e=8|ul=R+}}
→ Template:Val
See also
- {{Earth mass}}
- {{Jupiter mass}}
- {{Jupiter radius}}
- {{Solar mass}}
- {{Solar radius}}
The above documentation is transcluded from Template:Earth radius/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |