Template:Planetinfo

From AndroWiki
(Difference between revisions)
Jump to: navigation, search
m
m
 
(6 intermediate revisions by one user not shown)
Line 7: Line 7:
 
! colspan="2"  | <center>{{ #ifeq: {{{1}}} | destroyed | ''no current data available'' | Facts }}</center>
 
! colspan="2"  | <center>{{ #ifeq: {{{1}}} | destroyed | ''no current data available'' | Facts }}</center>
 
|- bgcolor="#FFFFFF"  
 
|- bgcolor="#FFFFFF"  
| Name || {{ #if: {{{planet_name|}}} | {{{planet_name}}} | unknown }} {{ #ifeq: {{{1}}} | destroyed | ''(destroyed)'' | }}
+
| Name || {{ #if: {{{planet_name|}}} | {{{planet_name}}} | unknown }} {{ #ifeq: {{{1}}} | destroyed | '''(destroyed)''' | }}
 +
|- bgcolor="#FFFFFF"
 +
| {{ #if: {{{system|}}} |
 +
System {{!!}} {{ #ifexist: {{{system}}} | [[{{{system}}}]] | {{{system}}} }} |
 +
{{ #if: {{{location|}}}|
 +
Location {{!!}} {{ #ifexist: {{{location}}} | [[{{{location}}}]] | {{{location}}} }} |  
 +
Location/System {{!!}} unknown
 +
}} }}
 
|- bgcolor="#FFFFFF"  
 
|- bgcolor="#FFFFFF"  
|- bgcolor="#FFFFFF"
 
 
| Inhabitants || {{ #if: {{{inhabitants|}}} | {{{inhabitants}}} | unknown }}
 
| Inhabitants || {{ #if: {{{inhabitants|}}} | {{{inhabitants}}} | unknown }}
|- bgcolor="#FFFFFF"
 
| Location || {{ #if: {{{location|}}} | {{{location}}} | unknown }}
 
 
|- bgcolor="#FFFFFF"
 
|- bgcolor="#FFFFFF"
 
| Diameter || {{#if: {{{diameter_number|}}} |
 
| Diameter || {{#if: {{{diameter_number|}}} |
Line 27: Line 31:
 
| Climate || {{ #if: {{{climate|}}} | {{{climate}}} | unknown }}
 
| Climate || {{ #if: {{{climate|}}} | {{{climate}}} | unknown }}
 
|}
 
|}
 
 
[[Category:Cosmic Objects]]
 
[[Category:Cosmic Objects]]
[[de:{{{planet_name}}}]]
+
[[Category:Planets]]
</includeonly>
+
[[de:{{{planet_name}}}]]</includeonly><noinclude>
<noinclude>
+
 
+
{{Planetinfo
+
|image_name  =Acheron.jpg
+
|planet_name =Acheron
+
|inhabitants =15,000
+
|location    =Andromeda Galaxy
+
<!--|diameter    =12,400 km / 7,700 mi-->
+
|diameter_number=12400
+
|water_area  =61%
+
|climate    =semi-arctic to temperate
+
}}
+
  
 
==Usage==
 
==Usage==
Line 50: Line 41:
 
|image_name    ="Name of the image" (optional)
 
|image_name    ="Name of the image" (optional)
 
|planet_name    ="Name of the planet"
 
|planet_name    ="Name of the planet"
 +
|system        ="Name of the planets planetary system"
 +
|location      =(will be invisible, if system is specified) "Name of Galaxy / Nebula"
 
|inhabitants    ="Number of inhabitants"
 
|inhabitants    ="Number of inhabitants"
|location      ="Name of Galaxy / Nebula"
 
 
|diameter_number="Diameter in m as a number" OR  diameter ="Diameter in meters / miles" '
 
|diameter_number="Diameter in m as a number" OR  diameter ="Diameter in meters / miles" '
 
|water_area    ="Percentage of water coverage"
 
|water_area    ="Percentage of water coverage"
Line 63: Line 55:
 
|image_name    ="Name of the image" (optional)
 
|image_name    ="Name of the image" (optional)
 
|planet_name    ="Name of the planet"
 
|planet_name    ="Name of the planet"
 +
|system        ="Name of the planets planetary system"
 +
|location      =(will be invisible, if system is specified) "Name of Galaxy / Nebula"
 
|inhabitants    ="Number of inhabitants"
 
|inhabitants    ="Number of inhabitants"
|location      ="Name of Galaxy / Nebula"
 
 
|diameter_number="Diameter in m as a number" OR  diameter ="Diameter in meters / miles" '
 
|diameter_number="Diameter in m as a number" OR  diameter ="Diameter in meters / miles" '
 
|water_area    ="Percentage of water coverage"
 
|water_area    ="Percentage of water coverage"
Line 76: Line 69:
 
|image_name    =Acheron.jpg
 
|image_name    =Acheron.jpg
 
|planet_name    =Acheron
 
|planet_name    =Acheron
|inhabitants    =15,000
+
|system        =
 
|location      =Andromeda Galaxy
 
|location      =Andromeda Galaxy
 +
|inhabitants    =15,000
 
|diameter_number=12400
 
|diameter_number=12400
 
|water_area    =61%
 
|water_area    =61%
Line 84: Line 78:
 
</pre>
 
</pre>
  
'''Example ([[Samsarra]])'''
+
'''Example ([[Hephaistos IV]])'''
 
<pre>
 
<pre>
 
{{Planetinfo|destroyed
 
{{Planetinfo|destroyed
|image_name    =Samsarra.jpg
+
|image_name    =Hephaistos.jpg
|planet_name    =Samsarra
+
|planet_name    =Hephaistos IV
|inhabitants    =
+
|system        =Hephaistos System
|location      =
+
|inhabitants    =475 million (71% [[Nietzscheans]], 17% [[Human]], 10% [[Perseid]], 2% misc)
|diameter_number=
+
|diameter_number=11890
|water_area    =
+
|water_area    =54%
|climate        =
+
|climate        =Semi-arid to desert
 
}}
 
}}
 
</pre>
 
</pre>

Latest revision as of 12:29, 15 July 2007


Usage

Universal (default)

{{Planetinfo
|image_name     ="Name of the image" (optional)
|planet_name    ="Name of the planet"
|system         ="Name of the planets planetary system"
|location       =(will be invisible, if system is specified) "Name of Galaxy / Nebula"
|inhabitants    ="Number of inhabitants"
|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"
|system         ="Name of the planets planetary system"
|location       =(will be invisible, if system is specified) "Name of Galaxy / Nebula"
|inhabitants    ="Number of inhabitants"
|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
|system         =
|location       =Andromeda Galaxy
|inhabitants    =15,000
|diameter_number=12400
|water_area     =61%
|climate        =semi-arctic to temperate
}}

Example (Hephaistos IV)

{{Planetinfo|destroyed
|image_name     =Hephaistos.jpg
|planet_name    =Hephaistos IV
|system         =Hephaistos System
|inhabitants    =475 million (71% [[Nietzscheans]], 17% [[Human]], 10% [[Perseid]], 2% misc)
|diameter_number=11890
|water_area     =54%
|climate        =Semi-arid to desert
}}
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox
In other languages