Template:Earth radius/doc
This is a documentation subpage for Template:Earth radius. It contains usage information, categories and other content that is not part of the original template page. |
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: