Template:Planet: Difference between revisions

adding in fault tolerance for temp and radius
m (formatting tweak.)
(adding in fault tolerance for temp and radius)
Line 23: Line 23:
|- style="vertical-align:top;"
|- style="vertical-align:top;"
| Orbital Radius  
| Orbital Radius  
| {{{radius}}} AU
| {{#if:{{{radius|}}}|{{{radius|}}} AU|????}}
|- style="vertical-align:top;"
|- style="vertical-align:top;"
| Eccentricity
| Eccentricity
Line 46: Line 46:
|- style="vertical-align:top; background:#f0f0f0;"
|- style="vertical-align:top; background:#f0f0f0;"
| Blackbody Temp
| Blackbody Temp
| {{{blackbody}}}°K ({{#iferror:{{#expr: {{{blackbody|}}}-272.15}}}}°C)
| {{#if:{{{blackbody|}}}|{{{blackbody}}}°K ({{#expr:{{{blackbody|}}}-272.15}}°C)|???}}
|- style="vertical-align:top;"
|- style="vertical-align:top;"
| Gravity
| Gravity
7,850

edits