Template:Planet infobox: Difference between revisions
Jump to navigation
Jump to search
Added satellites, and some reconfiguration. |
mNo edit summary |
||
Line 32: | Line 32: | ||
|data20={{{tilt}}}° | |data20={{{tilt}}}° | ||
|header21={{#if:{{{sat a|}}}|{{#if:{{{sat d|}}}|4|{{#if:{{{sat c|}}}|3|{{#if:{{{sat b|}}}|2|1}}}}}} {{#if:{{{sat b|}}}|satellites|satellite}}|}} | |header21={{#if:{{{sat a|}}}|{{#if:{{{sat d|}}}|4|{{#if:{{{sat c|}}}|3|{{#if:{{{sat b|}}}|2|1}}}}}} {{#if:{{{sat b|}}}|satellites|satellite}}|}} | ||
|data22={{#if:{{{sat a|}}}|[[List of planet types#{{{sat a|}}}|{{{sat a | |label22=Satellite {{{sat a name|a}}} | ||
|data23={{#if:{{{sat b|}}}|[[List of planet types#{{{sat b|}}}|{{{sat b | |data22={{#if:{{{sat a|}}}|[[List of planet types#{{{sat a|}}}|{{{sat a|}}} World]]|}} | ||
|data24={{#if:{{{sat c|}}}|[[List of planet types#{{{sat c|}}}|{{{sat c | |label23=Satellite {{{sat b name|b}}} | ||
|data25={{#if:{{{sat d|}}}|[[List of planet types#{{{sat d|}}}|{{{sat d | |data23={{#if:{{{sat b|}}}|[[List of planet types#{{{sat b|}}}|{{{sat b|}}} World]]|}} | ||
|label24=Satellite {{{sat c name|c}}} | |||
|data24={{#if:{{{sat c|}}}|[[List of planet types#{{{sat c|}}}|{{{sat c|}}} World]]|}} | |||
|label25=Satellite {{{sat d name|d}}} | |||
|data25={{#if:{{{sat d|}}}|[[List of planet types#{{{sat d|}}}|{{{sat d|}}} World]]|}} | |||
|header26={{#if:{{{map|}}}|Map|}} | |header26={{#if:{{{map|}}}|Map|}} | ||
|data27={{#if:{{{map|}}}|[[File:{{{map}}}|242px]]|}} | |data27={{#if:{{{map|}}}|[[File:{{{map}}}|242px]]|}} | ||
}}[[Category:Planets|{{{name}}}]]</includeonly><noinclude>{{documentation}}</noinclude> | }}[[Category:Planets|{{{name}}}]]</includeonly><noinclude>{{documentation}}</noinclude> |
Revision as of 12:42, 28 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) }}