Difference between revisions of "Template:Earth radius/doc"

From blackwiki
Jump to navigation Jump to search
imported>Tom.Reding
m (→‎Options: Typo.)
imported>Andrybak
 
(4 intermediate revisions by 4 users not shown)
Line 12: Line 12:
 
*<code><nowiki>{{val|12|e=8|u=Earth radius}}</nowiki></code> &rarr; {{val|12|e=8|u=Earth radius}}
 
*<code><nowiki>{{val|12|e=8|u=Earth radius}}</nowiki></code> &rarr; {{val|12|e=8|u=Earth radius}}
 
*<code><nowiki>{{val|12|e=8|u=R_Earth}}</nowiki></code> &rarr; {{val|12|e=8|u=R_Earth}}
 
*<code><nowiki>{{val|12|e=8|u=R_Earth}}</nowiki></code> &rarr; {{val|12|e=8|u=R_Earth}}
 +
 +
Instead of <code><nowiki>{{Earth radius}}</nowiki></code> one can use the shorter version <code><nowiki>{{R+}}</nowiki></code> with the same functionality:
 +
 +
*<code><nowiki>{{R+|10}}</nowiki></code> &rarr; {{R+|10}}
 +
*<code><nowiki>{{R+}}</nowiki></code> &rarr; {{R+}}
 +
*<code><nowiki>{{val|12|e=8|u=R+}}</nowiki></code> &rarr; {{val|12|e=8|u=R+}}
  
 
=== Options ===
 
=== Options ===
Line 17: Line 23:
  
 
*<code><nowiki>{{Earth radius|link=yes}}</nowiki></code> &rarr; {{Earth radius|link=yes}}  
 
*<code><nowiki>{{Earth radius|link=yes}}</nowiki></code> &rarr; {{Earth radius|link=yes}}  
 +
*<code><nowiki>{{R+|link=yes}}</nowiki></code> &rarr; {{R+|link=yes}}
  
 
Alternatively, one could use:
 
Alternatively, one could use:
 
*<code><nowiki>{{val|12|e=8|ul=Earth radius}}</nowiki></code> &rarr; {{val|12|e=8|ul=Earth radius}}
 
*<code><nowiki>{{val|12|e=8|ul=Earth radius}}</nowiki></code> &rarr; {{val|12|e=8|ul=Earth radius}}
 
*<code><nowiki>{{val|12|e=8|ul=R_Earth}}</nowiki></code> &rarr; {{val|12|e=8|ul=R_Earth}}
 
*<code><nowiki>{{val|12|e=8|ul=R_Earth}}</nowiki></code> &rarr; {{val|12|e=8|ul=R_Earth}}
 +
*<code><nowiki>{{val|12|e=8|ul=R+}}</nowiki></code> &rarr; {{val|12|e=8|ul=R+}}
  
 
== See also ==
 
== See also ==
{{cmn|3|
+
{{cmn|colwidth=22em|
 
* {{tl|Earth mass}}
 
* {{tl|Earth mass}}
 
* {{tl|Jupiter mass}}
 
* {{tl|Jupiter mass}}
 
* {{tl|Jupiter radius}}
 
* {{tl|Jupiter radius}}
* {{t1|Solar mass}}
+
* {{tl|Solar mass}}
* {{t1|Solar radius}}
+
* {{tl|Solar radius}}
 
}}
 
}}
  
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
+
<includeonly>{{Sandbox other||
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
[[Category:Astronomical symbols templates]]
 
[[Category:Astronomical symbols templates]]
[[Category:Solar System templates]]
+
[[Category:Solar System formatting and function templates]]
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 22:18, 7 October 2020

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