Template:Planetinfo
(Difference between revisions)
(added some features) |
m |
||
Line 14: | Line 14: | ||
| Location || {{ #if: {{{location|}}} | {{{location}}} | unknown }} | | Location || {{ #if: {{{location|}}} | {{{location}}} | unknown }} | ||
|- bgcolor="#FFFFFF" | |- bgcolor="#FFFFFF" | ||
− | | Diameter || {{ #if: {{{ | + | | Diameter || {{#if: {{{diameter_number|}}} | |
{{#if: {{ #expr: {{{diameter_number}}} }} > 1000 | {{#if: {{ #expr: {{{diameter_number}}} }} > 1000 | ||
| {{#expr: {{#expr: ({{{diameter_number}}} - {{{diameter_number}}} mod 1000) / 1000 }} round 0}},{{#expr: {{{diameter_number}}} -({{{diameter_number}}} - {{{diameter_number}}} mod 1000)}} | | {{#expr: {{#expr: ({{{diameter_number}}} - {{{diameter_number}}} mod 1000) / 1000 }} round 0}},{{#expr: {{{diameter_number}}} -({{{diameter_number}}} - {{{diameter_number}}} mod 1000)}} | ||
Line 20: | Line 20: | ||
| {{#expr: {{#expr: ({{{diameter_number}}} / 1.610 - ({{{diameter_number}}} / 1.610) mod 1000) / 1000 }} round 0}},{{#expr: {{{diameter_number}}} / 1.610 -({{{diameter_number}}} / 1.610 - ({{{diameter_number}}} / 1.610) mod 1000)}} | | {{#expr: {{#expr: ({{{diameter_number}}} / 1.610 - ({{{diameter_number}}} / 1.610) mod 1000) / 1000 }} round 0}},{{#expr: {{{diameter_number}}} / 1.610 -({{{diameter_number}}} / 1.610 - ({{{diameter_number}}} / 1.610) mod 1000)}} | ||
| {{#expr: {{{diameter_number}}} }} }} mi | | {{#expr: {{{diameter_number}}} }} }} mi | ||
+ | }} | ||
+ | | {{ #if: {{{diameter|}}} | {{{diameter}}} | unknown }} | ||
}} | }} | ||
|----- bgcolor="#FFFFFF" | |----- bgcolor="#FFFFFF" |
Revision as of 15:37, 20 April 2007
| |
---|---|
| |
Name | Acheron |
Location | Andromeda Galaxy |
Inhabitants | 15,000 |
Diameter | 12,400 km / 7,701 mi
|
Water surface area | 61% |
Climate | semi-arctic to temperate |
Usage
Universal (default)
{{Planetinfo |image_name ="Name of the image" (optional) |planet_name ="Name of the planet" |inhabitants ="Number of inhabitants" |location ="Name of Galaxy / Nebula" |diameter_number="Diameter in m as a number" OR diameter ="Diameter in meters / miles" ' |water_area ="Percentage of water coverage" |climate ="Climate" }}
Universal (destroyed)
{{Planetinfo|destroyed |image_name ="Name of the image" (optional) |planet_name ="Name of the planet" |inhabitants ="Number of inhabitants" |location ="Name of Galaxy / Nebula" |diameter_number="Diameter in m as a number" OR diameter ="Diameter in meters / miles" ' |water_area ="Percentage of water coverage" |climate ="Climate" }}
Example (Acheron)
{{Planetinfo |image_name =Acheron.jpg |planet_name =Acheron |inhabitants =15,000 |location =Andromeda Galaxy |diameter_number=12400 |water_area =61% |climate =semi-arctic to temperate }}
Example (Samsarra)
{{Planetinfo|destroyed |image_name =Samsarra.jpg |planet_name =Samsarra |inhabitants = |location = |diameter_number= |water_area = |climate = }}