Template:Planetinfo
(Difference between revisions)
m |
m |
||
Line 1: | Line 1: | ||
− | {| cellpadding="2" style="float: right; width: 280px; background: #e3e3e3; margin-left: 1em; border-spacing: 1px;" | + | <includeonly>{| cellpadding="2" style="float: right; width: 280px; background: #e3e3e3; margin-left: 1em; border-spacing: 1px;" |
− | |- | + | {{ #if: {{{image_name|}}} | |
− | ! colspan="2" | + | {{!-}} bgcolor="#FFFFFF" |
− | | | + | ! colspan="2" {{!}} <center>[[Image:{{{image_name}}}|center|280px]]</center> |
+ | }} | ||
+ | |- | ||
! colspan="2" | <center>Facts</center> | ! colspan="2" | <center>Facts</center> | ||
− | | | + | |- bgcolor="#FFFFFF" |
| Name || {{{planet_name}}} | | Name || {{{planet_name}}} | ||
− | | | + | |- bgcolor="#FFFFFF" |
| Inhabitants || {{{inhabitants}}} | | Inhabitants || {{{inhabitants}}} | ||
− | | | + | |- bgcolor="#FFFFFF" |
| Location || {{{location}}} | | Location || {{{location}}} | ||
− | | | + | |- bgcolor="#FFFFFF" |
| Diameter || {{#if: {{{diameter|}}} | {{{diameter}}} | | | Diameter || {{#if: {{{diameter|}}} | {{{diameter}}} | | ||
{{#if: {{ #expr: {{{diameter_number}}} }} > 1000 | {{#if: {{ #expr: {{{diameter_number}}} }} > 1000 | ||
Line 23: | Line 25: | ||
| Climate || {{{climate}}} | | Climate || {{{climate}}} | ||
|} | |} | ||
− | + | ||
[[Category:Cosmic Objects]] | [[Category:Cosmic Objects]] | ||
[[de:{{{planet_name}}}]] | [[de:{{{planet_name}}}]] | ||
</includeonly> | </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 33: | Line 46: | ||
<pre> | <pre> | ||
{{Planetinfo | {{Planetinfo | ||
− | |image_name ="Name of the image" | + | |image_name ="Name of the image" (optional) |
|planet_name ="Name of the planet" | |planet_name ="Name of the planet" | ||
|inhabitants ="Number of inhabitants" | |inhabitants ="Number of inhabitants" | ||
Line 43: | Line 56: | ||
</pre> | </pre> | ||
− | '''Example (Acheron)''' | + | '''Example ([[Acheron]])''' |
<pre> | <pre> | ||
{{Planetinfo | {{Planetinfo |
Revision as of 15:14, 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
{{Planetinfo |image_name ="Name of the image" (optional) |planet_name ="Name of the planet" |inhabitants ="Number of inhabitants" |location ="Name of Galaxy / Nebula" |diameter ="Diameter in meters / miles" OR diameter_number = "Diameter in m as a number" |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 =12,400 km / 7,700 mi--> |diameter_number=12400 |water_area =61% |climate =semi-arctic to temperate }}