Template:Planetinfo

(Difference between revisions)
Jump to: navigation, search
m
m
Line 17: Line 17:
 
  {{#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)}}
   | {{#expr: {{{diameter_number}}} }} }} km  
+
   | {{#expr: {{{diameter_number}}} }} }} km <code>/</code> {{#if: {{ #expr: {{{diameter_number}}} / 1.610 }} > 1000  
<code>/</code>  
+
{{#if: {{ #expr: {{{diameter_number}}} / 1.610 }} > 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: {{#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

Revision as of 15:42, 20 April 2007


Acheron.jpg
Facts
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        =
}}
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox
In other languages