Difference between revisions of "Template:Planet infobox"

From Ultronomicon
Jump to navigation Jump to search
m
m
Line 3: Line 3:
 
|top=[[List of planet types|{{{type}}}]]
 
|top=[[List of planet types|{{{type}}}]]
 
|title={{{name}}}
 
|title={{{name}}}
|image={{{image}}}
+
|image={{#if:{{{image|}}}|[[File:{{{image}}}|100px]]|}}
 
|caption={{{caption|}}}
 
|caption={{{caption|}}}
 
|label1=Orbit
 
|label1=Orbit
Line 27: Line 27:
 
|header11={{#if:{{{satellites|}}}|Satellites|}}
 
|header11={{#if:{{{satellites|}}}|Satellites|}}
 
|data12={{{satellites|}}}
 
|data12={{{satellites|}}}
|data13={{#if:{{{map|}}}|[[File:{{{map}}}|225px]]|}}
+
|data13={{#if:{{{map|}}}|[[File:{{{map}}}|242px]]|}}
 
}}[[Category:Planets|{{{name}}}]]</includeonly><noinclude>{{documentation}}</noinclude>
 
}}[[Category:Planets|{{{name}}}]]</includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 22:30, 27 August 2012

Documentation for {{planet infobox}}

Use

Infobox for planets, replacing {{PlanetBox}}.

Usage

{{planet infobox
|name        = Name of planet
|local name  = Another name of planet, if different from its star map name (optional)
|image       = Image of planet, just the filename
|customimage = In case there is a need for full image syntax, use this (optional)
|caption     = Image caption (optional)
|species     = The species that lives here
|ishomeworld = Whether it is the homeworld for the above species (default: no)
|star        = Name of star it orbits (optional)
|orbit       = Orbit in AU
|mass        = Mass in e.s.
|atmo        = Atmosphere
|radius      = Radius
|temp        = Temperature
|gravity     = Gravity
|weather     = Weather (default: None)
|day         = Day length
|tectonics   = Tectonics (default: None)
|tilt        = Tilt
|map         = Map filename, just filename. (optional)
|type        = Type of world
|satellites  = List of satellites (optional)
}}