Template:Planet infobox: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Some more variables. |
||
| Line 5: | Line 5: | ||
|image={{#if:{{{image|}}}|[[File:{{{image}}}|100px]]|{{{customimage|}}}}} | |image={{#if:{{{image|}}}|[[File:{{{image}}}|100px]]|{{{customimage|}}}}} | ||
|caption={{{caption|}}} | |caption={{{caption|}}} | ||
| | |header1={{#if:{{{species|}}}|Political|}} | ||
| | |label2=Homeworld for | ||
| | |data2={{{species|}}} | ||
| | |header9=Astronomical data | ||
| | |label10=Star | ||
| | |data10={{{star|}}} | ||
| | |label11=Orbit | ||
| | |data11={{{orbit}}} a.u. | ||
| | |label12=Atmosphere | ||
| | |data12={{{atmo}}} | ||
| | |label13=Temperature | ||
| | |data13={{{temp}}}°C | ||
| | |label14=Weather | ||
| | |data14={{#if:{{{weather|}}}|{{{weather}}}|None}} | ||
| | |label15=Tectonics | ||
| | |data15={{#if:{{{tectonics|}}}|{{{tectonics}}}|None}} | ||
| | |label16=Mass | ||
| | |data16={{{mass}}} e.s. | ||
| | |label17=Radius | ||
| | |data17={{{radius}}} e.s. | ||
| | |label18=Gravity | ||
| | |data18={{{gravity}}} g | ||
| | |label19=Day length | ||
|data19={{{day}}} [[Earth]] days | |||
|label20=Tilt | |||
|data20={{{tilt}}}° | |||
|header21={{#if:{{{satellites|}}}|Satellites|}} | |||
|data22={{{satellites|}}} | |||
|header23={{#if:{{{map|}}}|Map|}} | |||
|data24={{#if:{{{map|}}}|[[File:{{{map}}}|242px]]|}} | |||
}}[[Category:Planets|{{{name}}}]]</includeonly><noinclude>{{documentation}}</noinclude> | }}[[Category:Planets|{{{name}}}]]</includeonly><noinclude>{{documentation}}</noinclude> | ||
Revision as of 22:42, 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)
}}