Template:Earth radius
REarth
Usage
{{Earth radius}}
→ REarth{{Earth radius|FOOBAR}}
→ FOOBAR REarth (with non-breaking space)
Usually, this will be used as:
{{Earth radius|10}}
→ 10 REarth{{Earth radius|{{val|13|1|-2|e=7}}}}
→ 13+1
−2×107 REarth
In a different way, one could use:
{{val|12|e=8|u=Earth radius}}
→ 12×108 R🜨{{val|12|e=8|u=R_Earth}}
→ 12×108 R🜨
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+}}
→ 12×108 R🜨
Options
To include a link to Earth radius, use the |link=yes
parameter (or |link=y
):
{{Earth radius|link=yes}}
→ REarth{{R+|link=yes}}
→ Template:R+
In a different way, one could use:
{{val|12|e=8|ul=Earth radius}}
→ 12×108 R🜨{{val|12|e=8|ul=R_Earth}}
→ 12×108 R🜨{{val|12|e=8|ul=R+}}
→ 12×108 R🜨
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. |