Difference between revisions of "Template:Planet infobox/doc"

From Ultronomicon
Jump to navigation Jump to search
Line 6: Line 6:
  
 
<pre>{{planet infobox
 
<pre>{{planet infobox
|name       = Name of planet
+
|name       = Name of planet
|image     = Image, use full syntax, e.g. [[File:<filename>|225px]]
+
|image       = Image of planet, just the filename
|caption   = Image caption (optional)
+
|customimage = In case there is a need for full image syntax, use this (optional)
|orbit     = Orbit in AU
+
|caption     = Image caption (optional)
|mass       = Mass in e.s.
+
|orbit       = Orbit in AU
|atmo       = Atmosphere
+
|mass       = Mass in e.s.
|radius     = Radius
+
|atmo       = Atmosphere
|temp       = Temperature
+
|radius     = Radius
|gravity   = Gravity
+
|temp       = Temperature
|weather   = Weather (default: None)
+
|gravity     = Gravity
|day       = Day length
+
|weather     = Weather (default: None)
|tectonics = Tectonics (default: None)
+
|day         = Day length
|tilt       = Tilt
+
|tectonics   = Tectonics (default: None)
|map       = Map filename, just filename. (optional)
+
|tilt       = Tilt
|type       = Type of world
+
|map         = Map filename, just filename. (optional)
|satellites = List of satellites (optional)
+
|type       = Type of world
 +
|satellites = List of satellites (optional)
 
}}</pre>
 
}}</pre>

Revision as of 22:32, 27 August 2012

Use

Infobox for planets, replacing {{PlanetBox}}.

Usage

{{planet infobox
|name        = Name of planet
|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)
|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)
}}